1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-11-16 06:44:50 +00:00

Don't override browser selection colours by default

Reverts some of #4590
This commit is contained in:
jeremy@jermolene.com 2020-09-25 14:06:00 +01:00
parent 5bf810408a
commit 543f9107b6
2 changed files with 6 additions and 4 deletions

View File

@ -57,6 +57,8 @@ page-background: #f4f4f4
pre-background: #f5f5f5 pre-background: #f5f5f5
pre-border: #cccccc pre-border: #cccccc
primary: #5778d8 primary: #5778d8
selection-background:
selection-foreground:
select-tag-background: select-tag-background:
select-tag-foreground: select-tag-foreground:
sidebar-button-foreground: <<colour foreground>> sidebar-button-foreground: <<colour foreground>>

View File

@ -232,13 +232,13 @@ kbd {
} }
::selection { ::selection {
background-color: <<colour primary>>; background-color: <<colour selection-background>>;
color: <<colour page-background>>; color: <<colour selection-foreground>>;
} }
::-moz-selection { ::-moz-selection {
background-color: <<colour primary>>; background-color: <<colour selection-background>>;
color: <<colour page-background>>; color: <<colour selection-foreground>>;
} }
/* /*