Skip to content

Commit

Permalink
[NIFI-13370] - dark-mode support for browser inputs (#8935)
Browse files Browse the repository at this point in the history
This closes #8935
  • Loading branch information
rfellows authored Jun 7, 2024
1 parent 5c62b67 commit d86686b
Showing 1 changed file with 9 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit d86686b

Please sign in to comment.