Binding only the `:thisSlide` token still left every untokened rule in a slide's tag compiling deck-wide, so one slide's styles kept applying to all slides. Wrap each slide's whole style block in its section selector instead, with `:thisSlide` resolving to `&` — Less hoists `@keyframes`/ `@font-face` out of the wrapper itself and keeps `@media` nested inside, so only rules end up scoped. The global block stays the shared layer and the deck still compiles exactly once. |
||
|---|---|---|
| .. | ||
| slides | ||
| code-to-element.ts | ||
| dom-to-image.ts | ||
| editor.ts | ||
| main.ts | ||
| style.css | ||