@teacss/preset-official 0.6.4 → 0.6.6
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 +4 -1
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -13,7 +13,7 @@ no theme tokens. Components use numbered role colors directly:
|
|
|
13
13
|
|
|
14
14
|
Primary creates emphasis. Neutral builds the interface. Semantic colors communicate state.
|
|
15
15
|
|
|
16
|
-
The roles are primary (
|
|
16
|
+
The roles are primary (ink), neutral (gray), focused (follows neutral), success
|
|
17
17
|
(jade), warning (amber), failure (red), and general (blue). Declare available
|
|
18
18
|
palettes centrally with `@primary "red,blue";`, then select with
|
|
19
19
|
`data-css-primary="red"`. Components keep their color classes when the theme changes.
|
|
@@ -23,6 +23,9 @@ surfaces, 500/600/700 for borders, 800/850 for solid fills, and 900/950 for text
|
|
|
23
23
|
Do not add background, hover or component color aliases. Prefer 200 with 950
|
|
24
24
|
text; check 800/850 foreground contrast for each selected palette and mode.
|
|
25
25
|
Existing high-contrast inverted specimens use 900/100 directly.
|
|
26
|
+
Default `ink` makes 800/850 fills near-black in light mode and near-white in
|
|
27
|
+
dark mode; 200 remains a subtle surface. Changing the palette does not change
|
|
28
|
+
which step a component uses. Default neutral surfaces and text come from `gray`.
|
|
26
29
|
Focus outlines use `focused-900` with an explicit style and width. A palette
|
|
27
30
|
selection does not trigger focus. A neutral scrim uses `neutral-950/32`; its tint
|
|
28
31
|
follows the palette and mode. Existing spacing/radius/shadow scales are reused.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@teacss/preset-official",
|
|
3
|
-
"version": "0.6.
|
|
3
|
+
"version": "0.6.6",
|
|
4
4
|
"description": "TeaCSS official structural component preset.",
|
|
5
5
|
"homepage": "https://css.teasim.com",
|
|
6
6
|
"license": "MIT",
|
|
@@ -23,8 +23,8 @@
|
|
|
23
23
|
"prepack": "bun run build"
|
|
24
24
|
},
|
|
25
25
|
"dependencies": {
|
|
26
|
-
"@teacss/core": "0.6.
|
|
27
|
-
"@teacss/preset-standard": "0.6.
|
|
26
|
+
"@teacss/core": "0.6.6",
|
|
27
|
+
"@teacss/preset-standard": "0.6.6"
|
|
28
28
|
},
|
|
29
29
|
"devDependencies": {
|
|
30
30
|
"lightningcss": "^1.33.0"
|