Align design tokens: Tailwind, trade-bootstrap, and visual QA pass #416
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#416
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
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?
Parent
#411 — Updated Gap Analysis (recommendations 7 + 8)
Current codebase
Design implementation is cohesive in
index.css, but peripheral config drifts:tailwind.config.jsprimary/dexblue palette vs warm CSS-var systempublic/bootstrap/trade-bootstrap.cssdata-themetokensQA_PASS_2026-03-13.mdQA_TEMPLATE.md§10All major routes use
shell-panel*wrappers; trade bootstrap skeleton loads before JS chunk on/trade.Why needed
Token drift causes new Tailwind utilities to clash with the glass/neo theme. Off-theme bootstrap flash on
/tradehurts perceived quality. QA doc drift wastes manual passes.Constraints / guardrails
trade-bootstrap.cssmust stay tiny (critical path) — token alignment via shared custom properties if feasible.QA_PASSor add note that footer toggle is historical;QA_TEMPLATEshould reference header theme control (#170).docs/design-system.mdfrom sibling issue — link token names.Relevant files
frontend-dapp/tailwind.config.jsfrontend-dapp/public/bootstrap/trade-bootstrap.cssfrontend-dapp/index.html(bootstrap link)QA_TEMPLATE.md§10QA_PASS_2026-03-13.mddocs/design-system.md(from #411 child — coordinate)Recommended direction
tailwind.config.jsextend.colorswith CSS variables (var(--mint)etc.) or document deprecated Tailwind palette entries.trade-bootstrap.cssto use same:root/data-themevariables asindex.css(subset).QA_TEMPLATE.md§10 on all primary routes; file deltas as checklist in issue MR.QA_PASS/ template drift for theme toggle location.Acceptance criteria
QA_TEMPLATE.md§10 references current header theme toggle./,/trade,/limits,/pool,/portfolio,/charts,/trader,/protocol./tradefirst paint (bootstrap skeleton) — on-theme colors.shell-panelon Swap.Test plan
make test-frontendmake lint-frontend/trade— skeleton → hydrated panel color continuity.data-theme— bootstrap + app shell match.Attack / abuse test plan
Verification criteria
#3b82f6-class blues in bootstrap path.mentioned in issue #411
mentioned in commit
32314a8bedmentioned in merge request !941
mentioned in commit
a07ae2200aVerification complete — GitLab #416
Verified on
mainat merge commita07ae220(MRissue-416-design-tokens).Acceptance criteria
docs/design-system.md§ Tailwind color aliases;python3 scripts/check_design_tokens.py;src/designTokens.test.tstrade-bootstrap.cssusesvar(--bg-0)/ warm palette; no#3b82f6-class blues; Playwright bootstrap first-paint assertsrgb(14, 9, 8)QA_TEMPLATE.md§10 references header theme togglee2e/design-tokens-visual.spec.ts—/,/trade,/limits,/pool,/portfolio,/charts,/trader,/protocol/tradebootstrap first paintdocs/qa/issue-416/trade-bootstrap-first-paint.png(regenerated in verify run; matches committed artifact)shell-panelon Swapdocs/qa/issue-416/swap-shell-panel-light-dark-side-by-side.pngQA_PASSfooter toggle historical noteQA_PASS_2026-03-13.mdhistorical banner;QA_PASS_2026-06-25.mdacceptance checklistTest plan
make test-frontend— 184 files, 1084 testsmake lint-frontend— 0 errors (5 pre-existing warnings)make verify-issue-416— 9/9 stepsPLAYWRIGHT_SKIP_CHAIN=1 … playwright test e2e/design-tokens-visual.spec.ts --project=e2e-smoke— 10/10/tradeskeleton → hydrated continuitytheme-dark.css/theme-light.cssdata-themetogglee2e/navigation.spec.tsheader theme toggle (#170)index.htmlCSPfont-src 'self';trade-bootstrap.cssusessystem-uionlyQA_PASS_2026-06-25.md§10.3 — unchanged audio; manual per releaseVerification criteria
check_design_tokens.py,designTokens.test.ts)No repo changes required; closing issue.
mentioned in issue #337
mentioned in issue #488
mentioned in issue #489