Manually define colours for text selection

Imagine using dark mode, couldn't be me
This commit is contained in:
lifehackerhansol 2022-03-23 07:05:22 -07:00
parent f39a370164
commit 35a2b511fe
2 changed files with 5 additions and 0 deletions

View file

@ -6,6 +6,10 @@ html {
/* sticky footer fix */ /* sticky footer fix */
position: relative; position: relative;
min-height: 100%; min-height: 100%;
::selection {
color: $text-color;
background: $text-highlight-color;
}
} }
body { body {

View file

@ -257,6 +257,7 @@ $nord15: #b48ead;
/* Colors */ /* Colors */
$background-color : $nord0 !default; $background-color : $nord0 !default;
$text-color : $nord4 !default; $text-color : $nord4 !default;
$text-highlight-color : $nord3 !default;
$primary-color : $nord8 !default; $primary-color : $nord8 !default;
$success-color : $nord14 !default; $success-color : $nord14 !default;
$warning-color : $nord12 !default; $warning-color : $nord12 !default;