mirror of https://github.com/apache/nifi.git
[NIFI-13370] - dark-mode support for browser inputs (#8935)
This closes #8935
This commit is contained in:
parent
5c62b67ea7
commit
d86686bf0a
|
@ -233,6 +233,15 @@
|
|||
$material-theme-warn-palette-lighter: mat.get-color-from-palette($material-theme-warn-palette, lighter);
|
||||
$material-theme-warn-palette-darker: mat.get-color-from-palette($material-theme-warn-palette, darker);
|
||||
|
||||
// support dark-mode browser default inputs (time, color, ...)
|
||||
input {
|
||||
color-scheme: if(
|
||||
$is-dark,
|
||||
dark,
|
||||
light
|
||||
);
|
||||
}
|
||||
|
||||
// semantic classes for the material theme
|
||||
|
||||
.primary-contrast {
|
||||
|
|
Loading…
Reference in New Issue