Commit b258d84
Migrate from @policyengine/design-system to @policyengine/ui-kit/legacy (#891)
* Migrate from @policyengine/design-system to @policyengine/ui-kit/legacy
Pure import-path rename — uses the /legacy compat shim added in
@policyengine/ui-kit 0.8.0 which mirrors design-system's API exactly.
The legacy --pe-color-* CSS custom properties (previously consumed via
@import "@policyengine/design-system/tokens.css") are not re-exported from
ui-kit/legacy, so the relevant token subset is inlined directly into the
top-level :root block in globals.css. The downstream @theme bridge that
maps `--pe-color-*` to Tailwind color variables is unchanged. JS is just
a comment update in src/components/Header.jsx (tokens were already
inlined locally).
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
* Add changelog fragment
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
---------
Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>1 parent f2dbb95 commit b258d84
5 files changed
Lines changed: 446 additions & 18 deletions
File tree
- changelog.d
- dashboard
- src
- app
- components
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
0 commit comments