Skip to content

feat: configure design system tokens in Tailwind v4 (#8) - #51

Merged
allenjose24 merged 1 commit into
devfrom
feat/design-tokens
Jul 6, 2026
Merged

feat: configure design system tokens in Tailwind v4 (#8)#51
allenjose24 merged 1 commit into
devfrom
feat/design-tokens

Conversation

@allenjose24

Copy link
Copy Markdown
Member

This PR implements the exact Material Design 3 design system tokens specified in PRD Section 12.1.

Closes #8

Changes:

  • Tailwind v4 Theme: Configured custom colors (gs-blue-600, etc.), MD3 elevations (shadow-tier-0 to shadow-tier-4), and MD3 corner radii (rounded-xs to rounded-lg) inside frontend/app/globals.css.
  • Google Fonts: Loaded Roboto and Roboto_Mono in frontend/app/layout.tsx using the Next.js Font optimizer.
  • Material Symbols: Imported the Material Symbols Outlined font stylesheet at the absolute top of the bundle.
  • Cleanup: Cleaned up the unused default Geist font files and updated repository metadata.

Copilot AI review requested due to automatic review settings July 6, 2026 06:09
@allenjose24
allenjose24 merged commit a4f6be6 into dev Jul 6, 2026
2 checks passed
@allenjose24
allenjose24 deleted the feat/design-tokens branch July 6, 2026 06:10

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR updates the Next.js frontend’s typography and Tailwind v4 token setup to align the UI with the Material Design 3 / PRD §12.1 design system (colors, elevations, radii, and fonts), while also refreshing app metadata.

Changes:

  • Replaced default Geist fonts with Roboto + Roboto Mono via next/font/google, and updated page metadata.
  • Added MD3-aligned design tokens (colors, shadows/elevation tiers, radii, typography variables) in globals.css using Tailwind v4’s @theme.
  • Imported Material Symbols Outlined via a Google Fonts stylesheet @import.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 6 comments.

File Description
frontend/app/layout.tsx Switches to Roboto/Roboto Mono via Next.js font optimizer; updates document metadata and font CSS variable wiring.
frontend/app/globals.css Introduces MD3 token variables and Tailwind v4 theme tokens; imports Material Symbols stylesheet; updates base body styles.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread frontend/app/globals.css
Comment on lines +57 to +61
--shadow-tier-0: none;
--shadow-tier-1: var(--shadow-tier-1);
--shadow-tier-2: var(--shadow-tier-2);
--shadow-tier-3: var(--shadow-tier-3);
--shadow-tier-4: var(--shadow-tier-4);
Comment thread frontend/app/globals.css
Comment on lines +64 to +68
--radius-xs: var(--radius-xs);
--radius-sm: var(--radius-sm);
--radius-md: var(--radius-md);
--radius-lg: var(--radius-lg);
--radius-full: var(--radius-full);
Comment thread frontend/app/globals.css
/* Spacing: Inherits the standard 8px grid. Under Tailwind v4, standard spacing utilities like space-1 (4px), space-2 (8px), etc. map automatically. */

/* Typography Fonts */
--font-display: "Product Sans", "Google Sans", var(--font-roboto), sans-serif;
Comment thread frontend/app/globals.css
Comment on lines +1 to 2
@import url("https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:opsz,wght,FILL,GRAD@20..48,100..700,0..1,-50..200");
@import "tailwindcss";
Comment thread frontend/app/globals.css
Comment on lines +72 to +73
background: var(--gs-neutral-100);
color: var(--gs-neutral-900);
Comment thread frontend/app/globals.css
--color-gs-neutral-100: var(--gs-neutral-100);
--color-gs-white: var(--gs-white);

/* Spacing: Inherits the standard 8px grid. Under Tailwind v4, standard spacing utilities like space-1 (4px), space-2 (8px), etc. map automatically. */
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants