From abea751e10619cb4b39217743cd46da2ac2b43ef Mon Sep 17 00:00:00 2001 From: afn <47723802+afnzmn@users.noreply.github.com> Date: Sun, 9 Oct 2022 23:09:21 -0400 Subject: [PATCH] feat: nicer homescreen ui --- src/app.css | 25 ++++----- src/app.html | 2 + src/lib/components/atoms/Button.svelte | 43 +++++++++------ .../components/atoms/DownloadChannel.svelte | 53 ------------------- .../components/atoms/DownloadSelector.svelte | 2 +- .../components/atoms/IndexHeroTitle.svelte | 19 +------ src/lib/components/atoms/Navigation.svelte | 15 +++--- src/lib/components/atoms/SocialButton.svelte | 2 +- .../molecules/ContributorHost.svelte | 9 ++++ .../molecules/DownloadChannelHost.svelte | 34 ------------ .../molecules/DownloadSelectorHost.svelte | 2 +- src/lib/components/molecules/NavHost.svelte | 19 ++++--- .../components/molecules/SocialHost.svelte | 2 +- .../organisms/IndexDescription.svelte | 9 ++-- src/routes/+page.svelte | 2 +- src/routes/download/+page.svelte | 2 - static/icons/docs.svg | 1 + static/icons/download.svg | 1 + static/icons/home.svg | 1 + static/logo.svg | 2 +- 20 files changed, 86 insertions(+), 159 deletions(-) delete mode 100644 src/lib/components/atoms/DownloadChannel.svelte delete mode 100644 src/lib/components/molecules/DownloadChannelHost.svelte create mode 100644 static/icons/docs.svg create mode 100644 static/icons/download.svg create mode 100644 static/icons/home.svg diff --git a/src/app.css b/src/app.css index 453eedb..3c37c8d 100644 --- a/src/app.css +++ b/src/app.css @@ -19,7 +19,7 @@ body{ margin: 0; padding: 0; line-height: 1.3; - background-color: #0f111a; + background-color: var(--bg-color); } html, body{ @@ -33,14 +33,14 @@ html, body{ :root { --white: #fff; - --red: #ff4151; - --red-glow: #ff838d40; - --grey-one: #1c1e29; - --grey-two: #2b2d3a; - --grey-three: #3e404f; + --red: #8bc3f4; + --bg-color: #181C1E; + --grey-one: #252B31; + --grey-two: #28313b; + --grey-three: #3c4759c3; --grey-four: #1B1E29; - --grey-five: #D0D0D0; - --grey-six: #a19e9e; + --grey-five: hsl(208, 30%, 75%); + --grey-six: #23282da7; --grey-seven: #535563; --bezier-one: cubic-bezier(0.25, 0.46, 0.45, 0.94) } @@ -54,13 +54,14 @@ html, body{ h1{ color: var(--white); - font-weight: 800; + font-weight: 700; + line-height: 0.75em; } h2{ - color: var(--white); - font-weight: 300; - font-size: 1.75rem; + color: var(--grey-five); + font-weight: 400; + font-size: 1.4rem; } h3{ diff --git a/src/app.html b/src/app.html index 2f83674..56f0975 100644 --- a/src/app.html +++ b/src/app.html @@ -9,4 +9,6 @@