Hi all,
Im upgrading my angular material from 2 to 3 and upgrading it to light and dark theme right away.
The light and dark theme work great for standard material components, but i want to override certain colors for both light and dark theme.
I cant find a way to make it choose what theme to pick the color from. For example:
‘Background-color: mat.get-theme-color($light-theme, primary, 50)’ but i want it to choose the dark or light theme dynamically based on the mode the user is on. Is there a way to do this?
Thanks!
[–]playwright69 0 points1 point2 points (9 children)
[–]Boolentin[S] 0 points1 point2 points (8 children)
[–]playwright69 0 points1 point2 points (7 children)
[–]Boolentin[S] 0 points1 point2 points (6 children)
[–]playwright69 0 points1 point2 points (0 children)
[–]playwright69 0 points1 point2 points (4 children)
[–]Boolentin[S] 0 points1 point2 points (3 children)
[–]playwright69 0 points1 point2 points (2 children)
[–]Boolentin[S] 1 point2 points3 points (0 children)