diff --git a/src/app.scss b/src/app.scss index c7c0503..6c85ee7 100644 --- a/src/app.scss +++ b/src/app.scss @@ -40,7 +40,7 @@ body { --white: hsl(206, 100%, 94%); --accent-color: hsl(206, 100%, 81%); --accent-color-two: hsl(208, 75%, 82%); - --accent-low-opacity: hsla(205, 100%, 81%, 0.15); + --accent-low-opacity: hsla(205, 91%, 69%, 0.15); --bg-color: hsl(252, 10%, 11%); --grey-one: hsl(210, 14%, 17%); --grey-two: hsl(212, 19%, 19%); @@ -52,6 +52,7 @@ body { --grey-eight: hsla(207, 30%, 75%, 0.577); --grey-nine: hsla(240, 6%, 7%, 0.3); --grey-ten: hsl(230, 9.5%, 17.5%); + --grey-eleven: hsl(208, 10%, 40%); --bezier-one: cubic-bezier(0.25, 0.46, 0.45, 0.94); } @@ -84,8 +85,8 @@ h3 { h4 { color: var(--accent-color-two); - font-weight: 400; - font-size: 1.1rem; + font-weight: 500; + font-size: 1.2rem; letter-spacing: 0.02rem; line-height: 2rem; } @@ -108,7 +109,7 @@ p { font-weight: 400; font-size: 0.95rem; letter-spacing: 0.02rem; - line-height: 1.875rem; + line-height: 1.75rem; } @media screen and (max-width: 768px) { @@ -120,10 +121,6 @@ p { h2 { font-size: 2rem; } - - p { - font-size: 0.875rem; - } } /*---------------*/ diff --git a/src/layout/Hero/HeroSection.svelte b/src/layout/Hero/HeroSection.svelte index 7c4e0b5..6498b9d 100644 --- a/src/layout/Hero/HeroSection.svelte +++ b/src/layout/Hero/HeroSection.svelte @@ -8,9 +8,9 @@

Continuing the
legacy of Vanced.

-

+

Customize your mobile experience through ReVanced
by applying patches to your applications. -

+

@@ -24,7 +24,7 @@ margin-bottom: 1.5rem; } - h4 { + p { margin-bottom: 2rem; } diff --git a/src/layout/Navbar/NavHost.svelte b/src/layout/Navbar/NavHost.svelte index 029fe57..ba294a3 100644 --- a/src/layout/Navbar/NavHost.svelte +++ b/src/layout/Navbar/NavHost.svelte @@ -6,7 +6,7 @@ import Navigation from './NavButton.svelte'; import Svg from '$lib/components/Svg.svelte'; - import Modal from '$lib/components/Modal.svelte'; + import Modal from '$lib/components/Dialogue.svelte'; import Button from '$lib/components/Button.svelte'; import { clear_and_reload } from '$data/api/cache'; diff --git a/src/lib/components/Modal.svelte b/src/lib/components/Dialogue.svelte similarity index 55% rename from src/lib/components/Modal.svelte rename to src/lib/components/Dialogue.svelte index 35900b6..2be42ff 100644 --- a/src/lib/components/Modal.svelte +++ b/src/lib/components/Dialogue.svelte @@ -2,6 +2,7 @@ import { fade } from 'svelte/transition'; import { quadInOut } from 'svelte/easing'; export let modalOpen = false; + export let fullscreen = false; {#if modalOpen} @@ -11,23 +12,34 @@ on:keypress={() => (modalOpen = !modalOpen)} transition:fade={{ easing: quadInOut, duration: 150 }} /> + @@ -44,20 +56,23 @@ z-index: 999; } - h3 { - text-align: center; + .top { + display: flex; + flex-direction: column; + align-items: center; + margin-bottom: 20px; } .title { position: sticky; - padding-top: 46px; - padding-bottom: 20px; + display: flex; + align-items: center; + gap: 1rem; top: 0; + left: 0; width: 100%; background-color: var(--grey-six); - } - p { - margin-bottom: 1rem; + margin-bottom: 8px; } .modal { @@ -78,12 +93,37 @@ flex-direction: column; gap: 2px; z-index: 1001; + padding: 32px; box-shadow: 0px 4px 5px 0px rgba(0, 0, 0, 0.14), 0px 1px 10px 0px rgba(0, 0, 0, 0.12), 0px 2px 4px -1px rgba(0, 0, 0, 0.2); } + button { + padding: 0; + margin: 0; + border: none; + background-color: transparent; + display: flex; + align-items: center; + } + + #back { + height: 24px; + } + + .fullscreen { + max-height: 100%; + width: 100%; + border-radius: 0; + } + .fullscreen .title { + justify-content: flex-start; + } + .slot { - padding: 0px 28px 36px 28px; + display: flex; + flex-direction: column; + align-content: center; } .modal::-webkit-scrollbar { diff --git a/src/lib/components/Spinner.svelte b/src/lib/components/Spinner.svelte index 284dbc3..a3cc765 100644 --- a/src/lib/components/Spinner.svelte +++ b/src/lib/components/Spinner.svelte @@ -2,9 +2,7 @@ import { fade } from 'svelte/transition'; -
-
-
+