From 3105d5844c75b43ccfa9da70e0204ccc82351db4 Mon Sep 17 00:00:00 2001 From: af-n <733093@gmail.com> Date: Wed, 20 Jul 2022 20:22:57 -0400 Subject: [PATCH] button shenanigans, download selector almost done --- src/lib/components/atoms/Button.svelte | 6 +- .../components/atoms/DownloadChannel.svelte | 4 +- .../components/atoms/DownloadSelector.svelte | 70 ++++++++----------- src/lib/components/atoms/Navigation.svelte | 4 +- .../molecules/DownloadChannelHost.svelte | 8 +-- .../molecules/DownloadSelectorHost.svelte | 21 +++--- .../organisms/IndexDescription.svelte | 6 +- src/routes/__layout.svelte | 21 +++++- 8 files changed, 79 insertions(+), 61 deletions(-) diff --git a/src/lib/components/atoms/Button.svelte b/src/lib/components/atoms/Button.svelte index 67dc98e..acb71b2 100644 --- a/src/lib/components/atoms/Button.svelte +++ b/src/lib/components/atoms/Button.svelte @@ -2,10 +2,12 @@ export let kind = 'secondary'; $: type = 'button-' + kind; export let href = '#'; + export let fontsize = '1.2rem'; + - @@ -25,10 +27,8 @@ padding: 12px 40px; cursor: pointer; background-color: transparent; - font-size: 1.5rem; margin-top: 45px; transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94), box-shadow 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94); - margin-right: 20px; user-select: none; } diff --git a/src/lib/components/atoms/DownloadChannel.svelte b/src/lib/components/atoms/DownloadChannel.svelte index b5c733f..000c97e 100644 --- a/src/lib/components/atoms/DownloadChannel.svelte +++ b/src/lib/components/atoms/DownloadChannel.svelte @@ -22,8 +22,8 @@ button { font-weight: 300; - font-size: 1.5rem; - height: 60px; + font-size: 1.4rem; + height: 55px; width: 100%; color: var(--white); border-radius: 200px; diff --git a/src/lib/components/atoms/DownloadSelector.svelte b/src/lib/components/atoms/DownloadSelector.svelte index 47d7920..6e7f30e 100644 --- a/src/lib/components/atoms/DownloadSelector.svelte +++ b/src/lib/components/atoms/DownloadSelector.svelte @@ -3,26 +3,17 @@
-

99.9.9a

-

2022-07-11

+

2.5.0

+

2022-07-11

-
-

Features

-
+

Features

+

Bug Fixes

+
@@ -33,27 +24,30 @@ diff --git a/src/lib/components/atoms/Navigation.svelte b/src/lib/components/atoms/Navigation.svelte index 07f60ba..6dfbe56 100644 --- a/src/lib/components/atoms/Navigation.svelte +++ b/src/lib/components/atoms/Navigation.svelte @@ -18,8 +18,8 @@ display: inline-block; position: relative; font-weight: 300; - margin-left: 7px; - margin-right: 7px; + margin-left: 0.5rem; + margin-right: 0.5rem; align-items: center; border: var(--grey-six); transition-timing-function: cubic-bezier(0.25, 0.46, 0.45, 0.94); diff --git a/src/lib/components/molecules/DownloadChannelHost.svelte b/src/lib/components/molecules/DownloadChannelHost.svelte index b9e7385..acc82dd 100644 --- a/src/lib/components/molecules/DownloadChannelHost.svelte +++ b/src/lib/components/molecules/DownloadChannelHost.svelte @@ -13,7 +13,7 @@ }; -
+
{#each items as item} @@ -23,12 +23,12 @@
diff --git a/src/lib/components/molecules/DownloadSelectorHost.svelte b/src/lib/components/molecules/DownloadSelectorHost.svelte index ccda1af..29f0274 100644 --- a/src/lib/components/molecules/DownloadSelectorHost.svelte +++ b/src/lib/components/molecules/DownloadSelectorHost.svelte @@ -9,19 +9,24 @@ +
\ No newline at end of file diff --git a/src/lib/components/organisms/IndexDescription.svelte b/src/lib/components/organisms/IndexDescription.svelte index b28b9ac..471aca3 100644 --- a/src/lib/components/organisms/IndexDescription.svelte +++ b/src/lib/components/organisms/IndexDescription.svelte @@ -14,8 +14,8 @@
- - + +
@@ -26,6 +26,8 @@ } .hero-buttons { + display: flex; + gap:1rem; user-select: none; } diff --git a/src/routes/__layout.svelte b/src/routes/__layout.svelte index acf4f31..3e42370 100644 --- a/src/routes/__layout.svelte +++ b/src/routes/__layout.svelte @@ -68,6 +68,7 @@ import Wave from '$lib/components/atoms/Wave.svelte'; --grey-four: #1B1E29; --grey-five: #D0D0D0; --grey-six: #a19e9e; + --grey-seven: #535563; } :global(::selection) { @@ -88,6 +89,24 @@ import Wave from '$lib/components/atoms/Wave.svelte'; font-size: 1.85rem; } + :global(h3) { + color: var(--white); + font-weight: 600; + font-size: 1rem; + } + + :global(h4) { + color:var(--grey-six); + font-weight:500; + font-size: 1rem; + } + + :global(h5) { + color:var(--white); + font-weight: 300; + font-size: 1rem; + } + /*-----scrollbar-----*/ :global(::-webkit-scrollbar) { @@ -103,6 +122,6 @@ import Wave from '$lib/components/atoms/Wave.svelte'; } :global(::-webkit-scrollbar-thumb:hover) { - background-color: var(--grey-four); + background-color: var(--grey-seven); }