agentleFS
ai-enhanced-engineerai-enhanced-engineer/aiee-skills/skills/frontend-material-design-3/SKILL.md

frontend-material-design-3

Skill4 starsChanged 5 months agoMITView on GitHub

Material Design 3 (Material You) patterns for dashboards and web apps. Use for M3 components, design tokens, color system, tonal elevation, navigation patterns, canonical layouts, or dashboard layouts. Covers Angular Material and Svelte implementations.

The file

Files
SKILL.md

Material Design 3 Patterns

M3 is Google's design system emphasizing dynamic color, personalization, and accessibility.

Key Pillars

PillarDescription
Dynamic ColorSystem-driven color from source color or user preferences
Tonal ElevationSurface tints replace drop shadows (5-14% opacity)
Typography15-token scale: Display, Headline, Title, Body, Label
MotionPhysics-based animations (M3 Expressive, 2025)

Color Roles Quick Reference

RolePurposeLightDark
primaryKey actionsTone 40Tone 80
on-primaryText on primaryTone 100Tone 20
surfaceBackgroundTone 99Tone 10
on-surfaceDefault textTone 10Tone 90
surface-variantDifferentiated areasTone 90Tone 30

Window Size Classes

ClassWidthNavigation
Compact0-599dpBottom nav bar
Medium600-839dpNavigation rail
Expanded840dp+Navigation drawer

Canonical Layouts

LayoutUse Case
List-DetailEmail, file browsers, settings
Supporting PaneDocument + properties, chat + context
FeedSocial feeds, news, product catalogs

Quick Example

/* M3 Token Usage */
.card {
  background: var(--md-sys-color-surface);
  color: var(--md-sys-color-on-surface);
  border-radius: var(--md-sys-shape-corner-medium, 12px);
}

When NOT to Use

  • Simple static pages (hand-code faster)
  • Non-Google ecosystem projects preferring other systems (Carbon, Fluent)
  • Projects requiring M2 backwards compatibility

See reference.md for complete token system, Angular/Svelte setup, and component patterns. See examples.md for dashboard implementations and theme switching.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.