@kadal/theme-crayon 0.5.0 → 0.5.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/package.json +2 -2
  2. package/style.css +9 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kadal/theme-crayon",
3
- "version": "0.5.0",
3
+ "version": "0.5.2",
4
4
  "description": "Crayon, a theme for Kadal Deck (@kadal/deck). A playful pastel theme for workshops and classrooms: rounded shapes, a friendly display face, and sticker-like callouts.",
5
5
  "keywords": [
6
6
  "kadal-theme",
@@ -91,7 +91,7 @@
91
91
  "test": "bun test"
92
92
  },
93
93
  "peerDependencies": {
94
- "@kadal/deck": "^0.5.0",
94
+ "@kadal/deck": "^0.5.2",
95
95
  "react": "^19.2.0"
96
96
  },
97
97
  "devDependencies": {
package/style.css CHANGED
@@ -854,3 +854,12 @@
854
854
  .theme-crayon .deck-layout-center > :is(h1, h2) {
855
855
  margin-bottom: 0.3em;
856
856
  }
857
+
858
+ /* ── a slide with its own background ───────────────────────────────────────
859
+ `background:` on a slide (a colour, a picture, a built-in or library background) is the
860
+ author's: the engine marks the slide `has-background` and the theme's decorative backdrop for
861
+ that layout steps aside, instead of painting over it or stacking a second set of art on it. */
862
+ .theme-crayon .deck-slide.has-background.layout-cover::before,
863
+ .theme-crayon .deck-slide.has-background.layout-cover::after {
864
+ display: none;
865
+ }