|
Thank you creating great tool ! I love to using Marp so much !!! Please help me:
what I did...
gaia_custom_test.css test.md It seems other trials 1gaia_custom_test.css It looks work, however I understand this is using 'gaia.css' , same as to describe other trials 2gaia_custom_test.css getting worse... other trials 3
It works fine, but I think this is not a sustainable way. please...It seems I misunderstand something. Please give me suggestions 🙏 versionsMarp for VS Code 0.17.0 |
Replies: 1 comment 3 replies
|
First, Probably you have to learn about what all Sass variables will be lost in compiled CSS. Marp does never recognize any Sass variables such as Thus, you have to take a way of "other trials 3" for now if you want to change Sass variable definitions of Marp built-in themes. See also #48. We already have a plan to make built-in themes migrate from Sass variables to CSS variables, for reducing some confusions and inconvenients like you met. Please track marp-team/marp-core#209. Appendix
As mentioned in Marpit documentation, Sass will try to delete not-meaning
|



First,
@import-themeis almost meaning same as@importand it has no special differences, as you've seen in "other trials 1".Probably you have to learn about what all Sass variables will be lost in compiled CSS. Marp does never recognize any Sass variables such as
$color-lightbecause Marp theme system (e.g. using@import) is working on the pure CSS. Marp built-in themes are using compiled CSS from Sass.Thus, you have to take a way of "other trials 3" for now if you want to change Sass variable definitions of Marp built-in themes. See also #48.
We already have a plan to make built-in themes migrate from Sass variables to CSS variables, for reducing some confusions and inconvenients like…