feat: migrate to Flow Design System + UX polish sweep#2
Merged
Conversation
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
- Dashboard nav ‹ › and Today: outline → ghost (removes heavy border ring) - Copy Summary: outline → neutral variant - Week-type toggle hover: primary/10 → primary/20 (was invisible on primary/10 bg) - Timetable segmented control inactive: remove explicit bg-background (inherits container) - All native <select> elements: consistent h-10 + focus:border-primary + ring-primary/20 - Report page teacher select: bg-card → bg-background - Onboarding textarea: consistent focus ring treatment - Login card: add shadow-sm so card lifts off background Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
- Install @flow/core, @flow/design-tokens, @radix-ui/colors via private GitLab registry - Replace globals.css with 3-layer token bridge (Radix → Flow DS → app semantic tokens) - TWBlue (#0064FF) brand scale with full dark mode support - Migrate all pages to @flow/core components (Button, Input, Badge, Card) - Replace inline SVG icons with lucide-react throughout - Update all custom tokens (text-muted, bg-accent, border-card-border, etc.) to Flow DS semantic tokens (text-muted-foreground, bg-primary, border-border) - Use Radix lime/amber scales for success/warning states - Preserve existing DM Sans + Outfit fonts (font-sans + font-display) Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
globals.css3-layer token bridge: Radix UI primitives → Flow DS semantic tokens → app tokens (full dark mode support)Changes
Migration (21 files):
Button,Input,Badge,Card*from@flow/coretext-muted,bg-accent,border-card-border,text-danger, etc.) → Flow DS tokens (text-muted-foreground,bg-primary,border-border,text-destructive)lime-3/lime-11andamber-3/amber-11scalesUX polish (6 files):
‹ ›and Today:outline→ghost(removes heavy border ring on circular icons)outline→neutral(visually subordinate to primary actions)primary/10→primary/20(was invisible onprimary/10container)bg-backgroundso it inherits container<select>elements harmonised:h-10,focus:border-primary,focus:ring-primary/20shadow-smso it lifts off the page backgroundTest plan
npm run buildpasses (verified locally)/) renders correctly<Input>🤖 Generated with Claude Code