Skip to content
Discussion options

You must be logged in to vote

Sure, that's possible, too. You basically just need to craft a rule for the data-md-color-primary (or *-accent) selector:

[data-md-color-primary="mycustomcolor"] {
    --md-primary-fg-color: red;
    --md-primary-fg-color--light: green;
    --md-primary-fg-color--dark: blue;
}

Please see the palette folder for all definitions.

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by wilhelmer
Comment options

You must be logged in to vote
0 replies
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