@nadicodeai/design-system 12.1.284 → 12.1.285
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/AGENTS.md +2 -10
- package/DESIGN.md +100 -452
- package/GLOSSARY.md +1 -1
- package/README.md +7 -7
- package/dist/css/host.css +77 -77
- package/dist/css/index.css +77 -77
- package/dist/css/tokens.css +76 -76
- package/dist/tailwind/nadicode.tailwind.json +71 -71
- package/dist/tokens/nadicode.dtcg-resolved.json +796 -796
- package/dist/tokens/nadicode.dtcg.json +796 -796
- package/guides/brand-media.md +45 -0
- package/guides/data-visualization.md +49 -0
- package/guides/iconography.md +53 -0
- package/guides/registers.md +73 -0
- package/package.json +2 -1
- package/src/assets/house-icons.js +1 -1
- package/src/tokens/extension.tokens.json +1123 -0
package/AGENTS.md
CHANGED
|
@@ -5,17 +5,9 @@ the usage page in its source.
|
|
|
5
5
|
|
|
6
6
|
## What goes in DESIGN.md
|
|
7
7
|
|
|
8
|
-
`DESIGN.md` is nadicode's visual identity in
|
|
8
|
+
`DESIGN.md` is nadicode's lean visual identity in
|
|
9
9
|
[Google's DESIGN.md format](https://github.com/google-labs-code/design.md/blob/main/docs/spec.md):
|
|
10
|
-
four of the format's five token groups in its front matter (colors, typography,
|
|
11
|
-
rounded, spacing), and prose saying how those values look applied, in the
|
|
12
|
-
format's sections (Overview, Colors, Typography, Layout,
|
|
13
|
-
Elevation & Depth, Shapes, Components, Do's and Don'ts) and the ones it adds for
|
|
14
|
-
the same purpose (Data Visualization, Motion, Iconography, Brand media
|
|
15
|
-
authority, Registers). Its Components section says how components look: the
|
|
16
|
-
tokens, materials and states their appearance takes. The format's fifth group,
|
|
17
|
-
`components`, stays empty: each component's look is drawn by its code in
|
|
18
|
-
`@nadicodeai/ui` from these tokens, and a second copy in YAML would drift.
|
|
10
|
+
four of the format's five token groups in its front matter (`colors` for the core foundation tokens, `typography`, `rounded`, `spacing`), prose saying how those values look applied in the format's sections (`Overview`, `Colors`, `Typography`, `Layout`, `Elevation & Depth`, `Shapes`, `Motion`, `Components`, `Do's and Don'ts`), and a `Guides` index linking the four specialist companions shipped under `guides/` (`data-visualization.md`, `iconography.md`, `brand-media.md`, `registers.md`). Its `Components` section says how components look: the tokens, materials and states their appearance takes. The format's fifth group, `components`, stays empty: each component's look is drawn by its code in `@nadicodeai/ui` from these tokens, and a second copy in YAML would drift. The eight 10-step hue scales (`<hue>-100..1000` and `dark-*`) live in `src/tokens/extension.tokens.json` under `core.color` alongside `core.material`, `core.elevation`, `core.motion`, `semantic` and `register.website`.
|
|
19
11
|
|
|
20
12
|
It never says how a component, a composition or a page is built, filled or
|
|
21
13
|
placed, such as what a card's header holds, which composition a page renders or
|