@kadal/theme-lecture 0.4.6 → 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.
Files changed (2) hide show
  1. package/README.md +4 -1
  2. 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: lecture` 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-lecture
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: Source Serif 4 (headings, serif), Source Sans 3 (text), Source Code Pro (code), loaded through the theme's `config.fonts`. Code colours: Shiki's github-light / github-dark-dimmed. To show it beside other themes in the theme menu (<kbd>T</kbd>), list it: `themes: [lecture, minimal]`.
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: Source Serif 4 (headings, serif), Source Sans 3 (text), Source Code Pro (code), loaded through the theme's `config.fonts`. Code colours: Shiki's github-light / github-dark-dimmed. Every deck's theme menu (<kbd>T</kbd>) offers it already; list it (`themes: [lecture, 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-lecture",
3
- "version": "0.4.6",
3
+ "version": "0.4.8",
4
4
  "description": "Lecture, a theme for Kadal Deck (@kadal/deck). An academic theme for lectures and seminars: numbered sections, a course footer, theorem, definition and proof blocks, citations, and print-perfect pages.",
5
5
  "keywords": [
6
6
  "kadal-theme",
@@ -53,6 +53,10 @@
53
53
  "title": "Lecture",
54
54
  "description": "An academic theme for lectures and seminars: numbered sections, a course footer, theorem, definition and proof blocks, citations, and print-perfect pages.",
55
55
  "colorScheme": "both",
56
+ "swatch": [
57
+ "#1f4e8c",
58
+ "#a23b2a"
59
+ ],
56
60
  "config": {
57
61
  "transition": "fade",
58
62
  "fonts": {
@@ -102,7 +106,7 @@
102
106
  "test": "bun test"
103
107
  },
104
108
  "peerDependencies": {
105
- "@kadal/deck": "^0.4.6",
109
+ "@kadal/deck": "^0.4.8",
106
110
  "react": "^19.2.0"
107
111
  },
108
112
  "devDependencies": {