diff --git a/index.css b/index.css index a4dde3f..8b85934 100644 --- a/index.css +++ b/index.css @@ -2,13 +2,12 @@ @tailwind components; @tailwind utilities; - @font-face { font-family: "Space Grotesk"; font-style: normal; font-weight: 300 700; font-display: swap; - src: url('./assets/fonts/SpaceGrotesk-Variable.ttf') format('truetype'); + src: url("./assets/fonts/SpaceGrotesk-Variable.ttf") format("truetype"); } @font-face { @@ -16,13 +15,39 @@ font-style: normal; font-weight: 100 900; font-display: swap; - src: url('./assets/fonts/Inter-Variable.ttf') format('truetype'); + src: url("./assets/fonts/Inter-Variable.ttf") format("truetype"); } -@layer components { +@layer base { + h1 { + @apply text-2xl md:text-4xl lg:text-5xl; + } + h2 { + @apply text-xl md:text-3xl lg:text-4xl; + } + h3 { + @apply text-lg md:text-2xl lg:text-3xl; + } + h4 { + @apply text-base md:text-xl lg:text-2xl; + } + h5 { + @apply text-sm md:text-lg lg:text-xl; + } + h6 { + @apply text-xs md:text-base lg:text-lg; + } + p { + @apply text-base md:text-lg; + } + button { + @apply text-lg md:text-xl lg:text-2xl; + } +} + +@layer components { .ease { @apply transition duration-300 ease-in-out; } - } diff --git a/src/components/app.rs b/src/components/app.rs index 5055e02..4f7ed90 100644 --- a/src/components/app.rs +++ b/src/components/app.rs @@ -4,6 +4,7 @@ use leptos_meta::{Link, Meta, Title}; use tracing::info; use crate::client::ClientRpc; +use crate::components::create_wallet::CreateWallet; use crate::components::service_worker::ServiceWorker; use crate::components::{Footer, Joined, Logo, SubmitForm, WalletSelector}; use crate::context::provide_client_context; @@ -72,7 +73,7 @@ pub fn App() -> impl IntoView {