@lessonkit/themes 0.6.0 → 0.8.0
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 +6 -3
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,11 +1,14 @@
|
|
|
1
1
|
# `@lessonkit/themes`
|
|
2
2
|
|
|
3
3
|
[](https://github.com/eddiethedean/lessonkit/actions/workflows/ci.yml)
|
|
4
|
+
[](https://lessonkit.readthedocs.io/en/latest/)
|
|
4
5
|
[](https://www.npmjs.com/package/@lessonkit/themes)
|
|
5
|
-
[](
|
|
6
|
+
[](https://github.com/eddiethedean/lessonkit/blob/main/LICENSE)
|
|
6
7
|
|
|
7
8
|
Design tokens and theme utilities for LessonKit.
|
|
8
9
|
|
|
10
|
+
**Docs:** [Theming reference](https://lessonkit.readthedocs.io/en/latest/reference/theming.html) · [Theming & accessibility guide](https://lessonkit.readthedocs.io/en/latest/guides/react-developers/theming-and-accessibility.html)
|
|
11
|
+
|
|
9
12
|
## Install
|
|
10
13
|
|
|
11
14
|
```bash
|
|
@@ -25,7 +28,7 @@ npm install @lessonkit/themes
|
|
|
25
28
|
- `defaultTheme`, `lightTheme`, `darkTheme`, `brandTheme`, `brandThemeOverrides`
|
|
26
29
|
- `getPresetTheme(preset)` — `default` | `light` | `dark` | `brand` (full themes for catalog/validation)
|
|
27
30
|
|
|
28
|
-
In `ThemeProvider`, `preset="default"` uses the mode palette only; `preset="brand"` merges `brandThemeOverrides` onto the active mode (see [
|
|
31
|
+
In `ThemeProvider`, `preset="default"` uses the mode palette only; `preset="brand"` merges `brandThemeOverrides` onto the active mode (see [theming reference](https://lessonkit.readthedocs.io/en/latest/reference/theming.html)).
|
|
29
32
|
|
|
30
33
|
### Utilities
|
|
31
34
|
|
|
@@ -49,4 +52,4 @@ In `ThemeProvider`, `preset="default"` uses the mode palette only; `preset="bran
|
|
|
49
52
|
|
|
50
53
|
## Docs
|
|
51
54
|
|
|
52
|
-
See [
|
|
55
|
+
See the [theming reference](https://lessonkit.readthedocs.io/en/latest/reference/theming.html) for the CSS variable contract and override rules.
|