better selection color
Some checks are pending
ci/woodpecker/push/publish Pipeline is pending

This commit is contained in:
Mylloon 2023-04-24 19:18:15 +02:00
parent bc08faf212
commit 39a1e9b22a
Signed by: Anri
GPG key ID: A82D63DFF8D1317F

View file

@ -1,5 +1,6 @@
@media (prefers-color-scheme: light) { @media (prefers-color-scheme: light) {
:root { :root {
--selection: #36837db3;
--bg: #ffffff; --bg: #ffffff;
--line: #aebed0; --line: #aebed0;
--date: #d2e0f0; --date: #d2e0f0;
@ -8,12 +9,12 @@
--point-hover: #ff00ff; --point-hover: #ff00ff;
--font-color: #18181b; --font-color: #18181b;
--title-color: #a14cb3; --title-color: #a14cb3;
--font-size: 20px;
} }
} }
@media (prefers-color-scheme: dark) { @media (prefers-color-scheme: dark) {
:root { :root {
--selection: #4bad9480;
--bg: #171e26; --bg: #171e26;
--line: #374351; --line: #374351;
--date: #242e38; --date: #242e38;
@ -22,10 +23,18 @@
--point-hover: #ff00ff; --point-hover: #ff00ff;
--font-color: #a1a1aa; --font-color: #a1a1aa;
--title-color: #a25add; --title-color: #a25add;
--font-size: 20px;
} }
} }
:root {
--font-size: 20px;
}
::selection {
color: rgb(255, 255, 255);
background: var(--selection);
}
html { html {
background-color: var(--bg); background-color: var(--bg);
font-family: "Segoe UI", Arial, sans-serif, "Segoe UI Emoji", font-family: "Segoe UI", Arial, sans-serif, "Segoe UI Emoji",