@kadal/theme-neon 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-neon",
3
- "version": "0.5.0",
3
+ "version": "0.5.2",
4
4
  "description": "Neon, a theme for Kadal Deck (@kadal/deck). A dark synthwave theme for meetups and launches: a sunset horizon, glows that stay legible, and a solid print fallback.",
5
5
  "keywords": [
6
6
  "kadal-theme",
@@ -92,7 +92,7 @@
92
92
  "test": "bun test"
93
93
  },
94
94
  "peerDependencies": {
95
- "@kadal/deck": "^0.5.0",
95
+ "@kadal/deck": "^0.5.2",
96
96
  "react": "^19.2.0"
97
97
  },
98
98
  "devDependencies": {
package/style.css CHANGED
@@ -716,3 +716,12 @@
716
716
  .theme-neon .deck-layout-center > :is(h1, h2) {
717
717
  margin-bottom: 0.3em;
718
718
  }
719
+
720
+ /* ── a slide with its own background ───────────────────────────────────────
721
+ `background:` on a slide (a colour, a picture, a built-in or library background) is the
722
+ author's: the engine marks the slide `has-background` and the theme's decorative backdrop for
723
+ that layout steps aside, instead of painting over it or stacking a second set of art on it. */
724
+ .theme-neon .deck-slide.has-background:is(.layout-cover, .layout-end)::before,
725
+ .theme-neon .deck-slide.has-background:is(.layout-cover, .layout-end)::after {
726
+ display: none;
727
+ }