mirror of
https://github.com/eigent-ai/eigent.git
synced 2026-05-30 03:35:54 +00:00
chore: add design-token usage guardrail and allowlist
Add check-design-token-usage.mjs, wire npm scripts, lint-staged, and CI frontend job. Allowlist WordCarousel and Terminal for required hex. Strip redundant ds:allow comments from Terminal theme. Made-with: Cursor
This commit is contained in:
parent
b589f3c0b5
commit
aa888e5ea2
6 changed files with 217 additions and 4 deletions
3
.github/workflows/test.yml
vendored
3
.github/workflows/test.yml
vendored
|
|
@ -67,6 +67,9 @@ jobs:
|
|||
- name: Check Electron Access Guard
|
||||
run: bash scripts/check-electron-access.sh
|
||||
|
||||
- name: Design tokens (engine + no hard-coded colors in UI)
|
||||
run: npm run check:design-tokens
|
||||
|
||||
pytest:
|
||||
name: Run Python Tests
|
||||
runs-on: ubuntu-latest
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue