@kadal/theme-crisp 0.5.1 → 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 +11 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kadal/theme-crisp",
3
- "version": "0.5.1",
3
+ "version": "0.5.2",
4
4
  "description": "Crisp: plain black on white for Kadal Deck, ported from a Slidev theme. Helvetica Neue, bold titles, pictures set in a margin; light and dark.",
5
5
  "keywords": [
6
6
  "kadal-theme",
@@ -79,7 +79,7 @@
79
79
  "typecheck": "tsc --noEmit"
80
80
  },
81
81
  "peerDependencies": {
82
- "@kadal/deck": "^0.5.1",
82
+ "@kadal/deck": "^0.5.2",
83
83
  "react": "^19.2.0"
84
84
  },
85
85
  "devDependencies": {
package/style.css CHANGED
@@ -408,3 +408,14 @@
408
408
  .theme-crisp .deck-progress span {
409
409
  background: var(--deck-fg);
410
410
  }
411
+
412
+ /* ── a slide with its own background ───────────────────────────────────────
413
+ `background:` on a slide (a colour, a picture, a built-in or library background) is the
414
+ author's: the engine marks the slide `has-background` and the theme's decorative backdrop for
415
+ that layout steps aside, instead of painting over it or stacking a second set of art on it. */
416
+ .theme-crisp .deck-slide.has-background.layout-end {
417
+ background: none;
418
+ }
419
+ .theme-crisp .deck-slide.has-background .deck-layout-end {
420
+ color: var(--deck-fg);
421
+ }