minor improvement
This commit is contained in:
parent
d40373032a
commit
2c9541734a
|
@ -4,16 +4,27 @@
|
||||||
|
|
||||||
:root {
|
:root {
|
||||||
--my-color: #fff;
|
--my-color: #fff;
|
||||||
|
--selection-color: #fff;
|
||||||
|
--selection-bg-color: #fff;
|
||||||
}
|
}
|
||||||
|
|
||||||
[data-theme="dark"] {
|
[data-theme="dark"] {
|
||||||
--my-color: #000;
|
--my-color: #000;
|
||||||
color-scheme: dark;
|
color-scheme: dark;
|
||||||
|
--selection-color: #000000;
|
||||||
|
--selection-bg-color: #ffffff;
|
||||||
}
|
}
|
||||||
|
|
||||||
[data-theme="light"] {
|
[data-theme="light"] {
|
||||||
--my-color: #ffabc8;
|
--my-color: #ffabc8;
|
||||||
color-scheme: light;
|
color-scheme: light;
|
||||||
|
--selection-color: #ffffff;
|
||||||
|
--selection-bg-color: #000000;
|
||||||
|
}
|
||||||
|
|
||||||
|
::selection {
|
||||||
|
background-color: var(--selection-bg-color);
|
||||||
|
color: var(--selection-color);
|
||||||
}
|
}
|
||||||
|
|
||||||
html,
|
html,
|
||||||
|
@ -30,11 +41,6 @@ body {
|
||||||
scrollbar-width: none;
|
scrollbar-width: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
::selection {
|
|
||||||
background-color: #0ea4e93c;
|
|
||||||
color: white;
|
|
||||||
}
|
|
||||||
|
|
||||||
.hyphens {
|
.hyphens {
|
||||||
hyphens: auto;
|
hyphens: auto;
|
||||||
}
|
}
|
||||||
|
|
Ŝarĝante…
Reference in New Issue