mirror of
https://github.com/nestriness/nestri.git
synced 2025-12-12 08:45:38 +02:00
🐛 fix: Use better contrast for selection
This commit is contained in:
@@ -12,22 +12,22 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
*::selection {
|
*::selection {
|
||||||
background-color: theme("colors.primary.200");
|
background-color: theme("colors.primary.100");
|
||||||
color: theme("colors.primary.500");
|
color: theme("colors.primary.500");
|
||||||
}
|
}
|
||||||
|
|
||||||
*::-moz-selection {
|
*::-moz-selection {
|
||||||
background-color: theme("colors.primary.200");
|
background-color: theme("colors.primary.100");
|
||||||
color: theme("colors.primary.500");
|
color: theme("colors.primary.500");
|
||||||
}
|
}
|
||||||
|
|
||||||
html.dark *::selection {
|
html.dark *::selection {
|
||||||
background-color: theme("colors.primary.800");
|
background-color: theme("colors.primary.900");
|
||||||
color: theme("colors.primary.500");
|
color: theme("colors.primary.500");
|
||||||
}
|
}
|
||||||
|
|
||||||
html.dark *::-moz-selection {
|
html.dark *::-moz-selection {
|
||||||
background-color: theme("colors.primary.800");
|
background-color: theme("colors.primary.900");
|
||||||
color: theme("colors.primary.500");
|
color: theme("colors.primary.500");
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -39,12 +39,12 @@
|
|||||||
|
|
||||||
@media (prefers-color-scheme: dark) {
|
@media (prefers-color-scheme: dark) {
|
||||||
*::selection {
|
*::selection {
|
||||||
background-color: theme("colors.primary.800");
|
background-color: theme("colors.primary.900");
|
||||||
color: theme("colors.primary.500");
|
color: theme("colors.primary.500");
|
||||||
}
|
}
|
||||||
|
|
||||||
*::-moz-selection {
|
*::-moz-selection {
|
||||||
background-color: theme("colors.primary.800");
|
background-color: theme("colors.primary.900");
|
||||||
color: theme("colors.primary.500");
|
color: theme("colors.primary.500");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user