Set color-scheme property in themes (#8547)

This commit is contained in:
Robin 2022-05-09 21:55:31 -04:00 committed by GitHub
parent ed2ee70f9f
commit d5b363e971
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 16 additions and 0 deletions

View file

@ -269,6 +269,10 @@ $selected-color: $room-highlight-color;
}
// ********************
body {
color-scheme: dark;
}
// Nasty hacks to apply a filter to arbitrary monochrome artwork to make it
// better match the theme. Typically applied to dark grey 'off' buttons or
// light grey 'on' buttons.

View file

@ -242,6 +242,10 @@ $location-live-secondary-color: #deddfd;
text-decoration: none;
}
body {
color-scheme: dark;
}
// Nasty hacks to apply a filter to arbitrary monochrome artwork to make it
// better match the theme. Typically applied to dark grey 'off' buttons or
// light grey 'on' buttons.

View file

@ -347,6 +347,10 @@ $location-live-secondary-color: #deddfd;
text-decoration: none;
}
body {
color-scheme: light;
}
// diff highlight colors
.hljs-addition {
background: #dfd;

View file

@ -378,6 +378,10 @@ $location-live-secondary-color: #deddfd;
text-decoration: none;
}
body {
color-scheme: light;
}
// ********************
// diff highlight colors