Skip to content

⚡️⚡️⚡️ Self-hosted collaborative bookmark manager to collect, read, annotate, and fully preserve what matters, all in one place.

minor improvement

daniel31x132c9541734a43
diff --git a/styles/globals.css b/styles/globals.css
index 8569c4d0..3d0d4655 100644
--- a/styles/globals.css
+++ b/styles/globals.css
@@ -4,16 +4,27 @@
:root {
--my-color: #fff;
+ --selection-color: #fff;
+ --selection-bg-color: #fff;
}
[data-theme="dark"] {
--my-color: #000;
color-scheme: dark;
+ --selection-color: #000000;
+ --selection-bg-color: #ffffff;
}
[data-theme="light"] {
--my-color: #ffabc8;
color-scheme: light;
+ --selection-color: #ffffff;
+ --selection-bg-color: #000000;
+}
+
+::selection {
+ background-color: var(--selection-bg-color);
+ color: var(--selection-color);
}
html,
@@ -30,11 +41,6 @@ body {
scrollbar-width: none;
}
-::selection {
- background-color: #0ea4e93c;
- color: white;
-}
-
.hyphens {
hyphens: auto;
}