diff --git a/src/app.css b/src/app.css index e05ca14..15766a6 100644 --- a/src/app.css +++ b/src/app.css @@ -1,4 +1,4 @@ -@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@200;300;400;500;600;700;800&family=Source+Code+Pro:ital,wght@0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap'); +@import url("https://fonts.googleapis.com/css2?family=Manrope:wght@200;300;400;500;600;700;800&family=Source+Code+Pro:ital,wght@0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap"); * { box-sizing: inherit; @@ -29,36 +29,25 @@ body { .wrapper { margin-inline: auto; - width: min(90%, 100rem); + width: min(95%, 80rem); margin-top: 7rem; } -.button-reset { - background-color: transparent; - border: none; - font-family: inherit; - font-size: inherit; - font-style: inherit; - font-weight: inherit; - line-height: inherit; - padding: 0; -} - :root { --main-font: "Manrope", sans-serif; - --mono-font: ui-monospace,SFMono-Regular,SF Mono,Menlo,Consolas,Liberation Mono,monospace; - --white: #fff; + --mono-font: ui-monospace, SFMono-Regular, SF Mono, Menlo, Consolas, Liberation Mono, monospace; + --white: hsl(206, 100%, 94%); --accent-color: #9fd5ff; - --accent-color-two: hsl(207, 65%, 90%); + --accent-color-two: hsl(208, 29%, 82%); --accent-low-opacity: #9ed7ff50; - --bg-color: hsl(240, 2%, 11%); + --bg-color: hsl(252, 10%, 11%); --grey-one: #252b31; --grey-two: #28313b; --grey-three: #373e4d; --grey-four: #182244; --grey-five: hsl(208, 30%, 75%); --grey-six: #202126; - --grey-seven: #18191d; + --grey-seven: hsl(240, 9%, 13.5%); --grey-eight: hsla(207, 30%, 75%, 0.577); --bezier-one: cubic-bezier(0.25, 0.46, 0.45, 0.94); } @@ -71,15 +60,15 @@ body { h1 { color: var(--white); - line-height: 1em; - font-size: 3rem; + line-height: 4rem; + font-size: 3.5rem; font-weight: 700; letter-spacing: -0.03em; } h2 { color: var(--grey-five); - line-height: 1em; + font-size: 2.25rem; letter-spacing: -0.05rem; font-weight: 600; @@ -92,10 +81,11 @@ h3 { } h4 { - color: var(--grey-five); + color: var(--accent-color-two); font-weight: 400; font-size: 1.1rem; letter-spacing: 0.02rem; + line-height: 2rem; } h5 { @@ -140,3 +130,16 @@ hr { border: 0; border-top: 1px solid var(--grey-three); } + +input { + padding: 1rem; + border-radius: 12px; + border: 1px solid var(--grey-three); + background-color: transparent; + color: var(--accent-color-two); +} + + +input:focus { + outline: 1px solid var(--accent-color); +} \ No newline at end of file diff --git a/src/lib/components/atoms/ApiSettingsButton.svelte b/src/lib/components/atoms/ApiSettingsButton.svelte deleted file mode 100644 index 2285978..0000000 --- a/src/lib/components/atoms/ApiSettingsButton.svelte +++ /dev/null @@ -1,126 +0,0 @@ - - - -
-

Configure the backend

-
-

API URL:

-
- - -
-
-
- - -
-
-
- - diff --git a/src/lib/components/atoms/Button.svelte b/src/lib/components/atoms/Button.svelte index 6f0f191..570694c 100644 --- a/src/lib/components/atoms/Button.svelte +++ b/src/lib/components/atoms/Button.svelte @@ -1,36 +1,53 @@ - -
- {#if icon} - {icon} - {/if} - -
-
+ diff --git a/src/lib/components/atoms/NavButton.svelte b/src/lib/components/atoms/NavButton.svelte index e5e97b8..4c29a7c 100644 --- a/src/lib/components/atoms/NavButton.svelte +++ b/src/lib/components/atoms/NavButton.svelte @@ -24,20 +24,18 @@ border: var(--grey-six); transition-timing-function: var(--bezier-one); transition-duration: 0.25s; - padding: 10px 25px; - border-radius: 200px; + padding: 10px 16px; + border-radius: 10px; display: flex; align-items: center; justify-content: center; } - - a { text-decoration: none; font-size: 1rem; user-select: none; - border-radius: 200px; + border-radius: 10px; } li:hover { @@ -46,7 +44,7 @@ } li.selected { - background-color: var(--grey-two); + background-color: var(--grey-one); color: var(--accent-color); } diff --git a/src/lib/components/molecules/NavHost.svelte b/src/lib/components/molecules/NavHost.svelte index 8fc69f2..b10c5c5 100644 --- a/src/lib/components/molecules/NavHost.svelte +++ b/src/lib/components/molecules/NavHost.svelte @@ -1,12 +1,28 @@ -