Specifies text highlight color, and adds variable

This commit is contained in:
Alicia Sykes
2021-06-15 13:08:46 +01:00
parent 7c13d1d14c
commit 9af4af75ec
4 changed files with 21 additions and 1 deletions

View File

@@ -15,6 +15,19 @@
}
}
/* Custom highlight color */
.highlight {
::selection {
background-color: var(--highlight-background);
color: var(--highlight-color);
}
::-moz-selection, ::-o-selection, ::-ms-selection, ::-webkit-selection {
background-color: var(--highlight-background);
color: var(--highlight-color);
}
}
/* Single-style helpers */
.bold { font-weight: bold; }
.light { font-weight: lighter; }