feat(ui): tokenize accent / focus-ring drift (LC-222) #265
Loading…
Reference in a new issue
No description provided.
Delete branch "feat/lc-222-accent-focus-tokenize"
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
LC-190 introduced semantic
--accent+--ringtokens with per-theme values; LC-193 swept most surfaces onto them. Eleven templates still carried hardcodedblue-*Tailwind classes. In dark / hc-dark mode the active sidebar row stayed pale-blue on near-black, the mention popover / poll voted-bar / settings device chip / reply-count chip all rendered the same un-themed pale-blue glow, and the focus ring stayedblue-500instead of theming to--ring.Palette additions
--accent-surfaceper theme (light#dbeafe, dark#1e3a8a, hc-light#dbeafe, hc-dark#0a0a0a). Mirrors LC-215's--danger-surface.bg-accent-surfaceutility exposed viatailwind.config.js.Template sweep (11 + 1 sites)
Focus rings (6):
focus:ring-blue-500->focus:ring-ring. Sites:sidebar_room_row,sidebar_peer_row,sidebar_nav,sidebar_self,notify_dropdown,own_avatar_oob.Active sidebar row tint (2):
bg-blue-100 font-semibold text-blue-900->bg-accent-surface font-semibold text-accent. Sites:sidebar_room_row,sidebar_peer_row.Accent-tinted surfaces (5): reply-count chip, file-drop overlay, "this device" chip, poll voted-by-me bar + button border/ring, mention popover
@-avatar.Out of scope
.lc-quote-barblue chrome in main.css (separate quote-chip ticket)..lc-mdcode-block / blockquote / table hardcoded slate styles flagged during LC-221 review (separate "expand LC-221 sweep" follow-up).Test plan
just build-cssclean.cargo check -p lets-chat-serverclean.grep --recursive --extended-regexp 'focus:ring-blue-|bg-blue-(100|500|600|700|800|900|50)|text-blue-(700|800|900)|hover:bg-blue-|border-blue-|ring-blue-' server/templates/returns no results.@(popover avatar), drag file over composer (overlay), settings session list ("this device" chip).