Skip to content

What is the best way to customize the colors of an existing theme? #48

Answered by yhatt
hakib asked this question in Q&A
Discussion options

You must be logged in to vote

Marp built-in themes are made by Sass and some themes are using mixin-based color scheme definition.
https://github.com/marp-team/marp-core/tree/master/themes

You can make custom theme CSS based on the original Sass source if you don't like the our approach for customization using @import "base-theme".

I know it is not the best way to customize. The extra built-in themes that is going to make in future will take CSS variables instead of Sass mixin and Sass variables for easy customization by user. Of course I want to replace current built-in themes to use CSS variables if a new theme was working well.

Replies: 3 comments 1 reply

Comment options

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

You must be logged in to vote
1 reply
@yhatt
Comment options

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