aboutsummaryrefslogtreecommitdiffstats
path: root/src/app.css
diff options
context:
space:
mode:
Diffstat (limited to 'src/app.css')
-rw-r--r--src/app.css10
1 files changed, 9 insertions, 1 deletions
diff --git a/src/app.css b/src/app.css
index c41d249..c522036 100644
--- a/src/app.css
+++ b/src/app.css
@@ -220,7 +220,7 @@
}
/*
- A Blog Sepia, very TODO
+ TODO: Sepia properly
*/
[data-blog-theme=sepia] {
@apply bg-[#2b261e];
@@ -228,6 +228,14 @@
[data-blog-theme=light] {
@apply invert hue-rotate-180;
}
+[data-blog-theme] {
+ transition-property: filter;
+ transition-timing-function: ease-in-out;
+ transition-duration: 0.4s;
+}
+:root:not([data-blog-theme]) .theme-selector {
+ display: none;
+}
/*
The default border color has changed to `currentColor` in Tailwind CSS v4,