@kadal/theme-swiss 0.4.7 → 0.4.8
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: swiss` 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-swiss
|
|
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: Inter Tight (headings), Inter (text), JetBrains Mono (code), loaded through the theme's `config.fonts`. Code colours: Shiki's min-light / vesper.
|
|
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: Inter Tight (headings), Inter (text), JetBrains Mono (code), loaded through the theme's `config.fonts`. Code colours: Shiki's min-light / vesper. Every deck's theme menu (<kbd>T</kbd>) offers it already; list it (`themes: [swiss, 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-swiss",
|
|
3
|
-
"version": "0.4.
|
|
3
|
+
"version": "0.4.8",
|
|
4
4
|
"description": "Swiss, a theme for Kadal Deck (@kadal/deck). A bold International-style theme for design talks: huge grotesk headings on a strict twelve-column grid, one signal colour.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"kadal-theme",
|
|
@@ -53,6 +53,10 @@
|
|
|
53
53
|
"title": "Swiss",
|
|
54
54
|
"description": "A bold International-style theme for design talks: huge grotesk headings on a strict twelve-column grid, one signal colour.",
|
|
55
55
|
"colorScheme": "both",
|
|
56
|
+
"swatch": [
|
|
57
|
+
"#d70017",
|
|
58
|
+
"#111111"
|
|
59
|
+
],
|
|
56
60
|
"config": {
|
|
57
61
|
"transition": "fade",
|
|
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.8",
|
|
91
95
|
"react": "^19.2.0"
|
|
92
96
|
},
|
|
93
97
|
"devDependencies": {
|