-
allow multiple theme on a pagewhyI could be useful to make theme that add custom layout, animation, feature... while using a "classic" theme Example of a class to make a centered layout section.center > * {
margin-left:auto;
margin-right: auto;
text-align:center;
}
section.center > footer {
margin: 0;
text-align:left !important;
} howallow multiple element in theme currentlyI use a basic style tag in my slide. Maybe an @import could work |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
In Marp (Marpit framework) theming system, the theme is always unique in a slide document. Allowing multiple themes would lead to many race conditions, such as different slide sizes and CSS |
Beta Was this translation helpful? Give feedback.
-
You could just ignore Marp comment after the first theme. So that only the first theme apply rule. Also, do you plan to support marp setting per item ?
|
Beta Was this translation helpful? Give feedback.
In Marp (Marpit framework) theming system, the theme is always unique in a slide document.
Allowing multiple themes would lead to many race conditions, such as different slide sizes and CSS
@import
definitions that are globally defined beyond the scope of Marp slides. Therefore, we do not plan to support that.