0
Fork 0
mirror of https://github.com/verdaccio/verdaccio.git synced 2025-04-01 02:42:23 -05:00

website: fix color of selection in dark mode (#5042)

This commit is contained in:
Marc Bernard 2025-01-05 21:25:07 +01:00 committed by GitHub
parent 3ff441b881
commit 8e9850bc93
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -22,6 +22,7 @@
--p-color: #5c5c5c;
--font-size: 0.875rem;
--font-size-big: calc(var(--font-size) * 1.2);
--selection-color: var(--ifm-color-white);
}
html[data-theme='dark']:root {
@ -41,7 +42,8 @@ html[data-theme='dark']:root {
--grey-lighter: #041329;
--p-color: #b7b7b7;
--verdaccio-color: #fff;
--grey: #f3f3f338;
--grey: #f3f3f3;
--selection-color: var(--dark-blue);
}
div[role='banner'] {
@ -79,12 +81,12 @@ div[role='banner'] {
::-moz-selection {
color: var(--ifm-color-white);
color: var(--selection-color);
background: var(--verdaccio-color);
}
::selection {
color: var(--ifm-color-white);
color: var(--selection-color);
background: var(--verdaccio-color);
}