1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-11-23 10:07:19 +00:00

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

View File

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