From 7a278cda429164b141e87c83b9c719baf6a46bbf Mon Sep 17 00:00:00 2001 From: Adam <24621027+adoyle0@users.noreply.github.com> Date: Wed, 7 Aug 2024 22:48:19 -0400 Subject: [PATCH] some style stuff --- client/public/styles.css | 33 ++++++++++++++++++++++---------- client/src/components/auth.rs | 4 ++-- client/src/components/browser.rs | 10 +++++----- client/src/components/chat.rs | 6 +++--- client/src/lib.rs | 2 +- client/src/pages/home.rs | 4 ++-- 6 files changed, 36 insertions(+), 23 deletions(-) diff --git a/client/public/styles.css b/client/public/styles.css index 5e2f808..e82593c 100644 --- a/client/public/styles.css +++ b/client/public/styles.css @@ -2,20 +2,33 @@ @tailwind components; @tailwind utilities; -/* html, body { */ -/* @apply bg-slate-900; */ -/* } */ +@import url("https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap"); + +.inter-med { + font-family: "Inter", sans-serif; + font-optical-sizing: auto; + font-weight: 400; + font-style: normal; +} + +html, +body { + @apply text-neutral-200; + font-family: "Inter", sans-serif; + font-optical-sizing: auto; + font-weight: 400; + font-style: normal; + font-stretch: condensed; +} button { - @apply - bg-slate-600 + @apply bg-neutral-600 border-b-4 - border-slate-800 + border-neutral-800 font-bold - hover:bg-slate-700 - hover:border-slate-500 + hover:bg-neutral-700 + hover:border-neutral-500 px-4 py-2 rounded - text-white - ; + text-white; } diff --git a/client/src/components/auth.rs b/client/src/components/auth.rs index bca2d39..2320e16 100644 --- a/client/src/components/auth.rs +++ b/client/src/components/auth.rs @@ -50,14 +50,14 @@ pub fn Auth() -> impl IntoView {
Username: