[NIFI-13370] - dark-mode support for browser inputs (#8935)

This closes #8935
This commit is contained in:
Rob Fellows 2024-06-07 14:48:10 -04:00 committed by GitHub
parent 5c62b67ea7
commit d86686bf0a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 9 additions and 0 deletions

View File

@ -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 {