@cascivo/themes 0.2.11 → 0.3.1

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/package.json +2 -2
  2. package/src/all.css +5 -3
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cascivo/themes",
3
- "version": "0.2.11",
3
+ "version": "0.3.1",
4
4
  "private": false,
5
5
  "description": "First-party cascivo themes: light, dark, warm, flat, minimal, midnight, pastel, brutalist, corporate, terminal, cyberpunk, arcade",
6
6
  "keywords": [
@@ -66,7 +66,7 @@
66
66
  "@types/node": "^25",
67
67
  "typescript": "^5",
68
68
  "vite-plus": "^0.2.1",
69
- "@cascivo/tokens": "0.3.8"
69
+ "@cascivo/tokens": "0.4.1"
70
70
  },
71
71
  "peerDependencies": {
72
72
  "@cascivo/tokens": ">=0.2.0"
package/src/all.css CHANGED
@@ -8,10 +8,12 @@
8
8
  below also self-import @cascivo/tokens for standalone use; bundlers and
9
9
  browsers dedupe the identical @import URL, so tokens are still emitted once.
10
10
 
11
- Layer order (first appearance, lowest → highest priority):
12
- cascivo.tokens < cascivo.base < cascivo.theme ( < cascivo.component )
13
- Component CSS (@cascivo/react/styles.css) adds cascivo.component on top. */
11
+ Canonical layer order (lowest → highest priority) — see @cascivo/tokens/layers.css:
12
+ cascivo.reset < cascivo.base < cascivo.tokens < cascivo.component < cascivo.theme < cascivo.override
13
+ The order statement is emitted first (below, and again transitively via
14
+ @cascivo/tokens); identical @layer statements are idempotent. */
14
15
 
16
+ @import '@cascivo/tokens/layers.css';
15
17
  @import '@cascivo/tokens';
16
18
  @import '@cascivo/tokens/properties.css';
17
19
  @import './base.css';