ClawKit Logo
ClawKitReliability Toolkit
Back to Registry
Official Verified

material-design

Google Material Design 3 实战参考。涵盖 Material You 动态色彩、排版系统、组件规格、Shape 系统、Motion 规范、Dark Theme 适配和 Jetpack Compose/Flutter 对照。适用于 Android 应用、Web 应用和跨平台应用的 UI 设计决策。

skill-install — Terminal

Install via CLI (Recommended)

clawhub install openclaw/skills/skills/bingfoon/material-design
Or

Google Material Design 3 实战参考

Material Design 3(Material You)的实战速查,覆盖色彩、排版、组件和动效。

适用场景

  • Android 应用 UI 设计(Jetpack Compose / XML Views)
  • Flutter 跨平台应用
  • Web 应用使用 Material 组件库(MUI / Angular Material)
  • 审计现有 UI 是否符合 Material 3 规范

不适用

  • macOS / iOS 原生应用(参考 apple-hig)
  • Windows 原生应用(参考 fluent-design)

1. 核心设计原则

Material 3 的三大支柱:

原则含义实践
Personal(个性化)适应用户偏好Dynamic Color 从壁纸取色
Adaptive(自适应)适应各种设备响应式布局、折叠屏支持
Expressive(表达力)丰富的视觉表达大圆角、色彩层次、motion

与 Apple HIG / Fluent 的区别

Apple:   做减法,克制,内容优先
Fluent:  融入环境(Mica/Acrylic),层次丰富
Material: 做加法,表达力强,色彩大胆,圆角更大

2. 色彩系统(Dynamic Color)

Material 3 色彩方案

M3 使用 色调调色板(Tonal Palette) 生成完整配色:

Source Color(种子色)
  → Primary Palette(主色调 13 级)
  → Secondary Palette(辅色调 13 级)
  → Tertiary Palette(第三色调 13 级)
  → Neutral Palette(中性色 13 级)
  → Neutral Variant Palette(中性变体 13 级)
  → Error Palette(错误色 13 级)

关键色槽(Key Color Roles)

角色LightDark用途
PrimaryTone 40Tone 80主要交互元素(FAB、按钮)
On PrimaryTone 100Tone 20Primary 上的文字/图标
Primary ContainerTone 90Tone 30次要强调容器
On Primary ContainerTone 10Tone 90容器上的内容
SecondaryTone 40Tone 80次要交互元素
TertiaryTone 40Tone 80对比/强调
SurfaceTone 99Tone 6页面主背景
Surface VariantTone 90Tone 30卡片/区块背景
On SurfaceTone 10Tone 90主文字
On Surface VariantTone 30Tone 80辅助文字
OutlineTone 50Tone 60边框
Outline VariantTone 80Tone 30弱边框/分隔线
Error#B3261E#F2B8B5错误状态
BackgroundTone 99Tone 6窗口背景

Dynamic Color(Material You)

Android 12+ 支持从壁纸自动提取 Source Color:

// Jetpack Compose
val colorScheme = if (dynamicColor && Build.VERSION.SDK_INT >= Build.VERSION_CODES.S) {
    dynamicLightColorScheme(context) // 或 dynamicDarkColorScheme
} else {
    lightColorScheme(primary = Purple40, ...)
}

手动生成配色

使用 Google 官方工具:


3. 排版

字体栈

Android: Roboto(系统默认)
Web:     'Roboto', system-ui, sans-serif
iOS:     SF Pro(Flutter 自动适配)

Type Scale

Metadata

Author@bingfoon
Stars4473
Views1
Updated2026-05-01
View Author Profile
AI Skill Finder

Not sure this is the right skill?

Describe what you want to build — we'll match you to the best skill from 16,000+ options.

Find the right skill
Add to Configuration

Paste this into your clawhub.json to enable this plugin.

{
  "plugins": {
    "official-bingfoon-material-design": {
      "enabled": true,
      "auto_update": true
    }
  }
}
Safety NoteClawKit audits metadata but not runtime behavior. Use with caution.