mirror of https://github.com/vector-im/riot-web
Set color-scheme property in themes (#8547)
parent
ed2ee70f9f
commit
d5b363e971
|
@ -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
|
// 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
|
// better match the theme. Typically applied to dark grey 'off' buttons or
|
||||||
// light grey 'on' buttons.
|
// light grey 'on' buttons.
|
||||||
|
|
|
@ -242,6 +242,10 @@ $location-live-secondary-color: #deddfd;
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
body {
|
||||||
|
color-scheme: dark;
|
||||||
|
}
|
||||||
|
|
||||||
// Nasty hacks to apply a filter to arbitrary monochrome artwork to make it
|
// 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
|
// better match the theme. Typically applied to dark grey 'off' buttons or
|
||||||
// light grey 'on' buttons.
|
// light grey 'on' buttons.
|
||||||
|
|
|
@ -347,6 +347,10 @@ $location-live-secondary-color: #deddfd;
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
body {
|
||||||
|
color-scheme: light;
|
||||||
|
}
|
||||||
|
|
||||||
// diff highlight colors
|
// diff highlight colors
|
||||||
.hljs-addition {
|
.hljs-addition {
|
||||||
background: #dfd;
|
background: #dfd;
|
||||||
|
|
|
@ -378,6 +378,10 @@ $location-live-secondary-color: #deddfd;
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
body {
|
||||||
|
color-scheme: light;
|
||||||
|
}
|
||||||
|
|
||||||
// ********************
|
// ********************
|
||||||
|
|
||||||
// diff highlight colors
|
// diff highlight colors
|
||||||
|
|
Loading…
Reference in New Issue