diff --git a/src/app.css b/src/app.css index fd8dbb9..05a3598 100644 --- a/src/app.css +++ b/src/app.css @@ -1,14 +1,14 @@ -@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@200;300;400;500;600;700;800&display=swap'); +@import url("https://fonts.googleapis.com/css2?family=Manrope:wght@200;300;400;500;600;700;800&display=swap"); -*{ +* { box-sizing: inherit; margin: 0; padding: 0; - font-family: 'Manrope', sans-serif; - -webkit-tap-highlight-color: rgba(0,0,0,0); + font-family: "Manrope", sans-serif; + -webkit-tap-highlight-color: rgba(0, 0, 0, 0); } -html{ +html { margin: 0; padding: 0; font-size: 100%; @@ -16,18 +16,19 @@ html{ overflow-y: scroll; } -body{ +body { margin: 0; padding: 0; line-height: 1.4; background-color: var(--bg-color); } -html, body{ +html, +body { max-width: 100%; } -.wrapper{ +.wrapper { margin-inline: auto; width: min(90%, 100rem); margin-top: 7rem; @@ -35,63 +36,62 @@ html, body{ :root { --white: #fff; - --red: #8bc3f4; - --bg-color: #1A1C1E; - --grey-one: #252B31; + --accent-color: #8bc3f4; + --bg-color: #1a1c1e; + --grey-one: #252b31; --grey-two: #28313b; --grey-three: #3c4759c3; - --grey-four: #1B1E29; + --grey-four: #1b1e29; --grey-five: hsl(208, 30%, 75%); --grey-six: #23282da7; --grey-seven: #535563; - --bezier-one: cubic-bezier(0.25, 0.46, 0.45, 0.94) + --bezier-one: cubic-bezier(0.25, 0.46, 0.45, 0.94); } -::selection{ +::selection { background: var(--grey-three); } /*-----headings-----*/ -h1{ +h1 { color: var(--white); font-weight: 700; - line-height: 1.5rem; + line-height: 1.5rem; font-size: 1.5rem; } -h2{ +h2 { color: var(--grey-five); font-weight: 400; font-size: 1.4rem; } -h3{ +h3 { color: var(--white); font-weight: 500; font-size: 1rem; } -h4{ - color:var(--white); - font-weight:500; +h4 { + color: var(--white); + font-weight: 500; font-size: 1.25rem; letter-spacing: 0.02rem; } -h5{ - color:var(--white); +h5 { + color: var(--white); font-weight: 300; font-size: 1rem; letter-spacing: 0.02rem; } h6 { - color:var(--grey-five); + color: var(--grey-five); font-weight: 300; font-size: 1rem; letter-spacing: 0.02rem; - } ::-webkit-scrollbar { @@ -106,4 +106,4 @@ h6 { ::-webkit-scrollbar-thumb:hover { background-color: var(--grey-three); -} \ No newline at end of file +} diff --git a/src/lib/components/atoms/Button.svelte b/src/lib/components/atoms/Button.svelte index 80f1b14..1179413 100644 --- a/src/lib/components/atoms/Button.svelte +++ b/src/lib/components/atoms/Button.svelte @@ -2,14 +2,14 @@ export let kind = 'secondary'; $: type = 'button-' + kind; export let href = '#'; - export let width = 'max-content'; - export let icon = ""; + export let width = 'false'; + export let icon = ''; - +
{icon} @@ -21,6 +21,7 @@ text-decoration: none; border-radius: 16px; } + div, .button-secondary { font-size: 1.1rem; height: 60px; @@ -37,8 +38,8 @@ } .button-primary { - background-color: var(--red); - box-shadow: 0px 0px 32px 1px var(--red-glow); + background-color: var(--accent-color); + box-shadow: 0px 0px 32px 1px var(--accent-color-glow); color: var(--grey-four) } diff --git a/src/lib/components/atoms/ContributorPerson.svelte b/src/lib/components/atoms/ContributorPerson.svelte index ec6c710..2765252 100644 --- a/src/lib/components/atoms/ContributorPerson.svelte +++ b/src/lib/components/atoms/ContributorPerson.svelte @@ -44,7 +44,7 @@ } a:hover > h2 { - color: var(--red); + color: var(--accent-color); } h2 { diff --git a/src/lib/components/atoms/HeroTitle.svelte b/src/lib/components/atoms/HeroTitle.svelte index 2927855..c5157ac 100644 --- a/src/lib/components/atoms/HeroTitle.svelte +++ b/src/lib/components/atoms/HeroTitle.svelte @@ -1,12 +1,13 @@

- ReVanced + ReVanced

diff --git a/src/lib/components/atoms/Patch.svelte b/src/lib/components/atoms/Patch.svelte index d5a28a9..5776851 100644 --- a/src/lib/components/atoms/Patch.svelte +++ b/src/lib/components/atoms/Patch.svelte @@ -19,19 +19,19 @@
+ on:click={hasPatchOptions ? handleClick : ''} +>

{name}

{ver}

- + {#if hasPatchOptions} dropdown {/if}
-

{desc}

diff --git a/src/lib/components/atoms/SocialButton.svelte b/src/lib/components/atoms/SocialButton.svelte index c2e8ed1..be85737 100644 --- a/src/lib/components/atoms/SocialButton.svelte +++ b/src/lib/components/atoms/SocialButton.svelte @@ -3,16 +3,14 @@ export let href = '#'; -
- -
+ +
+ {src} +
+
diff --git a/src/lib/components/atoms/Wave.svelte b/src/lib/components/atoms/Wave.svelte index f1ba28d..6f00f73 100644 --- a/src/lib/components/atoms/Wave.svelte +++ b/src/lib/components/atoms/Wave.svelte @@ -20,7 +20,7 @@ animation: wave-anim 40s; animation-timing-function: linear; animation-iteration-count: infinite; - fill: var(--red); + fill: var(--accent-color); } @keyframes wave-anim { diff --git a/src/lib/components/molecules/ContributorHost.svelte b/src/lib/components/molecules/ContributorHost.svelte index 5aca2f1..3c9e52c 100644 --- a/src/lib/components/molecules/ContributorHost.svelte +++ b/src/lib/components/molecules/ContributorHost.svelte @@ -43,10 +43,10 @@ {/if} \ No newline at end of file diff --git a/src/lib/components/molecules/NavHost.svelte b/src/lib/components/molecules/Navigation.svelte similarity index 95% rename from src/lib/components/molecules/NavHost.svelte rename to src/lib/components/molecules/Navigation.svelte index b7e2145..d33b943 100644 --- a/src/lib/components/molecules/NavHost.svelte +++ b/src/lib/components/molecules/Navigation.svelte @@ -1,5 +1,5 @@ diff --git a/src/routes/credits/+page.svelte b/src/routes/credits/+page.svelte index 30828c6..8c6dfa9 100644 --- a/src/routes/credits/+page.svelte +++ b/src/routes/credits/+page.svelte @@ -8,7 +8,6 @@ onMount (() => { ContributorsStore.subscribe(async (e) => { data = await e; - console.log(data); }); }); diff --git a/src/routes/docs/+page.svelte b/src/routes/docs/+page.svelte index 0eacf97..dc02df2 100644 --- a/src/routes/docs/+page.svelte +++ b/src/routes/docs/+page.svelte @@ -46,13 +46,13 @@ a { text-decoration: none; color: var(--white); - border-bottom: 1.5px solid var(--red); + border-bottom: 1.5px solid var(--accent-color); padding: 0px 5px; transition: all 0.4s var(--bezier-one); } a:hover { - background-color: var(--red); + background-color: var(--accent-color); border-radius: 6px; color: var(--grey-four) } @@ -64,7 +64,6 @@ .menu { padding: 90px 15px 0px 15px; - background-color: var(--grey-six); display: flex; flex-direction: column; gap: 1rem; @@ -72,7 +71,6 @@ .content { padding: 100px 30px 0px 30px; - background-color: var(--grey-one); } .doc-section { diff --git a/src/routes/patches/+page.svelte b/src/routes/patches/+page.svelte index d6f1df8..eaa593a 100644 --- a/src/routes/patches/+page.svelte +++ b/src/routes/patches/+page.svelte @@ -6,9 +6,9 @@ import { quintOut } from 'svelte/easing'; let patches: any; - let pkg_list = []; + let pkg_list: Object[] = []; - let current = ''; + let current: boolean | Object = false; onMount (async () => { PatchesStore.subscribe(async (e) => { @@ -24,7 +24,9 @@ }; }); }; - }); + }) + + }); @@ -32,19 +34,17 @@
-