Make selections follow palette colors (#4590)

This commit is contained in:
Simon Huber 2020-04-22 11:46:36 +02:00 committed by GitHub
parent 77a929faa3
commit cae937f107
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 11 additions and 1 deletions

View File

@ -225,6 +225,16 @@ kbd {
box-shadow: inset 0 -1px 0 <<colour muted-foreground>>;
}
::selection {
background-color: <<colour primary>>;
color: <<colour page-background>>;
}
::-moz-selection {
background-color: <<colour primary>>;
color: <<colour page-background>>;
}
/*
Markdown likes putting code elements inside pre elements
*/
@ -2726,4 +2736,4 @@ select {
.tc-fill-background {
fill: <<colour background>>;
}
}