
Berkeleytime
Summary
Berkeleytime had no shared components, so its UI was inconsistent and every handoff meant rebuilding screens by hand. Through 2026, we rolled out its first token-based design system: 35+ accessible components, now reused in 38% of merged PRs.
My Contribution
Timeline
Dec 2025 - Present
Team
2 Engineers
2 Designers
Tools
VS Code
Figma
Storybook
Cursor Agent
Skills
Design Systems
Prototyping
Usability Testing
Frontend
Overview
Berkeleytime is where 50K+ UC Berkeley students browse courses, compare grades, and plan their semesters.

The Problem
Hardcoded styles and missing tokens made UI consistency difficult to maintain.
An audit with Cursor Agent uncovered 1,157 hardcoded spacing and typography values, alongside references to design tokens that were never defined. Without shared style definitions in code, components relied on individual values and fallbacks, making consistency harder to maintain. But this wasn't just a code problem. Students were noticing it too.
KEY FACTS
1,157
Hardcoded values
0
Design tokens
No shared values. Every color, size, and spacing was set by hand
6
Paddings, one property
60, 20, 12, 10, 8, and 0px, all used for the same job

User Insights
Inconsistent releases eroded students' trust in Berkeleytime.

BUILDING THE SYSTEM
We prioritized components by how often they're used and how hard they are to build. Dropdowns ranked first.
First, we established shared visual foundations so every component follows the same rules across Figma and code.
Standardized spacing, typography, color, and shape gave components a consistent visual language. These shared foundations defined how elements fit together, giving designers and engineers clear rules to carry from Figma into code.
- A+
- 15%
To keep design and code in sync, I documented every component in Storybook as a shared reference for designers and engineers.
Each component lives alongside its variants, states, and usage code, so differences between Figma and implementation surface before anything ships.
THEMING
Because components use semantic tokens, every one adapts to dark mode automatically.
Switching themes only swaps the values behind each token. Selected states, focus rings, and hierarchy carry over unchanged.
IN THE PRODUCT
Finally, we rebuilt Grades on the shared library, so it now uses the same filters, cards, and color tokens as the rest of Berkeleytime.
Switching themes only swaps the values behind each token. Selected states, focus rings, and hierarchy carry over unchanged.
Impact & Outcome
The design system became the default way Berkeleytime ships UI, reused in 38% of merged PRs since rollout.
Key Highlights
Shipped features
Built on the system across Catalog, Grades, and more
+18K
Monthly users
Growth in Fall 2026 the system rolled out, to 50K+ total

Next Steps
The next challenge is keeping the system consistent as more people, and more AI tools, build with it.
Living documentation
Rules for AI coding tools
Agent guidelines that tell tools like Cursor to reuse existing components and tokens instead of generating new ones.
Guardrails in code review
Checks that flag hardcoded colors and one-off styles before they ship.







