@skirbi/pinta 0.0.17 → 0.0.18

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/Changes CHANGED
@@ -1,5 +1,9 @@
1
1
  Revision history for @skirbi/pinta
2
2
 
3
+ 0.0.18 2026-06-17 15:07:54Z
4
+
5
+ * Add CSS nesting to core so it is easier to read and expand
6
+
3
7
  0.0.17 2026-06-05 03:56:29Z
4
8
 
5
9
  * Real live tests with a project adds CSS and sane defaults (part deux)
package/README.md CHANGED
@@ -114,7 +114,7 @@ makes things easier.
114
114
  Pinta defines stable layer order:
115
115
 
116
116
  ```css
117
- @layer skirbi-base, skirbi-theme, skirbi-components;
117
+ @layer skirbi-base, skirbi-theme, skirbi-transform, skirbi-components, skirbi-app;
118
118
  ```
119
119
 
120
120
  Meaning:
@@ -132,10 +132,18 @@ Meaning:
132
132
  * tokens
133
133
  * theme overrides
134
134
 
135
+ * `skirbi-transform`
136
+
137
+ * color derivations and background transforms
138
+
135
139
  * `skirbi-components`
136
140
 
137
141
  * light component recipes for Semtic elements
138
142
 
143
+ * `skirbi-app`
144
+
145
+ * app-specific overrides, always wins over components
146
+
139
147
  Theme authors should override in:
140
148
 
141
149
  ```css
@@ -209,6 +217,29 @@ Helper colors exist for supporting accents.
209
217
  These intentionally do not expose full family contracts. They are currently
210
218
  included, but unused. Component authors may be able to use them if needed.
211
219
 
220
+ # Button tokens
221
+
222
+ ````css
223
+ --skirbi-button-radius
224
+ --skirbi-button-lead-bg
225
+ --skirbi-button-lead-color
226
+ --skirbi-button-lead-hover-bg
227
+ --skirbi-button-support-bg
228
+ --skirbi-button-support-color
229
+ --skirbi-button-support-border
230
+ --skirbi-button-extra-bg
231
+ --skirbi-button-extra-color
232
+ --skirbi-button-extra-border
233
+ --skirbi-button-antagonist-bg
234
+ --skirbi-button-antagonist-color
235
+ --skirbi-button-antagonist-border
236
+ ````
237
+
238
+ # Visual tokens
239
+
240
+ ```css
241
+ --skirbi-divider-image /* background-image for semtic-divider */
242
+ ```
212
243
 
213
244
  # Background transforms
214
245
 
@@ -294,7 +325,6 @@ Examples:
294
325
  * `semtic-sidenav`
295
326
  * `semtic-table`
296
327
  * `semtic-aside`
297
- * `semtic-article-card`
298
328
 
299
329
  These recipes are intentionally conservative and easy to override.
300
330
 
@@ -311,14 +341,6 @@ Semtic ships minimal layout primitives:
311
341
 
312
342
  These are structural primitives, not utility APIs.
313
343
 
314
- Pinta provides light defaults only.
315
-
316
- Example:
317
-
318
- ```html
319
- <semtic-grid semtic-columns="3">
320
- ```
321
-
322
344
  Use normal CSS for:
323
345
 
324
346
  * spacing
@@ -326,6 +348,16 @@ Use normal CSS for:
326
348
  * responsiveness
327
349
  * composition
328
350
 
351
+ Pinta provides light defaults only.
352
+
353
+ Example:
354
+
355
+ ````html
356
+ <semtic-grid player-details>
357
+ ````
358
+
359
+ Use normal CSS for `semtic-grid[player-details]` to define columns.
360
+
329
361
 
330
362
  # Accessibility defaults
331
363
 
package/lib/index.mjs CHANGED
@@ -2,4 +2,4 @@
2
2
  //
3
3
  // SPDX-License-Identifier: MIT
4
4
 
5
- const VERSION = "0.0.17";
5
+ const VERSION = "0.0.18";