mirror of
https://github.com/kognise/water.css.git
synced 2025-08-12 16:14:34 +02:00
Add selection color variable (#262)
This commit is contained in:
@@ -100,6 +100,7 @@ Do you want to make some adjustments or build your own theme completely differen
|
|||||||
- `--background`
|
- `--background`
|
||||||
- `--background-alt`
|
- `--background-alt`
|
||||||
- `--selection`
|
- `--selection`
|
||||||
|
- `--selection-foreground`
|
||||||
- `--text-main`
|
- `--text-main`
|
||||||
- `--text-bright`
|
- `--text-bright`
|
||||||
- `--text-muted`
|
- `--text-muted`
|
||||||
|
@@ -74,7 +74,7 @@ html {
|
|||||||
|
|
||||||
::selection {
|
::selection {
|
||||||
background-color: var(--selection);
|
background-color: var(--selection);
|
||||||
color: var(--text-bright);
|
color: var(--selection-foreground);
|
||||||
}
|
}
|
||||||
|
|
||||||
details {
|
details {
|
||||||
|
@@ -3,6 +3,7 @@
|
|||||||
--background: #161f27;
|
--background: #161f27;
|
||||||
--background-alt: #1a242f;
|
--background-alt: #1a242f;
|
||||||
--selection: #1c76c5;
|
--selection: #1c76c5;
|
||||||
|
--selection-foreground: var(--text-bright);
|
||||||
--text-main: #dbdbdb;
|
--text-main: #dbdbdb;
|
||||||
--text-bright: #fff;
|
--text-bright: #fff;
|
||||||
--text-muted: #a9b1ba;
|
--text-muted: #a9b1ba;
|
||||||
|
@@ -3,6 +3,7 @@
|
|||||||
--background: #efefef;
|
--background: #efefef;
|
||||||
--background-alt: #f7f7f7;
|
--background-alt: #f7f7f7;
|
||||||
--selection: #9e9e9e;
|
--selection: #9e9e9e;
|
||||||
|
--selection-foreground: var(--text-bright);
|
||||||
--text-main: #363636;
|
--text-main: #363636;
|
||||||
--text-bright: #000;
|
--text-bright: #000;
|
||||||
--text-muted: #70777f;
|
--text-muted: #70777f;
|
||||||
|
Reference in New Issue
Block a user