Merge pull request #179 from peterpeterparker/style/fix-selection-in-firefox

style: fix text selection color in Firefox dark mode
This commit is contained in:
mauro 🤙
2024-09-14 12:10:51 +02:00
committed by GitHub

View File

@@ -50,7 +50,8 @@
*/
}
[data-theme='dark'], .dark {
[data-theme="dark"],
.dark {
--background: 5 5 5;
--foreground: 0 0% 98%;
@@ -95,3 +96,13 @@
@apply bg-background text-foreground;
}
}
::selection {
color: hsl(var(--primary-foreground));
background: hsl(var(--primary));
}
::-moz-selection {
color: hsl(var(--primary-foreground));
background: hsl(var(--primary));
}