1
0
mirror of https://github.com/kognise/water.css.git synced 2025-08-11 23:54:12 +02:00

Add selection color variable (#262)

This commit is contained in:
Felix Mattick
2022-01-22 12:01:53 -06:00
parent 2e4933270e
commit 0ac9beec5e
4 changed files with 4 additions and 1 deletions

View File

@@ -100,6 +100,7 @@ Do you want to make some adjustments or build your own theme completely differen
- `--background`
- `--background-alt`
- `--selection`
- `--selection-foreground`
- `--text-main`
- `--text-bright`
- `--text-muted`

View File

@@ -74,7 +74,7 @@ html {
::selection {
background-color: var(--selection);
color: var(--text-bright);
color: var(--selection-foreground);
}
details {

View File

@@ -3,6 +3,7 @@
--background: #161f27;
--background-alt: #1a242f;
--selection: #1c76c5;
--selection-foreground: var(--text-bright);
--text-main: #dbdbdb;
--text-bright: #fff;
--text-muted: #a9b1ba;

View File

@@ -3,6 +3,7 @@
--background: #efefef;
--background-alt: #f7f7f7;
--selection: #9e9e9e;
--selection-foreground: var(--text-bright);
--text-main: #363636;
--text-bright: #000;
--text-muted: #70777f;