Add selection color variable (#262)

This commit is contained in:
Felix Mattick 2022-01-22 12:01:53 -06:00
parent 2e4933270e
commit 0ac9beec5e
No known key found for this signature in database
GPG key ID: 4E7A3D01471F32AB
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;