Closed kelein closed 6 years ago
You can use inline style as a workaround.
<!--
$theme: gaia
*template: white
-->
<style>
.slide_wrapper[data-template="white"] .slide {
background: #fff !important;
}
</style>
In Marp Next, we have backgroundColor
directive to support changing background color directly (came from Marpit framework). The below example would receive the same result in future.
<!-- _backgroundColor: white -->
_
works as same as*
in current Marp.
I am fond of the theme of
Gaia
, but when I insert a image with white background the template both<!-- *template: invert -->
and<!-- *template: default -->
seems not well.I prefer that The
Gaia
theme has a template of white background like this<!-- *template: white -->
to meet such needs.