aboutsummaryrefslogtreecommitdiffstats
path: root/src/app.css
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2025-09-09 09:11:55 -0700
committerAdam Soltys <[email protected]>2025-09-09 13:44:15 -0700
commit4703776e6e714f56c37b714d40601644b1810bfc (patch)
tree3ce6fe2e70b72f569475a723ab27932f62096d19 /src/app.css
parent4cb7c5aaeb077cbab9d0ba4e536ca999f2421a0d (diff)
downloadcoinos-ui-4703776e6e714f56c37b714d40601644b1810bfc.tar.gz
coinos-ui-4703776e6e714f56c37b714d40601644b1810bfc.zip
upgrade dependencies
Diffstat (limited to 'src/app.css')
-rw-r--r--src/app.css35
1 files changed, 32 insertions, 3 deletions
diff --git a/src/app.css b/src/app.css
index f01c9346..c04131bd 100644
--- a/src/app.css
+++ b/src/app.css
@@ -1,7 +1,9 @@
+@import "tailwindcss";
@tailwind base;
@tailwind components;
@tailwind utilities;
+
@font-face {
font-family: "PublicSans";
src: url("/fonts/Public_Sans/static/PublicSans-Regular.ttf")
@@ -26,15 +28,15 @@ input:not([type="range"]) {
}
.input {
- @apply input-bordered input-lg input-primary;
+ @apply input-lg input-primary;
}
textarea {
- @apply textarea textarea-bordered textarea-lg textarea-primary;
+ @apply textarea textarea-lg textarea-primary;
}
select {
- @apply select select-bordered select-lg select-primary;
+ @apply select select-lg select-primary;
}
input:not([type="range"]), textarea, select, .input {
@@ -57,3 +59,30 @@ input.clean, textarea.clean {
.btn {
@apply rounded-2xl btn-lg btn-block outline-none
}
+
+@plugin "daisyui" {
+ themes: light --default, dark --prefersdark;
+}
+
+@plugin "daisyui/theme" {
+ name: "light";
+ default: true;
+
+ --gradient: #C3CFE2;
+ --color-error: #b91c1c;
+ --color-primary: #000;
+ --color-secondary: #111;
+}
+
+@plugin "daisyui/theme" {
+ name: "dark";
+ prefersdark: true;
+
+ --gradient: #C3CFE2;
+ --color-primary: #FFF;
+ --color-secondary: #CCC;
+ --color-error: #f87171;
+}
+
+:root, [data-theme="dark"] {
+}