@kadal/theme-crayon 0.4.7 → 0.4.9
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.
- package/README.md +4 -1
- package/package.json +6 -2
package/README.md
CHANGED
|
@@ -11,6 +11,9 @@
|
|
|
11
11
|
|
|
12
12
|
## Use it
|
|
13
13
|
|
|
14
|
+
@kadal/deck ships this theme, so `theme: crayon` works with nothing else installed. Install the
|
|
15
|
+
package only to give the deck a copy of its own, at a version you pick:
|
|
16
|
+
|
|
14
17
|
```bash
|
|
15
18
|
npm install @kadal/theme-crayon
|
|
16
19
|
```
|
|
@@ -25,7 +28,7 @@ themeConfig: # all optional
|
|
|
25
28
|
---
|
|
26
29
|
```
|
|
27
30
|
|
|
28
|
-
The deck plugin brings the stylesheet and the module in; nothing to import. The prebuilt shell (the hosted builder, published decks) bundles this theme already. Schemes: light and dark. Fonts: Fredoka (headings), Nunito (text), Fira Code (code), loaded through the theme's `config.fonts`. Code colours: Shiki's catppuccin-latte / catppuccin-macchiato.
|
|
31
|
+
The deck plugin brings the stylesheet and the module in; nothing to import. The prebuilt shell (the hosted builder, published decks) bundles this theme already. Schemes: light and dark. Fonts: Fredoka (headings), Nunito (text), Fira Code (code), loaded through the theme's `config.fonts`. Code colours: Shiki's catppuccin-latte / catppuccin-macchiato. Every deck's theme menu (<kbd>T</kbd>) offers it already; list it (`themes: [crayon, minimal]`) to put it near the top, load its stylesheet with the deck, and give code its own colours when it is picked.
|
|
29
32
|
|
|
30
33
|
## themeConfig
|
|
31
34
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kadal/theme-crayon",
|
|
3
|
-
"version": "0.4.
|
|
3
|
+
"version": "0.4.9",
|
|
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",
|
|
@@ -53,6 +53,10 @@
|
|
|
53
53
|
"title": "Crayon",
|
|
54
54
|
"description": "A playful pastel theme for workshops and classrooms: rounded shapes, a friendly display face, and sticker-like callouts.",
|
|
55
55
|
"colorScheme": "both",
|
|
56
|
+
"swatch": [
|
|
57
|
+
"#c62f6b",
|
|
58
|
+
"#2f63c9"
|
|
59
|
+
],
|
|
56
60
|
"config": {
|
|
57
61
|
"transition": "slide",
|
|
58
62
|
"fonts": {
|
|
@@ -87,7 +91,7 @@
|
|
|
87
91
|
"test": "bun test"
|
|
88
92
|
},
|
|
89
93
|
"peerDependencies": {
|
|
90
|
-
"@kadal/deck": "^0.4.
|
|
94
|
+
"@kadal/deck": "^0.4.9",
|
|
91
95
|
"react": "^19.2.0"
|
|
92
96
|
},
|
|
93
97
|
"devDependencies": {
|