aboutsummaryrefslogtreecommitdiffstats
path: root/src/app.css
diff options
context:
space:
mode:
authorMurillo Pinheiro de Oliveira <[email protected]>2024-02-18 19:50:45 -0300
committerMurillo Pinheiro de Oliveira <[email protected]>2024-02-18 19:50:45 -0300
commit5c80d3b511d7f83486d0f195400f382e5b721ec3 (patch)
treeb10ab016528cda70e44d63a0bb5c7c99c9625d28 /src/app.css
parent12609903a777413171ec71e646d4eb775414e6a3 (diff)
downloadcoinos-ui-5c80d3b511d7f83486d0f195400f382e5b721ec3.tar.gz
coinos-ui-5c80d3b511d7f83486d0f195400f382e5b721ec3.zip
updated: dark theme
Diffstat (limited to 'src/app.css')
-rw-r--r--src/app.css28
1 files changed, 25 insertions, 3 deletions
diff --git a/src/app.css b/src/app.css
index e8627298..629b12e3 100644
--- a/src/app.css
+++ b/src/app.css
@@ -77,6 +77,12 @@
}
}
+@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";
src: url("/fonts/Public_Sans/static/PublicSans-Regular.ttf")
@@ -117,15 +123,31 @@ html {
}
}
-
::-webkit-scrollbar-thumb {
- background-color: #555;
+ background-color: #222;
+}
+
+.dark > body {
+ background-color: #000
}
-::-webkit-scrollbar-track {
+.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,