aboutsummaryrefslogtreecommitdiffstats
path: root/src/app.css
diff options
context:
space:
mode:
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"] {
+}