stylus-Angular 5:angular material changing theme


stylus-Angular 5:angular material changing theme



Currently my project is using "stylus" CSS pre-processor and not SCSS, I want to use angular material themes and switch the Themes. I can all documentation using SCSS but not stylus, Can anyone help me if it is possible to implement the Angular material switch theme logic using Angular 5 + Angular Material + Stylus?
Please help me with any documentation or example




1 Answer
1



Try to create global variables that will determine colors, using these variables you will be able to quickly change the color of the theme.
A good way is to edit the angular color palette.






By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Comments

Popular posts from this blog

paramiko-expect timeout is happening after executing the command

Opening a url is failing in Swift

Export result set on Dbeaver to CSV