@reqvire-org/ads 0.3.45 → 0.3.47
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 +23 -11
- package/dist/a11y.mjs +102 -0
- package/dist/assets.mjs +37 -8
- package/dist/atomic-composition.mjs +3 -2
- package/dist/brand-assets.mjs +48 -11
- package/dist/brands.mjs +82 -0
- package/dist/browser-audit/worker.mjs +45 -0
- package/dist/browser-audit.mjs +117 -0
- package/dist/capture/worker.mjs +2 -1
- package/dist/capture-store.mjs +4 -1
- package/dist/capture.mjs +10 -4
- package/dist/check.mjs +40 -9
- package/dist/cli.mjs +55 -8
- package/dist/color-values.mjs +325 -0
- package/dist/config.mjs +19 -2
- package/dist/contracts/tokens.json +1 -1
- package/dist/control-padding.mjs +93 -0
- package/dist/design-values.mjs +11 -4
- package/dist/finding-rules.mjs +61 -0
- package/dist/foundation.mjs +17 -1
- package/dist/icons.mjs +107 -0
- package/dist/init.mjs +3 -0
- package/dist/mcp/apps.mjs +9 -6
- package/dist/mcp/drafts.mjs +3 -0
- package/dist/mcp/mutations.mjs +17 -1
- package/dist/mcp/preview-widget.bundle.js +45 -39
- package/dist/mcp/project-widget.bundle.js +26 -26
- package/dist/mcp/server.mjs +23 -9
- package/dist/mcp/widget.bundle.js +17 -17
- package/dist/palette-generated.mjs +180 -0
- package/dist/preview-resources.mjs +12 -3
- package/dist/render-color-probe.mjs +148 -0
- package/dist/runtime-contracts.mjs +14 -4
- package/dist/scenarios.mjs +1 -1
- package/dist/showcase/client.bundle.js +28 -28
- package/dist/showcase/icons.js +146 -0
- package/dist/showcase/index.html +2 -1
- package/dist/showcase/style.css +19 -2
- package/dist/skills/README.md +2 -1
- package/dist/skills/ads-break-ui/SKILL.md +6 -5
- package/dist/skills/ads-break-ui/references/atomic-styles.md +12 -12
- package/dist/skills/ads-break-ui/references/captures.md +3 -2
- package/dist/skills/ads-break-ui/references/contracts.md +13 -10
- package/dist/skills/ads-break-ui/references/design-data.md +199 -2
- package/dist/skills/ads-break-ui/references/validation.md +8 -4
- package/dist/skills/ads-designer/SKILL.md +32 -15
- package/dist/skills/ads-designer/references/accessibility.md +77 -0
- package/dist/skills/ads-designer/references/atomic-styles.md +12 -12
- package/dist/skills/ads-designer/references/branding.md +61 -6
- package/dist/skills/ads-designer/references/captures.md +3 -2
- package/dist/skills/ads-designer/references/cli.md +8 -2
- package/dist/skills/ads-designer/references/contracts.md +13 -10
- package/dist/skills/ads-designer/references/design-data.md +199 -2
- package/dist/skills/ads-designer/references/validation.md +8 -4
- package/dist/skills/ads-import/SKILL.md +9 -8
- package/dist/skills/ads-import/references/atomic-styles.md +12 -12
- package/dist/skills/ads-import/references/captures.md +3 -2
- package/dist/skills/ads-import/references/cli.md +8 -2
- package/dist/skills/ads-import/references/contracts.md +13 -10
- package/dist/skills/ads-import/references/design-data.md +199 -2
- package/dist/skills/ads-import/references/tokens.md +7 -3
- package/dist/skills/ads-import/references/validation.md +8 -4
- package/dist/skills/ads-motion/SKILL.md +6 -5
- package/dist/skills/ads-motion/references/atomic-styles.md +12 -12
- package/dist/skills/ads-motion/references/build.md +33 -0
- package/dist/skills/ads-motion/references/captures.md +3 -2
- package/dist/skills/ads-motion/references/contracts.md +13 -10
- package/dist/skills/ads-motion/references/design-data.md +199 -2
- package/dist/skills/ads-motion/references/motion-review.md +2 -2
- package/dist/skills/ads-motion/references/validation.md +8 -4
- package/dist/skills/ads-port/SKILL.md +6 -5
- package/dist/skills/ads-port/references/atomic-styles.md +12 -12
- package/dist/skills/ads-port/references/captures.md +3 -2
- package/dist/skills/ads-port/references/cli.md +8 -2
- package/dist/skills/ads-port/references/contracts.md +13 -10
- package/dist/skills/ads-port/references/design-data.md +199 -2
- package/dist/skills/ads-port/references/validation.md +8 -4
- package/dist/starters/preact/design-system/components/Layout/Grid/Grid.tsx +76 -0
- package/dist/starters/preact/design-system/review/token-preview/TokenPreview.tsx +19 -1
- package/dist/starters/preact/ds.config.json +13 -1
- package/dist/starters/react/ADS.md +43 -10
- package/dist/starters/react/README.md +61 -9
- package/dist/starters/react/design-system/assets/brand/README.md +8 -3
- package/dist/starters/react/design-system/assets/glyphs/README.md +15 -0
- package/dist/starters/react/design-system/assets/glyphs/aliases.json +1 -0
- package/dist/starters/react/design-system/assets/glyphs/check.svg +1 -0
- package/dist/starters/react/design-system/assets/glyphs/chevron-down.svg +1 -0
- package/dist/starters/react/design-system/assets/glyphs/chevron-right.svg +1 -0
- package/dist/starters/react/design-system/assets/glyphs/close.svg +1 -0
- package/dist/starters/react/design-system/assets/glyphs/external-link.svg +1 -0
- package/dist/starters/react/design-system/assets/glyphs/info.svg +1 -0
- package/dist/starters/react/design-system/assets/glyphs/menu.svg +1 -0
- package/dist/starters/react/design-system/assets/glyphs/plus.svg +1 -0
- package/dist/starters/react/design-system/assets/glyphs/search.svg +1 -0
- package/dist/starters/react/design-system/assets/glyphs/warning.svg +1 -0
- package/dist/starters/react/design-system/components/Actions/Button/Button.tsx +11 -4
- package/dist/starters/react/design-system/components/Actions/IconButton/IconButton.ads.fixture.ts +9 -0
- package/dist/starters/react/design-system/components/Actions/IconButton/IconButton.ads.scenario.tsx +16 -0
- package/dist/starters/react/design-system/components/Actions/IconButton/IconButton.tsx +44 -0
- package/dist/starters/react/design-system/components/Actions/IconButton/README.md +14 -0
- package/dist/starters/react/design-system/components/Content/Icon/Icon.ads.fixture.ts +6 -0
- package/dist/starters/react/design-system/components/Content/Icon/Icon.ads.scenario.tsx +16 -0
- package/dist/starters/react/design-system/components/Content/Icon/Icon.tsx +42 -0
- package/dist/starters/react/design-system/components/Content/Icon/README.md +17 -0
- package/dist/starters/react/design-system/components/Content/Icon/glyphs.ts +17 -0
- package/dist/starters/react/design-system/components/Content/Logo/Logo.tsx +3 -9
- package/dist/starters/react/design-system/components/Content/Logo/README.md +4 -2
- package/dist/starters/react/design-system/components/Forms/TextField/TextField.tsx +9 -5
- package/dist/starters/react/design-system/components/Layout/Grid/Grid.ads.fixture.ts +12 -0
- package/dist/starters/react/design-system/components/Layout/Grid/Grid.ads.scenario.tsx +17 -0
- package/dist/starters/react/design-system/components/Layout/Grid/Grid.tsx +75 -0
- package/dist/starters/react/design-system/components/Layout/Grid/README.md +21 -0
- package/dist/starters/react/design-system/controllers/Palette/Palette.ts +164 -0
- package/dist/starters/react/design-system/index.ts +6 -0
- package/dist/starters/react/design-system/review/brand-preview/BrandPreview.tsx +2 -5
- package/dist/starters/react/design-system/review/grid-cell/GridCell.tsx +18 -0
- package/dist/starters/react/design-system/review/index.ts +1 -0
- package/dist/starters/react/design-system/review/token-preview/TokenPreview.tsx +19 -1
- package/dist/starters/react/design-system/styles.css +1 -0
- package/dist/starters/react/design-system/tokens/Color.ads.fixture.ts +114 -8
- package/dist/starters/react/design-system/tokens/Layout.ads.fixture.ts +23 -0
- package/dist/starters/react/design-system/tokens/{SpaceTypeMotion.ads.scenario.tsx → Layout.ads.scenario.tsx} +1 -1
- package/dist/starters/react/design-system/tokens/Motion.ads.fixture.ts +18 -0
- package/dist/starters/react/design-system/tokens/Motion.ads.scenario.tsx +4 -0
- package/dist/starters/react/design-system/tokens/Shape.ads.fixture.ts +30 -0
- package/dist/starters/react/design-system/tokens/Shape.ads.scenario.tsx +4 -0
- package/dist/starters/react/design-system/tokens/Space.ads.fixture.ts +37 -0
- package/dist/starters/react/design-system/tokens/Space.ads.scenario.tsx +4 -0
- package/dist/starters/react/design-system/tokens/Type.ads.fixture.ts +29 -0
- package/dist/starters/react/design-system/tokens/Type.ads.scenario.tsx +4 -0
- package/dist/starters/react/design-system/tokens/base.css +9 -3
- package/dist/starters/react/design-system/tokens/colors.css +210 -24
- package/dist/starters/react/design-system/tokens/elevation.css +44 -6
- package/dist/starters/react/design-system/tokens/spacing.css +67 -3
- package/dist/starters/react/design-system/tokens/themes.generated.css +142 -0
- package/dist/starters/react/design-system/tokens/themes.generated.ts +402 -0
- package/dist/starters/react/design-system/tokens/typography.css +25 -7
- package/dist/starters/react/ds.config.json +13 -1
- package/dist/style-boundaries.mjs +2 -1
- package/dist/themes-generated.mjs +150 -0
- package/dist/themes-watch.mjs +42 -0
- package/dist/themes.mjs +257 -0
- package/dist/token-export.mjs +69 -0
- package/dist/token-policy.mjs +2 -1
- package/dist/token-quality.mjs +112 -0
- package/dist/tokens.mjs +32 -30
- package/dist/validation.mjs +18 -1
- package/dist/verification/browser.mjs +14 -3
- package/docs/ADS.md +56 -13
- package/docs/ARCHITECTURE.md +82 -10
- package/docs/CACHING.md +2 -3
- package/docs/CHANGELOG.md +149 -13
- package/docs/CONTRACTS.md +13 -10
- package/docs/GUIDE.md +104 -8
- package/docs/MCP.md +46 -27
- package/docs/benchmarks/bun-previews.md +5 -5
- package/docs/benchmarks/{gidi-preview-memory.md → preview-memory.md} +14 -12
- package/docs/benchmarks/turbo-poc.md +24 -6
- package/package.json +2 -1
- package/dist/starters/react/design-system/tokens/SpaceTypeMotion.ads.fixture.ts +0 -36
package/docs/GUIDE.md
CHANGED
|
@@ -573,9 +573,9 @@ are collapsible and sorted alphabetically within each layer. Existing flat
|
|
|
573
573
|
projects continue to work without moving files. Tokens retain their categories.
|
|
574
574
|
|
|
575
575
|
Token scenarios live beside foundation CSS under the configured token directory.
|
|
576
|
-
The starter groups its tokens in `tokens/Color
|
|
577
|
-
`
|
|
578
|
-
|
|
576
|
+
The starter groups its tokens in six scenarios (`tokens/Color`, `Type`, `Space`, `Shape`,
|
|
577
|
+
`Motion`, `Layout`), each with its local fixture, for a project-owned token review
|
|
578
|
+
renderer. Keep its presentation in development-only `review/`:
|
|
579
579
|
|
|
580
580
|
```tsx
|
|
581
581
|
import { TokenSamples } from "@ds/review";
|
|
@@ -639,12 +639,12 @@ component state variables.
|
|
|
639
639
|
|
|
640
640
|
Keep original artwork (SVG masters, finished PNG/JPEG/WebP images, delivered
|
|
641
641
|
`.ico`/`.icns` files, in any mix) and a usage/credits/license README in
|
|
642
|
-
`design-system/assets/brand/`, and font files in `assets/fonts/`. `ads check`
|
|
642
|
+
`design-system/assets/brand/`, and font files in `assets/fonts/`. `ads check` fails
|
|
643
643
|
when artwork is undescribed in that README (`brand-readme`), the README states no
|
|
644
644
|
license (`brand-license`), artwork is missing from a Brand preview
|
|
645
|
-
(`brand-preview`),
|
|
646
|
-
`<name>.dark.svg`; the component showing it renders both and
|
|
647
|
-
|
|
645
|
+
(`brand-preview`), and lists artwork nothing uses for review (`brand-unused`). Name a dark-theme variant
|
|
646
|
+
`<name>.dark.svg`; the component showing it renders both and shows each with a display switch
|
|
647
|
+
(`display: var(--display-dark, block)`). Brand previews are the showcase's first
|
|
648
648
|
section, **Brand**: scenarios in `brand/`, grouped by folder like components (the
|
|
649
649
|
starter's `brand/Identity/Logo` and `brand/Icons/AppIcon` with the review
|
|
650
650
|
`BrandPreview`). They show artwork in the current theme and the app icon at its
|
|
@@ -652,7 +652,8 @@ sizes, and have no token samples. A finished image renders only at or below its
|
|
|
652
652
|
pixel size; ADS never enlarges it. The [branding guide](../skills/ads-designer/references/branding.md)
|
|
653
653
|
(`ads://guides/branding`) covers the whole flow. Font declarations
|
|
654
654
|
belong in optional `tokens/fonts.css`, imported first. The foundation entry is
|
|
655
|
-
import-only: fonts (when present), colors, typography, spacing, elevation, base
|
|
655
|
+
import-only: fonts (when present), colors, typography, spacing, elevation, base,
|
|
656
|
+
themes.generated.css.
|
|
656
657
|
Fixed artwork colors and geometry are permitted inside SVG assets; they do not
|
|
657
658
|
permit raw visual values in component or pattern styles.
|
|
658
659
|
|
|
@@ -719,6 +720,100 @@ nothing. Commit outputs and the manifest together.
|
|
|
719
720
|
"attributes": { "fill": "none", "stroke": "currentColor" } }`. Each SVG becomes
|
|
720
721
|
`glyphs[name]` with missing root attributes added; `aliases.json` beside them
|
|
721
722
|
becomes `glyphAliases`. `ads assets` writes it and `ads check` fails when it is stale.
|
|
723
|
+
Other products' logos are not brand artwork or glyphs: keep them, in their own
|
|
724
|
+
colors and under their owners' trademark and usage terms, in `assets/logos/` and
|
|
725
|
+
show them as images (a CSS mask over `currentColor` for a muted use); ADS generates
|
|
726
|
+
and checks nothing there.
|
|
727
|
+
|
|
728
|
+
### Tokens, grid, icons and accessibility
|
|
729
|
+
|
|
730
|
+
`ads create` starts from a token foundation in six groups (Color, Type, Space &
|
|
731
|
+
sizing, Shape & elevation, Motion, Layout) whose roles meet WCAG 2.2 AA in both themes,
|
|
732
|
+
a container-query `Grid` on the grid tokens, and an icon set with `Icon` and
|
|
733
|
+
`IconButton`. Keep the token names and change values to brand a project.
|
|
734
|
+
|
|
735
|
+
`ads check` reports two kinds of finding. **Errors** fail `ads check`, validation and
|
|
736
|
+
acceptance: contrast per theme and brand (`token-contrast`), the 2 px spacing rhythm
|
|
737
|
+
(`token-rhythm`), accessibility from tokens and source (`a11y-target-size`, `a11y-focus`,
|
|
738
|
+
`a11y-text-resize`, `a11y-reduced-motion`, `a11y-text-spacing`, `a11y-image-alt`,
|
|
739
|
+
`a11y-icon-label`), glyph sets (`glyph-viewbox`, `glyph-color`), control padding
|
|
740
|
+
(`control-padding`: a control sized with `--control-height-<size>` pads its sides with
|
|
741
|
+
`--control-padding-<size>`, or `--control-inset` inside a track), and the theme, brand and
|
|
742
|
+
brand-artwork rules below. **Review items** never block; each names something only a person
|
|
743
|
+
can judge: `atomic-composition-review`, `token-overlap-review`, `pointer-capture-review`,
|
|
744
|
+
`scenario-exercise-review`, `a11y-keyboard`, `brand-unused` and `render-color-probe`.
|
|
745
|
+
**Info** items (`atomic-composition-limit`) note an analysis limit. There is no setting that
|
|
746
|
+
changes a finding's kind. The showcase's grid button overlays the project's grid on every
|
|
747
|
+
preview, and its **Icons** tab shows the glyph set: every glyph at the size used beside
|
|
748
|
+
text, each one on its grid at every `--icon-*` size with its aliases and glyph errors, and
|
|
749
|
+
the logos in `assets/logos/` in color and muted.
|
|
750
|
+
|
|
751
|
+
`ads audit` adds a rendered check: axe-core (WCAG A/AA rules) in every component, pattern
|
|
752
|
+
and composition scenario, once per declared brand and theme (`--scenario`, `--theme` and
|
|
753
|
+
`--brand` narrow it). Each violation is an `a11y-axe` error naming the axe rule, WCAG
|
|
754
|
+
criterion, themes and brands, failing elements and help link, and `ads audit` exits 1. It
|
|
755
|
+
needs the project's Playwright and browser, as captures do; `browserAudit: true` in a
|
|
756
|
+
validation or acceptance policy runs it there too.
|
|
757
|
+
`ads tokens --format dtcg` exports the tokens as W3C Design Tokens JSON for design tools
|
|
758
|
+
(`--theme <name>` and `--brand <name>` select one context).
|
|
759
|
+
|
|
760
|
+
`themes` in `ds.config.json` declares the themes (a name and the color scheme for native
|
|
761
|
+
controls; the first is the default), and the optional `brands` the brands (the first is the
|
|
762
|
+
default). `data-theme="<name>"` and `data-brand="<name>"` on `<html>` theme the page, on any
|
|
763
|
+
element one section; each element follows its nearest theme and its nearest brand, at any
|
|
764
|
+
nesting depth, in every browser with CSS variables.
|
|
765
|
+
|
|
766
|
+
Write a token that differs per theme as one plain value per theme, named with the theme as
|
|
767
|
+
suffix, on `:root`:
|
|
768
|
+
|
|
769
|
+
```css
|
|
770
|
+
:root {
|
|
771
|
+
--color-accent-9-light: oklch(55% .2 280);
|
|
772
|
+
--color-accent-9-dark: oklch(70% .16 280);
|
|
773
|
+
--bg-canvas-light: var(--slate-1-light); /* a half refers to halves */
|
|
774
|
+
--bg-canvas-dark: var(--slate-2-dark);
|
|
775
|
+
--accent: var(--color-accent-9); /* single values stay single */
|
|
776
|
+
}
|
|
777
|
+
[data-brand="acme"] { /* a brand sets its own halves */
|
|
778
|
+
--color-accent-9-light: oklch(55% .2 25);
|
|
779
|
+
--color-accent-9-dark: oklch(70% .16 25);
|
|
780
|
+
}
|
|
781
|
+
```
|
|
782
|
+
|
|
783
|
+
ADS generates `tokens/themes.generated.css` from these halves and the declared themes and
|
|
784
|
+
brands: theme switches and one resolver per themed token. It is the last foundation import;
|
|
785
|
+
commit it and never edit it. `ads assets`, the showcase and the MCP server write it, the
|
|
786
|
+
showcase and MCP server again whenever tokens or `ds.config.json` change; `ads check` fails
|
|
787
|
+
when it is missing or out of date (`themes-generated`).
|
|
788
|
+
|
|
789
|
+
The generated file also defines display switches: `--display-<theme>` and, with brands,
|
|
790
|
+
`--display-brand-<brand>`, each `none` outside its nearest theme or brand. Show
|
|
791
|
+
theme- or brand-specific content with `display: var(--display-dark, block)`.
|
|
792
|
+
`"followSystemTheme": true` makes a page without `data-theme` take the first declared theme
|
|
793
|
+
whose scheme matches the OS `prefers-color-scheme`; an explicit `data-theme` wins.
|
|
794
|
+
|
|
795
|
+
Beside it ADS generates `tokens/themes.generated.ts`, written, checked and kept current
|
|
796
|
+
together with the CSS: every color token resolved for every theme and brand as `{ css, rgba }`
|
|
797
|
+
for Canvas, WebGL and SVG renderers. The starter's `controllers/Palette` reads it:
|
|
798
|
+
`paletteFor(element)` (the nearest theme and brand's palette), `observePalette(element,
|
|
799
|
+
callback)` (once per theme or brand change) and `resolveColor(element, value)` (a non-token
|
|
800
|
+
color, cached, without inserting elements). `render-color-probe` (review) flags color reads
|
|
801
|
+
from the page inside per-item render callbacks. The same module exports `themed({ light,
|
|
802
|
+
dark, … })` and `themedByScheme({ light, dark })` for per-theme values that come from data at
|
|
803
|
+
runtime; `light-dark()` is an error in token sheets, component CSS and component string
|
|
804
|
+
literals (`theme-light-dark`).
|
|
805
|
+
|
|
806
|
+
Errors: a token value set under `[data-theme]`, `prefers-color-scheme` or a combined brand
|
|
807
|
+
selector (`theme-old-form`); a component or pattern styled by a `[data-theme]` or
|
|
808
|
+
`[data-brand]` ancestor selector (`theme-selector`); a themed token without a half for every theme
|
|
809
|
+
(`theme-coverage`); a token set both as one value and as halves (`theme-half-conflict`); a
|
|
810
|
+
half that refers to a theme-following token instead of its half (`theme-half-reference`); a
|
|
811
|
+
lone half (`theme-new-token`); themes without any halves (`theme-empty`); an undeclared
|
|
812
|
+
brand name (`brand-undeclared`); a brand that gives a theme-following token one value
|
|
813
|
+
(`brand-theme-value`) or only some of its halves or ramp steps (`brand-coverage`); a token
|
|
814
|
+
only a brand defines (`brand-new-token`); a declared brand without values (`brand-empty`).
|
|
815
|
+
See the [token guide](../skills/ads-designer/references/design-data.md) and the
|
|
816
|
+
[accessibility guide](../skills/ads-designer/references/accessibility.md).
|
|
722
817
|
|
|
723
818
|
Initialized builds run:
|
|
724
819
|
|
|
@@ -886,6 +981,7 @@ inspection errors fail the check. These guards read files and never delete them.
|
|
|
886
981
|
"reviewEntry": "review/index.ts",
|
|
887
982
|
"stylesEntry": "styles.css",
|
|
888
983
|
"tokenDir": "tokens",
|
|
984
|
+
"themes": [{ "name": "light", "scheme": "light" }, { "name": "dark", "scheme": "dark" }],
|
|
889
985
|
"inlineStyleFiles": [],
|
|
890
986
|
"oxlint": { "plugins": [], "rules": {} }
|
|
891
987
|
}
|
package/docs/MCP.md
CHANGED
|
@@ -182,11 +182,15 @@ The website binds to 127.0.0.1 and accepts its own origin only. It serves packag
|
|
|
182
182
|
client assets and MCP, with no arbitrary file reader or command launcher.
|
|
183
183
|
Shutdown closes both transports, subscriptions and the managed compiler.
|
|
184
184
|
|
|
185
|
-
The shell is minimal: header, section tabs, collapsible left menu, theme
|
|
186
|
-
|
|
185
|
+
The shell is minimal: header, section tabs, collapsible left menu, a theme button that
|
|
186
|
+
steps through the project's declared themes (`ads_status.themes`), a brand selector beside
|
|
187
|
+
it when the project declares brands (`ads_status.brands`),
|
|
188
|
+
status/diagnostics when needed, and the App slot. The Icons tab (shown when the project has
|
|
189
|
+
a glyph set) renders `ads://project/icons` natively: the glyph set, each glyph on its grid
|
|
190
|
+
at every icon size with aliases and glyph errors, and the logos in `assets/logos/`. Its MCP client does discovery,
|
|
187
191
|
tool calls, resource forwarding and notification handling. Token categories come
|
|
188
|
-
from `ads_tokens.categories` (discovered token scenarios);
|
|
189
|
-
|
|
192
|
+
from `ads_tokens.categories` (discovered token scenarios); every scenario section also
|
|
193
|
+
comes from the same `ads_scenarios` registry.
|
|
190
194
|
It invokes the selected App tool and uses the official Apps bridge to render its
|
|
191
195
|
HTML in an opaque sandbox. Project UI is never imported into the shell.
|
|
192
196
|
|
|
@@ -330,7 +334,9 @@ open one of its returned preview IDs with `ads_show_scenario`. Results link to
|
|
|
330
334
|
the owning source and guides; `ads_scenarios` lists available previews.
|
|
331
335
|
|
|
332
336
|
`ads_tokens` inspects definitions and values. `ads_show_tokens` renders the
|
|
333
|
-
project's token scenarios.
|
|
337
|
+
project's token scenarios. `ads_scenarios` also lists brand previews (`kind: "brand"`,
|
|
338
|
+
scenarios in `brand/`), which open with `ads_show_scenario` and lead the showcase. For
|
|
339
|
+
design tools, the CLI's `ads tokens --format dtcg` exports W3C Design Tokens JSON. If the client cannot render Apps, use the returned
|
|
334
340
|
showcase URL. Build reports identify current, stale and failed output; browser
|
|
335
341
|
review and project checks still verify behavior.
|
|
336
342
|
|
|
@@ -377,27 +383,31 @@ public exports from `components/`, `patterns/` and `controllers/`; it does not e
|
|
|
377
383
|
guess component props. Read the exported API and owning guide. An export name
|
|
378
384
|
alone does not prove that a preview renders that particular element.
|
|
379
385
|
|
|
380
|
-
`ads://project/status`, `/build`, `/tokens`, `/catalog`, `/scenarios` and
|
|
381
|
-
carry project JSON detail. Behavior discovery, execution outcomes and investigation
|
|
386
|
+
`ads://project/status`, `/build`, `/tokens`, `/icons`, `/catalog`, `/scenarios` and
|
|
387
|
+
`/checks` carry project JSON detail. Behavior discovery, execution outcomes and investigation
|
|
382
388
|
details are paged; their resource reads use the same bounds as their tools. Allowed project documentation/source and skill files are separate
|
|
383
389
|
resources. No arbitrary filesystem reader is exposed. Prefer bounded tools for
|
|
384
390
|
large catalogues; explicit resource reads can enter model context and a client
|
|
385
391
|
may truncate large payloads.
|
|
386
392
|
|
|
387
|
-
`ads_check` and `ads://project/checks` return
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
393
|
+
`ads_check` and `ads://project/checks` return errors under `diagnostics` (they fail the
|
|
394
|
+
check) and review items under `advisories` with `severity: "review"` (they never block),
|
|
395
|
+
then informational limits with `severity: "info"`; `summary` counts errors and review
|
|
396
|
+
items. Every finding id has one class (error, review or info), and no configuration changes
|
|
397
|
+
it.
|
|
398
|
+
|
|
399
|
+
Atomic composition review items (`atomic-composition-review`) carry related source
|
|
400
|
+
declarations and `guidanceUri: "ads://guides/atomic-styles"`. Read that guide for causes
|
|
401
|
+
and component-level fixes. The full guide lives in every ADS skill as
|
|
391
402
|
`references/atomic-styles.md` for standalone clients; MCP serves the packaged
|
|
392
403
|
[skill-local reference](../skills/ads-designer/references/atomic-styles.md).
|
|
393
|
-
Guarded mutation results preserve
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
Warnings can carry a `composition` source path, a statically reached DOM `target`
|
|
404
|
+
Guarded mutation results preserve review items without rejecting valid source; failed
|
|
405
|
+
registered rendered checks remain blocking.
|
|
406
|
+
Review items can carry a `composition` source path, a statically reached DOM `target`
|
|
397
407
|
and `writingModeDependent`. Unresolved paths appear as bounded
|
|
398
408
|
`atomic-composition-limit` advisories with `severity: "info"`; neither an
|
|
399
409
|
informational limit nor a traced target proves a rendered failure or success.
|
|
400
|
-
Bounded check results put
|
|
410
|
+
Bounded check results put review items before informational limits; the checks
|
|
401
411
|
resource retains complete results.
|
|
402
412
|
|
|
403
413
|
`property-registration` is a blocking architecture diagnostic for invalid or
|
|
@@ -410,15 +420,20 @@ ownership, valid initial values, browser checks and examples.
|
|
|
410
420
|
|
|
411
421
|
### Screenshots and candidate comparison
|
|
412
422
|
|
|
413
|
-
`ads_capture({scenario:"<discovered ID>",target?,theme?,viewport?})` renders current
|
|
414
|
-
source in the real sandboxed App using project-local Playwright/browser.
|
|
423
|
+
`ads_capture({scenario:"<discovered ID>",target?,theme?,brand?,viewport?})` renders current
|
|
424
|
+
source in the real sandboxed App using project-local Playwright/browser. `theme` is a declared
|
|
425
|
+
theme name (default: the first). Previews receive the theme in host context: `theme` carries
|
|
426
|
+
the MCP Apps light/dark scheme and `adsTheme` the project theme name; hosts that send only
|
|
427
|
+
`theme` get the first declared theme with that scheme. `brand` is a declared brand name
|
|
428
|
+
(default: the first) for projects that declare brands; previews receive it as `adsBrand` and
|
|
429
|
+
set `data-brand` on the document. It returns
|
|
415
430
|
PNG resource URIs and revision/settings metadata. The default is the full widget
|
|
416
431
|
viewport; optional `captureTargets` metadata names an element within the scenario.
|
|
417
432
|
Token/component/pattern/composition scenarios share this path. The tool adds no
|
|
418
433
|
project-specific renderer or fixture assumptions.
|
|
419
434
|
|
|
420
435
|
Patch and transaction dry runs accept `screenshot:true` plus an explicit 1–8-entry
|
|
421
|
-
`captures:[{scenario,target?,theme?,viewport?}]` selection. Existing gates run first;
|
|
436
|
+
`captures:[{scenario,target?,theme?,brand?,viewport?}]` selection. Existing gates run first;
|
|
422
437
|
current and candidate use matching capture settings. Source/conflict checks remain
|
|
423
438
|
mandatory. No screenshots are created by ordinary patches/dry runs. A newly added
|
|
424
439
|
scenario has a candidate with an explicit absent current baseline.
|
|
@@ -551,7 +566,10 @@ themes and token scenarios/fixtures, whose coverage spans shared source files.
|
|
|
551
566
|
Preview IDs remain separate: several token previews belong to `tokens`.
|
|
552
567
|
Design tokens and token previews belong to the shared Data foundation. Component
|
|
553
568
|
contracts do not register token namespaces or independent value sheets. Read
|
|
554
|
-
`ads://guides/tokens` for state mappings,
|
|
569
|
+
`ads://guides/tokens` for state mappings, color roles, the grid, contrast/rhythm/overlap
|
|
570
|
+
reviews and the token export; `ads://guides/branding` for brand artwork, web icons,
|
|
571
|
+
committed targets and glyph sets; `ads://guides/accessibility` for the WCAG 2.2 AA
|
|
572
|
+
guards (`token-contrast`, `a11y-*`) and the practice no tool can check.
|
|
555
573
|
|
|
556
574
|
The `tokens` manifest also returns `companionFiles` with the configured foundation
|
|
557
575
|
entry path. When creating or deleting a canonical token foundation file, include
|
|
@@ -1329,12 +1347,12 @@ live source, loosen policy or add a second contract-editing protocol. See
|
|
|
1329
1347
|
[CONTRACTS.md](CONTRACTS.md) for the static schema, compatibility and browser audits.
|
|
1330
1348
|
The same guide is available at `ads://guides/contracts`.
|
|
1331
1349
|
|
|
1332
|
-
A registered binding producer
|
|
1333
|
-
`
|
|
1334
|
-
|
|
1335
|
-
undefined tokens and SVG URLs
|
|
1350
|
+
A registered binding producer gives a per-theme value with `themed()` or
|
|
1351
|
+
`themedByScheme()`; its output is `var(--ads-if-<theme>, <reference>)` once per declared
|
|
1352
|
+
theme, in declared order. The App paint audit checks every branch and its observed effect
|
|
1353
|
+
in the active theme. Raw colors, undefined tokens and SVG URLs in a branch remain invalid.
|
|
1336
1354
|
This derived binding form does not widen public paint-input types; use constrained
|
|
1337
|
-
references for each theme input and verify
|
|
1355
|
+
references for each theme input and verify every theme in browser checks.
|
|
1338
1356
|
|
|
1339
1357
|
Binding `valueFrom` accepts one path or an explicit array of registered entry
|
|
1340
1358
|
paths for alternative/theme paints. Parts can have multiple distinct parents and
|
|
@@ -1400,8 +1418,9 @@ scenario's failure. A retained earlier view is not current-source evidence.
|
|
|
1400
1418
|
`ads_validate({policy:"acceptance"})` matches `ads validate --policy acceptance`:
|
|
1401
1419
|
it checks the acceptance policy against current source without applying anything.
|
|
1402
1420
|
Validation and acceptance keep separate baselines; acceptance cannot establish
|
|
1403
|
-
full validation. Each policy chooses `checks` and `
|
|
1404
|
-
|
|
1421
|
+
full validation. Each policy chooses `checks`, `behaviorChecks` and `browserAudit` (the
|
|
1422
|
+
axe-core audit of every UI scenario in every brand and theme; its `a11y-axe` findings are
|
|
1423
|
+
errors); skipped tests are reported as skipped, without a passing label. Draft preview/edit triggers
|
|
1405
1424
|
neither policy. Explicit `ads_verify` remains independent of gating choices. The MCP tool
|
|
1406
1425
|
runs trusted configured project commands with cancellation and bounded output; it
|
|
1407
1426
|
is available with source mutations disabled and writes only build/evidence output
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
# Native Bun previews: compilation, resources and restart reuse
|
|
2
2
|
|
|
3
|
-
Local measurements on 23 October 2026, using the same frozen 865-file
|
|
3
|
+
Local measurements on 23 October 2026, using the same frozen 865-file application
|
|
4
4
|
snapshot (4,389,282 authored bytes, 151 scenarios) as the earlier memory work.
|
|
5
|
-
The live
|
|
5
|
+
The live application checkout and its installed ADS package were not patched. Real
|
|
6
6
|
MCP Apps ran in headless Chrome. These are local observations, not service limits.
|
|
7
7
|
|
|
8
8
|
## Startup and warming
|
|
@@ -73,16 +73,16 @@ changing its JavaScript bytes; the visible styles update and form state remains.
|
|
|
73
73
|
## Reproduction
|
|
74
74
|
|
|
75
75
|
Use a frozen source snapshot and idle consumers; do not benchmark by editing a
|
|
76
|
-
live developer's files. `scripts/benchmarks/
|
|
76
|
+
live developer's files. `scripts/benchmarks/preview-memory/prepare.mjs`
|
|
77
77
|
creates isolated inputs. Set `ADS_BENCH_NATIVE=1` for the native compiler and
|
|
78
78
|
`ADS_BENCH_OUTPUT` for the owned output directory. The monitor samples all child
|
|
79
79
|
processes' PSS/RSS from `/proc`; run it in a bounded memory scope:
|
|
80
80
|
|
|
81
81
|
```sh
|
|
82
82
|
ADS_BENCH_NATIVE=1 ADS_BENCH_OUTPUT=output/bun-proof \
|
|
83
|
-
node scripts/benchmarks/
|
|
83
|
+
node scripts/benchmarks/preview-memory/prepare.mjs /path/to/project candidate 1
|
|
84
84
|
ADS_BENCH_WARM=1 ADS_BENCH_BROWSER=1 ADS_BENCH_DRIVER=./preview.mjs \
|
|
85
|
-
bun scripts/benchmarks/
|
|
85
|
+
bun scripts/benchmarks/preview-memory/monitor.mjs output/bun-proof/candidate-1
|
|
86
86
|
```
|
|
87
87
|
|
|
88
88
|
`tests/bun-preview.test.mjs` verifies React/Preact rendering, workers/assets,
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
#
|
|
1
|
+
# Draft acceptance: memory and compiler reuse
|
|
2
2
|
|
|
3
3
|
Historical ADS 0.3.35 measurement. The compiler parking and project Vite adapter
|
|
4
4
|
described here have been superseded by independent interactive compilation and
|
|
5
5
|
ADS-owned Bun previews; see [native preview measurements](bun-previews.md).
|
|
6
6
|
|
|
7
|
-
Measured on 23 October 2026 using a frozen
|
|
8
|
-
Apps in headless Chrome.
|
|
7
|
+
Measured on 23 October 2026 using a frozen source snapshot of a production application and real MCP
|
|
8
|
+
Apps in headless Chrome. the installed application package and working source were not
|
|
9
9
|
patched. The baseline distribution matched published ADS 0.3.34 byte for byte.
|
|
10
10
|
|
|
11
11
|
| Measurement | ADS 0.3.34 | Changed implementation |
|
|
@@ -43,7 +43,7 @@ production preview build itself and shares its host/graph with verification.
|
|
|
43
43
|
The adapter's validation callback still runs. No configured check was bypassed.
|
|
44
44
|
|
|
45
45
|
Node v24.13.0 and Bun 1.3.13 were used. Both comparison runs had an 8 GiB systemd
|
|
46
|
-
scope limit, no additional swap, one Playwright worker in each
|
|
46
|
+
scope limit, no additional swap, one Playwright worker in each application runner, and
|
|
47
47
|
`NODE_OPTIONS=--max-old-space-size=1536`. Bun's `--smol` flag was not used. PSS and
|
|
48
48
|
RSS were sampled from `/proc` every approximately 200 ms across the MCP process,
|
|
49
49
|
compiler, validators, browser and descendants. Idle values are medians over the
|
|
@@ -73,13 +73,13 @@ output cannot satisfy a production-build check. Candidate source, outputs and
|
|
|
73
73
|
reviewed draft revisions retain their existing publication fences.
|
|
74
74
|
|
|
75
75
|
The initial lifecycle change roughly halved memory but made accepted-preview
|
|
76
|
-
reopening slower. A real
|
|
76
|
+
reopening slower. A real application probe explained the remaining rebuild: its full
|
|
77
77
|
cache was 10,003,007 bytes, above the reader's 8,388,608-byte limit. It repeated
|
|
78
78
|
the same 520 dependency hashes separately for 151 scenarios. Small fixtures
|
|
79
79
|
had not exposed this size boundary.
|
|
80
80
|
|
|
81
81
|
The cache now stores shared dependency sets once and checks shared hashes once
|
|
82
|
-
per operation.
|
|
82
|
+
per operation. The application's complete cache is 252,861 bytes, with 151 entries and one
|
|
83
83
|
dependency set. Metadata transfers with matching accepted source so parked
|
|
84
84
|
compiler restarts can reuse it. Compiler fingerprints use the same declared
|
|
85
85
|
configuration and opaque-input boundary as guarded copies, with canonical
|
|
@@ -94,17 +94,19 @@ removed.
|
|
|
94
94
|
|
|
95
95
|
## Reproduction
|
|
96
96
|
|
|
97
|
-
Use Linux, Node, Bun, Chrome and
|
|
97
|
+
Use Linux, Node, Bun, Chrome and an ADS project checkout with its dependencies installed.
|
|
98
|
+
To move the app's own Playwright server off its usual port, set `ADS_BENCH_APP_CONFIG` (its
|
|
99
|
+
config file, relative to the project) and `ADS_BENCH_APP_PORT` (the port to replace).
|
|
98
100
|
Build ADS first. Preparing a series freezes source and the installed baseline
|
|
99
101
|
distribution under `output/memory-benchmark`; use a fresh `ADS_BENCH_OUTPUT`
|
|
100
102
|
directory for a new source/dependency baseline. Preparation changes only the
|
|
101
|
-
generated copies. It
|
|
103
|
+
generated copies. It moves the application tests' port when asked (above) and adjusts the
|
|
102
104
|
candidate's mutation-check list for managed production compilation.
|
|
103
105
|
|
|
104
106
|
```sh
|
|
105
107
|
node scripts/build-ads-tool.mjs
|
|
106
|
-
node scripts/benchmarks/
|
|
107
|
-
node scripts/benchmarks/
|
|
108
|
+
node scripts/benchmarks/preview-memory/prepare.mjs /path/to/project baseline 1
|
|
109
|
+
node scripts/benchmarks/preview-memory/prepare.mjs /path/to/project candidate 1
|
|
108
110
|
```
|
|
109
111
|
|
|
110
112
|
Run the following separately for `baseline-1` and `candidate-1`, with Node and
|
|
@@ -113,12 +115,12 @@ Bun on PATH. Do not run the two workloads simultaneously.
|
|
|
113
115
|
```sh
|
|
114
116
|
systemd-run --user --scope -p MemoryMax=8G -p MemorySwapMax=0 \
|
|
115
117
|
timeout --kill-after=5s 900s env NODE_OPTIONS=--max-old-space-size=1536 \
|
|
116
|
-
node scripts/benchmarks/
|
|
118
|
+
node scripts/benchmarks/preview-memory/monitor.mjs \
|
|
117
119
|
output/memory-benchmark/baseline-1
|
|
118
120
|
```
|
|
119
121
|
|
|
120
122
|
```sh
|
|
121
|
-
node scripts/benchmarks/
|
|
123
|
+
node scripts/benchmarks/preview-memory/report.mjs \
|
|
122
124
|
output/memory-benchmark/baseline-1-metrics.json \
|
|
123
125
|
output/memory-benchmark/candidate-1-metrics.json
|
|
124
126
|
```
|
|
@@ -6,7 +6,7 @@ production ADS, project dependencies, policies, MCP locks and CI were not change
|
|
|
6
6
|
|
|
7
7
|
## Workload and controls
|
|
8
8
|
|
|
9
|
-
The input is a frozen
|
|
9
|
+
The input is a frozen snapshot of a production application: 885 inventoried validation files,
|
|
10
10
|
5,622,703 bytes, plus copied workspace/generated inputs. Inventoried source digest:
|
|
11
11
|
`4666c8a12353d4f60e1cd7828f8ce44a414b802b5dfdde9c18394429346ad9d6`.
|
|
12
12
|
Local workspace imports resolve to the snapshot, not the live terminal-renderer
|
|
@@ -114,8 +114,26 @@ require ADS dependency selection, isolated outputs and shared in-flight work.
|
|
|
114
114
|
## Reproduction and artifacts
|
|
115
115
|
|
|
116
116
|
From the ADS checkout, use a fresh output directory and the same frozen-source
|
|
117
|
-
input to reproduce exactly.
|
|
118
|
-
|
|
117
|
+
input to reproduce exactly. Describe the project in a `poc.json` (paths relative to it):
|
|
118
|
+
|
|
119
|
+
```json
|
|
120
|
+
{
|
|
121
|
+
"project": "../my-app",
|
|
122
|
+
"include": ["client/.generated"],
|
|
123
|
+
"ownScopes": ["@my-app"],
|
|
124
|
+
"edits": {
|
|
125
|
+
"component": { "file": "design/components/Content/Badge/Badge.tsx",
|
|
126
|
+
"from": "tone = \"neutral\"", "to": "tone = \"accent\"" },
|
|
127
|
+
"token": { "file": "design/tokens/colors.css",
|
|
128
|
+
"from": "--color-accent-9-light: #5b5bf7;", "to": "--color-accent-9-light: #123456;" }
|
|
129
|
+
}
|
|
130
|
+
}
|
|
131
|
+
```
|
|
132
|
+
|
|
133
|
+
`include` lists generated folders outside the validation inputs that the build needs,
|
|
134
|
+
`ownScopes` the project's own `node_modules` scopes (its workspace packages are linked from
|
|
135
|
+
the snapshot instead), and `edits` one component and one token change, each a text
|
|
136
|
+
replacement the run applies to measure invalidation.
|
|
119
137
|
The runner installs pinned Turbo only inside its output directory. A new snapshot
|
|
120
138
|
of an actively edited checkout can differ; preparation rejects detected races.
|
|
121
139
|
|
|
@@ -123,10 +141,10 @@ of an actively edited checkout can differ; preparation rejects detected races.
|
|
|
123
141
|
export ADS_TURBO_POC_OUTPUT=output/turbo-poc-new
|
|
124
142
|
systemd-run --user --scope -p MemoryMax=6G -p MemorySwapMax=0 \
|
|
125
143
|
env ADS_TURBO_POC_OUTPUT="$ADS_TURBO_POC_OUTPUT" \
|
|
126
|
-
node scripts/benchmarks/turbo-poc/run.mjs
|
|
144
|
+
node scripts/benchmarks/turbo-poc/run.mjs poc.json
|
|
127
145
|
systemd-run --user --scope -p MemoryMax=6G -p MemorySwapMax=0 \
|
|
128
146
|
env ADS_TURBO_POC_OUTPUT="$ADS_TURBO_POC_OUTPUT" \
|
|
129
|
-
node scripts/benchmarks/turbo-poc/run.mjs
|
|
147
|
+
node scripts/benchmarks/turbo-poc/run.mjs poc.json --extras
|
|
130
148
|
```
|
|
131
149
|
|
|
132
150
|
Bun and Node must be on PATH. The second command adds the equivalent cold serial
|
|
@@ -226,7 +244,7 @@ systemd-run --user --scope -p MemoryMax=6G -p MemorySwapMax=0 \
|
|
|
226
244
|
|
|
227
245
|
The proof driver intentionally refuses existing snapshot directories. It uses the
|
|
228
246
|
installed third-party dependencies and frozen workspace sources from the initial
|
|
229
|
-
|
|
247
|
+
POC snapshot (`ADS_TURBO_POC_OUTPUT`); it never edits the live application. Failed attempts remain available
|
|
230
248
|
under earlier output directories instead of being overwritten.
|
|
231
249
|
|
|
232
250
|
### Final implementation proof
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@reqvire-org/ads",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.47",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "A design system your agent can see and shape. Your components. Your look. Your code.",
|
|
6
6
|
"repository": {
|
|
@@ -53,6 +53,7 @@
|
|
|
53
53
|
"dependencies": {
|
|
54
54
|
"@modelcontextprotocol/server": "2.3.1",
|
|
55
55
|
"@wyw-in-js/transform": "2.1.3",
|
|
56
|
+
"axe-core": "4.14.0",
|
|
56
57
|
"css-tree": "3.2.1",
|
|
57
58
|
"postcss": "^8.5.30",
|
|
58
59
|
"postcss-selector-parser": "^7.1.6",
|
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
export const fixture = {
|
|
2
|
-
"title": "Space, type & motion",
|
|
3
|
-
"text": "Aa",
|
|
4
|
-
samples: [
|
|
5
|
-
{"token": "--border-w", "property": "width", "probe": "13.375px"},
|
|
6
|
-
{"token": "--dur-fast", "property": "animation-duration", "probe": "0.375s"},
|
|
7
|
-
{"token": "--dur-normal", "property": "animation-duration", "probe": "0.375s"},
|
|
8
|
-
{"token": "--ease-standard", "property": "animation-timing-function", "probe": "cubic-bezier(.13,.27,.61,.83)"},
|
|
9
|
-
{"token": "--focus-offset", "property": "width", "probe": "13.375px"},
|
|
10
|
-
{"token": "--focus-w", "property": "width", "probe": "13.375px"},
|
|
11
|
-
{"token": "--font-mono", "property": "font-family", "probe": "monospace, serif"},
|
|
12
|
-
{"token": "--font-sans", "property": "font-family", "probe": "monospace, serif"},
|
|
13
|
-
{"token": "--leading-normal", "property": "line-height", "probe": "2.375"},
|
|
14
|
-
{"token": "--leading-tight", "property": "line-height", "probe": "2.375"},
|
|
15
|
-
{"token": "--radius-lg", "property": "border-radius", "probe": "13.375px"},
|
|
16
|
-
{"token": "--radius-md", "property": "border-radius", "probe": "13.375px"},
|
|
17
|
-
{"token": "--radius-sm", "property": "border-radius", "probe": "13.375px"},
|
|
18
|
-
{"token": "--shadow-raised", "property": "box-shadow", "probe": "1px 3px 5px rgb(31, 97, 163)"},
|
|
19
|
-
{"token": "--shadow-xs", "property": "box-shadow", "probe": "1px 3px 5px rgb(31, 97, 163)"},
|
|
20
|
-
{"token": "--space-0", "property": "width", "probe": "13.375px"},
|
|
21
|
-
{"token": "--space-12", "property": "width", "probe": "13.375px"},
|
|
22
|
-
{"token": "--space-16", "property": "width", "probe": "13.375px"},
|
|
23
|
-
{"token": "--space-2", "property": "width", "probe": "13.375px"},
|
|
24
|
-
{"token": "--space-4", "property": "width", "probe": "13.375px"},
|
|
25
|
-
{"token": "--space-6", "property": "width", "probe": "13.375px"},
|
|
26
|
-
{"token": "--space-8", "property": "width", "probe": "13.375px"},
|
|
27
|
-
{"token": "--text-base", "property": "font-size", "probe": "41.375px"},
|
|
28
|
-
{"token": "--text-lg", "property": "font-size", "probe": "41.375px"},
|
|
29
|
-
{"token": "--text-sm", "property": "font-size", "probe": "41.375px"},
|
|
30
|
-
{"token": "--text-xl", "property": "font-size", "probe": "41.375px"},
|
|
31
|
-
{"token": "--weight-medium", "property": "font-weight", "probe": "327"},
|
|
32
|
-
{"token": "--weight-normal", "property": "font-weight", "probe": "327"},
|
|
33
|
-
{"token": "--weight-semibold", "property": "font-weight", "probe": "327"},
|
|
34
|
-
{"token": "--z-overlay", "property": "z-index", "probe": "367"},
|
|
35
|
-
]
|
|
36
|
-
} as const;
|