aboutsummaryrefslogtreecommitdiffstats
path: root/src/app.css
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2024-03-19 10:23:34 -0700
committerAdam Soltys <[email protected]>2024-03-19 10:23:34 -0700
commita4685f61e656ed0e3cd343073931867955be3281 (patch)
treec28c446ef0f6d5cbc37a7c58f954c145bd18ef80 /src/app.css
parentc6c2ac113186ba304c46580320df91c119ab5314 (diff)
parente2bb9d704878070054fa8ef81da73b248e2c4f97 (diff)
downloadcoinos-ui-a4685f61e656ed0e3cd343073931867955be3281.tar.gz
coinos-ui-a4685f61e656ed0e3cd343073931867955be3281.zip
Merge remote-tracking branch 'muriwolf/swapee' into swapee
Diffstat (limited to 'src/app.css')
-rw-r--r--src/app.css125
1 files changed, 124 insertions, 1 deletions
diff --git a/src/app.css b/src/app.css
index 3f0cbbd0..bcd5421c 100644
--- a/src/app.css
+++ b/src/app.css
@@ -1,6 +1,89 @@
+@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&display=swap');
+@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Inter:wght@100;200;300;400;500;600;700;800;900&family=Work+Sans:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');
@tailwind base;
@tailwind components;
@tailwind utilities;
+
+@layer base {
+ :root {
+ --background: 0 0% 100%;
+ --foreground: 224 71.4% 4.1%;
+
+ --muted: 220 14.3% 95.9%;
+ --muted-foreground: 220 8.9% 46.1%;
+
+ --popover: 0 0% 100%;
+ --popover-foreground: 224 71.4% 4.1%;
+
+ --card: 0 0% 100%;
+ --card-foreground: 224 71.4% 4.1%;
+
+ --border: 220 13% 91%;
+ --input: 220 13% 91%;
+
+ --primary: 220.9 39.3% 11%;
+ --primary-foreground: 210 20% 98%;
+
+ --secondary: 220 14.3% 95.9%;
+ --secondary-foreground: 220.9 39.3% 11%;
+
+ --accent: 220 14.3% 95.9%;
+ --accent-foreground: 220.9 39.3% 11%;
+
+ --destructive: 0 72.2% 50.6%;
+ --destructive-foreground: 210 20% 98%;
+
+ --ring: 224 71.4% 4.1%;
+
+ --radius: 0.5rem;
+ }
+
+ .dark {
+ --background: 224 71.4% 4.1%;
+ --foreground: 210 20% 98%;
+
+ --muted: 215 27.9% 16.9%;
+ --muted-foreground: 217.9 10.6% 64.9%;
+
+ --popover: 224 71.4% 4.1%;
+ --popover-foreground: 210 20% 98%;
+
+ --card: 224 71.4% 4.1%;
+ --card-foreground: 210 20% 98%;
+
+ --border: 215 27.9% 16.9%;
+ --input: 215 27.9% 16.9%;
+
+ --primary: 210 20% 98%;
+ --primary-foreground: 220.9 39.3% 11%;
+
+ --secondary: 215 27.9% 16.9%;
+ --secondary-foreground: 210 20% 98%;
+
+ --accent: 215 27.9% 16.9%;
+ --accent-foreground: 210 20% 98%;
+
+ --destructive: 0 62.8% 30.6%;
+ --destructive-foreground: 210 20% 98%;
+
+ --ring: 216 12.2% 83.9%;
+ }
+}
+
+@layer base {
+ * {
+ @apply border-border;
+ }
+ body {
+ @apply bg-background text-foreground;
+ }
+}
+
+@layer components {
+ .input-swapee {
+ @apply bg-primary text-gray-700 dark:text-gray-100 dark:bg-stone-700 border-0 focus:outline-none focus:ring-2 hover:ring-2 ring-swapee-purple ring-offset-swapee-purple ease-in-out transition-all duration-500;
+ }
+}
@font-face {
font-family: "PublicSans";
@@ -9,7 +92,7 @@
}
html {
- font-family: PublicSans, sans-serif;
+ font-family: 'Inter', sans-serif;
}
:root {
@@ -29,6 +112,46 @@ html {
background-color: white;
}
+/* SCROLL BAR */
+::-webkit-scrollbar {
+ width: 4px;
+ scrollbar-width: thin;
+ scrollbar-color: #f7f7f7;
+}
+
+@media (min-width: 720px) {
+ ::-webkit-scrollbar {
+ width: 12px;
+ }
+}
+
+::-webkit-scrollbar-thumb {
+ background-color: #222;
+}
+
+.dark > body {
+ background-color: #000
+}
+
+.dark > body::-webkit-scrollbar-thumb {
+ background-color: #fff;
+}
+
+/* to paint the profile page, because the way the page is built, the only way is to paint the body tag :/ */
+.dark > body::-webkit-scrollbar-track {
+ background-color: #000;
+}
+
+input:-webkit-autofill,
+input:-webkit-autofill:focus {
+ transition: background-color 600000s 0s, color 600000s 0s;
+}
+input[data-autocompleted] {
+ background-color: transparent !important;
+}
+
+/* SCROLL BAR */
+
input,
textarea {
@apply block border rounded-2xl px-5 py-4 w-full;