Align design tokens: Tailwind, trade-bootstrap, and visual QA pass (#416) #941
No reviewers
Labels
No labels
agent:fix_bugfix
agent:fix_conflicts
agent:fix_security
agent:gap_analysis
agent:implement
agent:implement
agent:implement
agent:open_issues
agent:ready
agent:research
agent:security_audit
agent:verify
architecture
backend
blocker:hybrid
blocker:launch
blocker:limit-orders
blocker:v2
block:log_only
block:security
bug
ci
contracts
correctness
deploy
dev
devops
docs
documentation
duplicate
e2e
enhancement
epic
feature
frontend
functional-completion
gas
good first issue
governance
help wanted
high-risk
hooks
hybrid
indexer
infra
infrastructure
integrators
invalid
launch-blocker
limit-orders
localnet
localterra
low priority
missing-implementation
needs-design
ops
performance
priority
high
priority
medium
product
qa
QA
question
ready
ready
research
scripts
security
security-hardening
smartcontracts
tech-debt
testing
ux
UX
v2
verification
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
code/cl8y-dex-terraclassic!941
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "issue-416-design-tokens"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
Aligns design tokens across the frontend stack for #416:
primary/dexblue hex palettes;theme.extend.colorsnow aliases CSS variables (bg-*,ink,line,mint,accent, …) perdocs/design-system.md§ Tailwind color aliases.trade-bootstrap.cssdefines a minimal:root/data-themetoken subset mirroringtheme-dark.css/theme-light.css; skeleton usesvar(--bg-0),var(--line), etc. (no blue flash).QA_PASS_2026-03-13.mdfooter toggle rows marked historical;QA_TEMPLATE.md§10.1.8 adds bootstrap continuity check; newQA_PASS_2026-06-25.mdrecords visual pass.scripts/check_design_tokens.py,make verify-issue-416, unit + Playwright visual tests; screenshots indocs/qa/issue-416/.Acceptance checklist
grep 'Tailwind color aliases' docs/design-system.md;python3 scripts/check_design_tokens.pypython3 scripts/check_design_tokens.py;npm run test -- --run src/designTokens.test.tsQA_TEMPLATE.md§10 references header theme togglegrep 'Header theme toggle' QA_TEMPLATE.md/,/trade,/limits,/pool,/portfolio,/charts,/trader,/protocolPLAYWRIGHT_SKIP_CHAIN=1 ./node_modules/.bin/playwright test e2e/design-tokens-visual.spec.ts --project=e2e-smoke/tradebootstrap first paintdocs/qa/issue-416/trade-bootstrap-first-paint.pngshell-panelon Swapdocs/qa/issue-416/swap-shell-panel-light-dark-side-by-side.pngmake test-frontendcosmesPatch127.test.tsfailure on patch version drift (pre-existing on main)make lint-frontendmake lint-frontendpython3 scripts/check_design_tokens.pyQA_PASS_2026-06-25.md§10.3Third-party verification
Manual:
/trade— warm skeleton → hydrated panel (no blue flash).Screenshots:
docs/qa/issue-416/Security review — MR !941
Commit reviewed:
32314a8bed0dd53937f9496d14719eedb3d2d432Scope: Design-token alignment (#416) — Tailwind color aliases,
trade-bootstrap.csstoken refactor, QA/docs, verification scripts (check_design_tokens.py,verify-issue-416.sh), unit/Playwright visual tests, static bootstrap fixture.Method
localStoragetheme via existingtheme.js, route paths in e2e only) to sinks — no new user-data rendering, injection, or network calls introduced.Outcome
FINDINGS: 0 medium+
Security review: no medium+ findings on this diff.
innerHTML/unsanitized DOM sinks; bootstrap shell remains static markup (trade-shell.jsunchanged).theme.jscontinues to allowlistdata-themetodark/lightonly.trade-bootstrap.cssuses static:roottoken definitions; no attacker-controlled values in selectors or properties.Inline threads: none (no findings requiring line-level comments).
Automated security review (Cursor agent).
mentioned in commit
a07ae2200a