@ptlm-azulejo/themes 1.2.0-alpha.76 → 1.2.1-alpha.77

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 (3) hide show
  1. package/CHANGELOG.md +14 -0
  2. package/README.md +10 -1
  3. package/package.json +1 -1
package/CHANGELOG.md CHANGED
@@ -1,5 +1,19 @@
1
1
  # @ptlm-azulejo/themes
2
2
 
3
+ ## 1.2.1
4
+
5
+ ### Patch Changes
6
+
7
+ - e5341cd: Documentation. Every package README now spells out both brands end to end instead
8
+ of showing one snippet with an "or" comment: which preset stylesheet to import,
9
+ which `.preset-*` class goes on `<html>` to select the theme at runtime,
10
+ `data-theme` for light/dark, and which font package the project needs (Leroy
11
+ Merlin → `@ptlm-azulejo/fonts-leroy-merlin`, Adeo → `@ptlm-azulejo/fonts-adeo`).
12
+
13
+ No component behaviour, prop or token changed. The patch bump exists because npm
14
+ ships `README.md` inside the tarball and renders it as the package page, so the
15
+ corrected instructions only reach consumers on a release.
16
+
3
17
  ## 1.2.0
4
18
 
5
19
  ### Minor Changes
package/README.md CHANGED
@@ -41,8 +41,17 @@ Install the component and the theme packages, then in the app's entry point
41
41
  import **a brand preset** (it already bundles `base.css`) and the **component
42
42
  styles**:
43
43
 
44
+ **Leroy Merlin projects**
45
+
46
+ ```js
47
+ import '@ptlm-azulejo/themes/presets/leroy-merlin.css' // includes base.css
48
+ import '@ptlm-azulejo/button/style.css'
49
+ ```
50
+
51
+ **Adeo projects**
52
+
44
53
  ```js
45
- import '@ptlm-azulejo/themes/presets/leroy-merlin.css' // or /presets/adeo.css — includes base.css
54
+ import '@ptlm-azulejo/themes/presets/adeo.css' // includes base.css
46
55
  import '@ptlm-azulejo/button/style.css'
47
56
  ```
48
57
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ptlm-azulejo/themes",
3
- "version": "1.2.0-alpha.76",
3
+ "version": "1.2.1-alpha.77",
4
4
  "description": "Multi-brand theme tokens (Leroy Merlin, Adeo) for the @ptlm-azulejo components, aligned with the Mozaic Design System.",
5
5
  "type": "module",
6
6
  "exports": {