amw-material-3

Applies Material Design 3 tokens for color, shape, type, elevation, and state layers to web UI.

Updated Jul 8, 2026
One-click install
npx skills add https://github.com/Emasoft/ai-maestro-webdesign --skill amw-material-3-emasoft
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: amw-material-3
Source: https://github.com/Emasoft/ai-maestro-webdesign/tree/main/skills/amw-material-3
Command: npx skills add https://github.com/Emasoft/ai-maestro-webdesign --skill amw-material-3-emasoft

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires @material/material-color-utilities, @material/web, and includes references (resource) components.

What problem does it solve? Implementing Material Design 3 correctly requires knowing dozens of token rules — HCT tonal palettes, role-based color pairing, state-layer opacities, tonal elevation, and the 4dp grid — and getting any of them wrong breaks dark mode, dynamic color, and accessibility contrast. ## Core Features & Use Cases - Token-level MD3 reference: Covers the full --md-sys-* namespace across color, type, shape, motion, and spacing, with mappings to Jetpack Compose and Flutter. - Seed-to-scheme generation: Shows how to generate light, dark, and three contrast-level schemes from a single seed color using @material/material-color-utilities. - Per-component token tables: Provides canonical overrides for buttons, FABs, cards, text fields, dialogs, navigation, and more, plus hard rules that prevent common MD3 violations. - Use Case: A user asks to build a settings page in Material Design 3. The skill supplies the baseline light/dark token block, correct container/on-color pairings, state-layer CSS for interactive elements, and per-component shape and type tokens. ## Quick Start Build a Material Design 3 card and button layout using md-sys color, shape, and type tokens with proper state layers.

Frequently Asked Questions about amw-material-3

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I generate a Material Design 3 color scheme from a seed color?▼

Use @material/material-color-utilities with SchemeContent: pass an HCT color from your seed hex, a dark-mode flag, and a contrast value (0.0 standard, 0.5 medium, 1.0 high). The scheme object returns all role colors, which you map to --md-sys-color-* CSS custom properties.

What are Material 3 state layer opacity values for hover and pressed?▼

MD3 state layers use 8% opacity for hover, 10% for focus, 10% for pressed on the web (16% on Android Compose), and 16% for dragged. The overlay color is the component's foreground on-* token, rendered as a translucent layer over the resting container.

Does Material Design 3 use drop shadows for elevation?▼

MD3 primarily uses tonal elevation, where higher surfaces are tinted with the primary color via the surface-container ladder instead of shadows. Drop shadows are reserved for elements floating over visually busy content, such as a FAB over imagery.

Can I use M3 Expressive features with @material/web?▼

No. M3 Expressive features like spring physics, shape morphing, and new button sizes are Compose-first. The @material/web library is in maintenance mode and does not implement the Expressive APIs; CSS transitions on border-radius only approximate shape morphing.

Why should I avoid hardcoded hex colors in Material 3 components?▼

Hardcoded hex values break dynamic color, dark mode, and the three user-selectable contrast levels, because MD3 derives all role colors from a seed at runtime. Always reference var(--md-sys-color-*) tokens and pair every container with its designated on-* color.