Skip to content

Material Design Theming #175

Answered by mpetuska
PhilKes asked this question in Q&A
Feb 18, 2023 · 2 comments · 2 replies
Discussion options

You must be logged in to vote

Mdc (js lib) supports 2 theming approaches:

  • Css variables (the one that worked for you, but it's limited)
  • scss mixins (recommend, much more flexible)

Here's an example code of scss mixin in use

For all theming in general I suggest refering to each component's mdc js docs as it differs on a component by component basis.

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
2 replies
@PhilKes
Comment options

@mpetuska
Comment options

Answer selected by PhilKes
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #174 on February 18, 2023 16:08.