mirror of
https://github.com/nunocoracao/blowfish.git
synced 2026-01-30 16:31:52 +01:00
style: specify dark mode selector
This commit is contained in:
@@ -3552,6 +3552,9 @@ body.zen-mode-enable {
|
|||||||
.dark .ios-toggle::after {
|
.dark .ios-toggle::after {
|
||||||
background: #f5f5f5;
|
background: #f5f5f5;
|
||||||
}
|
}
|
||||||
|
html.dark {
|
||||||
|
color-scheme: dark;
|
||||||
|
}
|
||||||
body a, body button {
|
body a, body button {
|
||||||
transition-property: color, background-color, border-color, outline-color, text-decoration-color, fill, stroke, --tw-gradient-from, --tw-gradient-via, --tw-gradient-to;
|
transition-property: color, background-color, border-color, outline-color, text-decoration-color, fill, stroke, --tw-gradient-from, --tw-gradient-via, --tw-gradient-to;
|
||||||
transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));
|
transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));
|
||||||
|
|||||||
@@ -7,6 +7,10 @@
|
|||||||
@import "./components/zen-mode.css";
|
@import "./components/zen-mode.css";
|
||||||
@import "./components/a11y.css";
|
@import "./components/a11y.css";
|
||||||
|
|
||||||
|
html.dark {
|
||||||
|
color-scheme: dark;
|
||||||
|
}
|
||||||
|
|
||||||
body a,
|
body a,
|
||||||
body button {
|
body button {
|
||||||
@apply transition-colors;
|
@apply transition-colors;
|
||||||
|
|||||||
Reference in New Issue
Block a user