0

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?

1 Answer 1

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

Sign up to request clarification or add additional context in comments.

1 Comment

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.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.