I'm working in a corporate environment which is making it extremely difficult to try and get SCSS working on our build server. Is there a way to apply custom Angular Material 2 theme using custom color palettes as plain CSS instead?
Asked
Active
Viewed 1,490 times
1 Answers
1
Material comes with a couple pre-built themes available as plain .css files, as documented here.
If you have an existing custom theme in .scss, you can convert it to .css using the command
$ node_modules\.bin\node-sass.cmd src\theme.scss > theme.css

p4r1
- 2,490
- 16
- 18
-
Sorry, I should have mention that this is a custom theme with custom color palettes. I'll update the question. I will try your suggestion. Thanks. – adam0101 May 24 '18 at 15:42