@entifix/style 0.1.0-0 → 0.1.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.
- package/README.md +30 -0
- package/package.json +2 -1
package/README.md
ADDED
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
# @entifix/style
|
|
2
|
+
|
|
3
|
+
Design tokens for Tailwind CSS v4. `tokens.css` declares the token **names** — typeface, spacing, type, radius, shadow, motion, focus, and a semantic `--color-*` contract — with neutral values. An application overrides the **values**, so a component never learns which application it runs in.
|
|
4
|
+
|
|
5
|
+
The default scale is fluid, built for reading. `presets/fixed-scale.css` swaps in a dense, fixed scale for operator screens without changing a single class name.
|
|
6
|
+
|
|
7
|
+
## Install
|
|
8
|
+
|
|
9
|
+
```sh
|
|
10
|
+
pnpm add -D @entifix/style
|
|
11
|
+
```
|
|
12
|
+
|
|
13
|
+
```css
|
|
14
|
+
@import 'tailwindcss';
|
|
15
|
+
@import '@entifix/style/tokens.css';
|
|
16
|
+
@import '@entifix/style/presets/aurora.css'; /* applies under [data-theme='aurora'] */
|
|
17
|
+
```
|
|
18
|
+
|
|
19
|
+
## Files
|
|
20
|
+
|
|
21
|
+
| Import | What it holds |
|
|
22
|
+
| ----------------------------------------------------- | ------------------------------------------------------ |
|
|
23
|
+
| `@entifix/style/tokens.css` | Structural tokens and the color contract — import this |
|
|
24
|
+
| `@entifix/style/presets/fixed-scale.css` | The dense scale, opted into per application |
|
|
25
|
+
| `@entifix/style/presets/{aurora,sunset,midnight}.css` | Palette presets, each scoped to its `[data-theme]` |
|
|
26
|
+
| `@entifix/style/theme.css` | Tokens plus all three palettes, for demos |
|
|
27
|
+
|
|
28
|
+
---
|
|
29
|
+
|
|
30
|
+
Tier 0 (standalone) of entifix — a package depends only on its own tier or below. See [the tiers](https://github.com/r10c-technologies/entifix#the-tiers-and-what-you-are-allowed-to-install). MIT licensed.
|
package/package.json
CHANGED
|
@@ -8,7 +8,8 @@
|
|
|
8
8
|
"tier:0"
|
|
9
9
|
]
|
|
10
10
|
},
|
|
11
|
-
"version": "0.1.
|
|
11
|
+
"version": "0.1.1",
|
|
12
|
+
"description": "Tailwind v4 design tokens and a semantic color contract, with a fluid and a fixed spacing scale and three palette presets.",
|
|
12
13
|
"license": "MIT",
|
|
13
14
|
"repository": {
|
|
14
15
|
"type": "git",
|