style: fix text selection color in Firefox dark mode
This commit is contained in:
@@ -50,7 +50,8 @@
|
|||||||
*/
|
*/
|
||||||
}
|
}
|
||||||
|
|
||||||
[data-theme='dark'], .dark {
|
[data-theme="dark"],
|
||||||
|
.dark {
|
||||||
--background: 5 5 5;
|
--background: 5 5 5;
|
||||||
--foreground: 0 0% 98%;
|
--foreground: 0 0% 98%;
|
||||||
|
|
||||||
@@ -95,3 +96,13 @@
|
|||||||
@apply bg-background text-foreground;
|
@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));
|
||||||
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user