Minimal Design System 标志

Minimal Design System

社区
holger1411
minimal-design-system

Minimalist design system with shadcn-inspired HSL color tokens and generous whitespace for HTML artifacts, dashboards, and websites. Use when user says "Nutze mein Designsystem" or "use minimal design system" or requests minimal, clean design with Inter font, Tailwind CSS, and professional aesthetics. Provides semantic design tokens (primary, muted, accent, card), button components, and base templates. Never overwrite existing styles - this serves as a starting foundation that can be customized.

概览

发布者holger1411
代码仓库minimal-design-system-skill
技能名称minimal-design-system
星标数
9
复刻数
1
附带文件
7
链接
  • Markdown 格式的指令

    模型按需加载 SKILL.md 文件,因此只有在请求确实与该技能匹配时才会消耗 Token。

  • 兼容任何大语言模型

    AI 技能采用纯 Markdown,而非特定提供商的代码,因此可搭配 GPT、Claude、Gemini、Grok 或本地模型使用。

  • 7 个附带文件

    模型执行任务时可读取的脚本、模板和参考资料。这些文件为只读文件,绝不会被执行。

  • 开源

    由 holger1411 发布于 GitHub。请在安装前查看技能的源文件。

安装

在 TypingMind 中安装 Minimal Design System AI 技能,即可搭配任意大语言模型使用;也可以将其放入其他支持读取 SKILL.md 的智能体中。

1

安装到 TypingMind

TypingMind 可直接从 GitHub 文件夹安装技能:读取 SKILL.md,打包资源文件,并将结果保存在本地。

  1. 打开应用,前往“插件 → 技能”。
  2. 选择“从 GitHub 安装”。
  3. 粘贴下方的技能文件夹 URL 并确认。
    https://github.com/holger1411/minimal-design-system-skill/tree/main/minimal-design-system
  4. 请在每个需要使用该技能的聊天中启用它。
依次选择“插件 → 技能 → 添加技能 → 从 GitHub URL 导入”,然后粘贴文件夹 URL 并点击“继续”。
2

安装到其他智能体

任何支持 Agent Skills 格式的智能体都可以使用此技能,只需将文件夹复制到该智能体的技能目录中。

Claude Code — .claude/skills
git clone --depth 1 https://github.com/holger1411/minimal-design-system-skill.git /tmp/minimal-design-system-skill
mkdir -p .claude/skills
cp -r /tmp/minimal-design-system-skill/minimal-design-system .claude/skills/minimal-design-system
复制后,请重启 Claude Code,以加载新技能。

在 TypingMind 中使用此技能

在任意 TypingMind 聊天中启用 Minimal Design System,后续即可交由模型处理。技能的名称和描述会放在系统提示词中,一旦请求匹配,模型就会自动加载完整指令,无需您手动调用,且在实际使用前不会消耗 Token。

一旦请求与技能匹配,模型就会自动加载 Minimal Design System。

兼容任何 AI 模型

AI 技能是纯 Markdown 指令,而非特定提供商的代码,因此 Minimal Design System 不局限于最初适配的模型。只需在 TypingMind 中安装一次,即可搭配 GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 或您自行运行的本地模型使用,全程使用您自己的 API 密钥。

  • 仅在需要时加载

    系统提示词中仅包含技能名称和描述。首次遇到匹配的请求时才会加载完整指令,因此技能未使用时,这些指令不会消耗 Token。

  • 在聊天中切换模型

    技能是指令而非代码,因此切换模型不会导致技能失效,新模型会读取同一个 SKILL.md。

技能指令

这是模型会加载的 SKILL.md 内容。请在安装前阅读,因为技能就是模型将遵循的指令。

Minimal Design System

Version: v2.0

A minimalist design system combining shadcn-inspired HSL color tokens with generous whitespace. Built with Tailwind CSS and Inter font.

What's New in v2.0

  • HSL Color System: Flexible color tokens using HSL values (shadcn-style)
  • Semantic Token Names: --primary, --muted, --accent, --card, etc.
  • Auto Dark Mode: via prefers-color-scheme (no JavaScript required)
  • Backdrop Blur Headers: Modern sticky header pattern
  • Improved Component Library: Cards, badges, alerts with opacity modifiers

Tailwind CSS

This design system is built on Tailwind CSS. Always use the latest version via CDN:

html
<script src="https://cdn.tailwindcss.com"></script>

Documentation & Research

  • Official Documentation: https://tailwindcss.com/docs/
  • When implementing complex layouts, always research the official Tailwind documentation first
  • Use Tailwind's standard patterns and utilities rather than custom CSS where possible

Core Design Philosophy

  1. Generous Whitespace: Large gaps between sections for breathing room
  2. Clear Hierarchy: Typography-driven visual hierarchy (size, weight, tracking)
  3. Minimal Color: Semantic tokens with neutral palette, status colors only when needed
  4. Readable: Max 65-75 characters per line for text content
  5. Auto Dark Mode: Perfect light/dark mode symmetry via CSS media query
  6. Consistent: Same design patterns across all pages and components
  7. Accessible: WCAG AA compliance minimum, focus states, proper contrast

When to Use This Skill

Apply this design system when:

  • User says "Nutze mein Designsystem" or "use minimal design system"
  • Creating new HTML artifacts, dashboards, or websites
  • User requests minimal, clean, or professional design
  • Starting a new project that needs consistent styling

Quick Start Template

html
<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Page Title</title>
  
  <script src="https://cdn.tailwindcss.com"></script>
  <link rel="preconnect" href="https://fonts.googleapis.com">
  <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
  <link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap" rel="stylesheet">
  
  <style>
    :root {
      --background: 0 0% 100%;
      --foreground: 240 10% 3.9%;
      --card: 0 0% 100%;
      --card-foreground: 240 10% 3.9%;
      --primary: 240 5.9% 10%;
      --primary-foreground: 0 0% 98%;
      --secondary: 240 4.8% 95.9%;
      --secondary-foreground: 240 5.9% 10%;
      --muted: 240 4.8% 95.9%;
      --muted-foreground: 240 3.8% 46.1%;
      --accent: 240 4.8% 95.9%;
      --accent-foreground: 240 5.9% 10%;
      --border: 240 5.9% 90%;
      --ring: 240 5.9% 10%;
      --radius: 0.5rem;
    }
    
    @media (prefers-color-scheme: dark) {
      :root {
        --background: 240 10% 3.9%;
        --foreground: 0 0% 98%;
        --card: 240 10% 3.9%;
        --card-foreground: 0 0% 98%;
        --primary: 0 0% 98%;
        --primary-foreground: 240 5.9% 10%;
        --secondary: 240 3.7% 15.9%;
        --secondary-foreground: 0 0% 98%;
        --muted: 240 3.7% 15.9%;
        --muted-foreground: 240 5% 64.9%;
        --accent: 240 3.7% 15.9%;
        --accent-foreground: 0 0% 98%;
        --border: 240 3.7% 15.9%;
        --ring: 240 4.9% 83.9%;
      }
    }
    
    * { font-family: 'Inter', system-ui, sans-serif; }
    body { background-color: hsl(var(--background)); color: hsl(var(--foreground)); }
    
    .text-muted { color: hsl(var(--muted-foreground)); }
    .bg-muted { background-color: hsl(var(--muted)); }
    .bg-card { background-color: hsl(var(--card)); }
    .border-default { border-color: hsl(var(--border)); }
    .bg-primary { background-color: hsl(var(--primary)); }
    .text-primary-foreground { color: hsl(var(--primary-foreground)); }
    
    a:focus-visible, button:focus-visible {
      outline: 2px solid hsl(var(--ring));
      outline-offset: 2px;
    }
  </style>
</head>
<body class="min-h-screen">
  
  <!-- Header -->
  <header class="sticky top-0 z-50 border-b border-default bg-[hsl(var(--background))]/95 backdrop-blur supports-[backdrop-filter]:bg-[hsl(var(--background))]/60">
    <div class="max-w-4xl mx-auto px-6 h-16 flex items-center justify-between">
      <a href="#" class="text-xl font-bold tracking-tight">Logo</a>
      <nav class="flex items-center gap-6">
        <a href="#" class="text-sm text-muted hover:text-[hsl(var(--foreground))] transition-colors">Link</a>
      </nav>
    </div>
  </header>

  <main class="max-w-4xl mx-auto px-6 py-16">
    <!-- Content -->
  </main>

  <footer class="border-t border-default mt-16">
    <div class="max-w-4xl mx-auto px-6 py-8">
      <p class="text-sm text-muted">© 2025 Company</p>
    </div>
  </footer>

</body>
</html>

Design Tokens

All design tokens are documented in references/design-tokens.md.

Color Token Reference

TokenLight ModeDark ModeUsage
--backgroundWhiteNear-blackPage background
--foregroundNear-blackWhitePrimary text
--primaryNear-blackWhiteButtons, emphasis
--primary-foregroundWhiteNear-blackText on primary
--mutedLight grayDark graySubtle backgrounds
--muted-foregroundMedium grayLight graySecondary text
--borderLight grayDark grayBorders, dividers
--cardWhiteNear-blackCard backgrounds
--ringNear-blackLight grayFocus rings

Using Colors

css
/* Basic usage */
background-color: hsl(var(--background));
color: hsl(var(--foreground));

/* With opacity */
background-color: hsl(var(--background) / 0.8);

/* In Tailwind classes */
class="bg-[hsl(var(--primary))] text-[hsl(var(--primary-foreground))]"

/* Using utility classes */
class="text-muted bg-muted border-default"

Components

Buttons

Primary Button
html
<button class="inline-flex items-center justify-center h-11 px-8 bg-primary text-primary-foreground text-sm font-medium rounded-md hover:opacity-90 transition-opacity">
  Button
</button>
Secondary Button
html
<button class="inline-flex items-center justify-center h-11 px-8 border border-default text-sm font-medium rounded-md hover:bg-muted transition-colors">
  Button
</button>
Button with Icon
html
<button class="inline-flex items-center justify-center gap-2 h-10 px-4 bg-primary text-primary-foreground text-sm font-medium rounded-md hover:opacity-90 transition-opacity">
  <svg class="w-4 h-4" ...></svg>
  Button
</button>

Cards

html
<article class="p-6 rounded-lg border border-default bg-card hover:shadow-md transition-shadow">
  <h3 class="font-semibold mb-2">Card Title</h3>
  <p class="text-sm text-muted">Card description text.</p>
</article>

Badges

html
<!-- Neutral -->
<span class="text-xs px-2.5 py-1 rounded-full bg-muted">Tag</span>

<!-- Status: Active/Success -->
<span class="text-xs px-2.5 py-1 rounded-full bg-emerald-500/10 text-emerald-600 dark:text-emerald-400 border border-emerald-500/20">Active</span>

<!-- Status: Warning -->
<span class="text-xs px-2.5 py-1 rounded-full bg-yellow-500/10 text-yellow-600 dark:text-yellow-400 border border-yellow-500/20">Warning</span>

<!-- Status: Info -->
<span class="text-xs px-2.5 py-1 rounded-full bg-blue-500/10 text-blue-600 dark:text-blue-400 border border-blue-500/20">Info</span>

<!-- Status: Error -->
<span class="text-xs px-2.5 py-1 rounded-full bg-red-500/10 text-red-600 dark:text-red-400 border border-red-500/20">Error</span>

Alerts

html
<!-- Warning Alert -->
<div class="p-3 rounded bg-yellow-500/10 border border-yellow-500/20">
  <p class="text-sm text-yellow-600 dark:text-yellow-400">⚠️ Warning message here.</p>
</div>

<!-- Info Alert -->
<div class="p-3 rounded bg-blue-500/10 border border-blue-500/20">
  <p class="text-sm text-blue-600 dark:text-blue-400">ℹ️ Info message here.</p>
</div>

<!-- Success Alert -->
<div class="p-3 rounded bg-emerald-500/10 border border-emerald-500/20">
  <p class="text-sm text-emerald-600 dark:text-emerald-400">✓ Success message here.</p>
</div>

Progress Bars

html
<div class="h-2 rounded-full bg-muted overflow-hidden">
  <div class="h-full w-[75%] bg-emerald-500 rounded-full"></div>
</div>

Forms

html
<input 
  type="email" 
  placeholder="your@email.com"
  class="h-11 px-4 rounded-md border border-default bg-[hsl(var(--background))] text-sm focus:outline-none focus:ring-2 focus:ring-[hsl(var(--ring))] focus:ring-offset-2"
  aria-label="Email address"
>

Layout Patterns

Sticky Header with Backdrop Blur

html
<header class="sticky top-0 z-50 border-b border-default bg-[hsl(var(--background))]/95 backdrop-blur supports-[backdrop-filter]:bg-[hsl(var(--background))]/60">
  <div class="max-w-4xl mx-auto px-6 h-16 flex items-center justify-between">
    <!-- Content -->
  </div>
</header>

Hero Section (for landing pages)

html
<section class="py-24 md:py-32">
  <div class="max-w-2xl">
    <p class="text-muted mb-4">Tagline</p>
    <h1 class="text-4xl md:text-5xl font-bold tracking-tight mb-6">Main Headline</h1>
    <p class="text-xl text-muted mb-8 leading-relaxed">Supporting description.</p>
    <div class="flex flex-wrap gap-4">
      <!-- Buttons -->
    </div>
  </div>
</section>

Section with Border

html
<section class="py-16 border-t border-default">
  <h2 class="text-2xl font-semibold tracking-tight mb-8">Section Title</h2>
  <!-- Content -->
</section>

Grid Layouts

html
<!-- Stats Grid -->
<div class="grid grid-cols-2 md:grid-cols-4 gap-4">
  <!-- Cards -->
</div>

<!-- Content + Sidebar -->
<div class="grid md:grid-cols-3 gap-12">
  <div class="md:col-span-2">Main content</div>
  <div>Sidebar</div>
</div>

<!-- Dashboard Grid -->
<div class="grid md:grid-cols-3 gap-6">
  <!-- Cards -->
</div>

Typography

Headings

html
<h1 class="text-4xl md:text-5xl font-bold tracking-tight">Hero Title</h1>
<h2 class="text-2xl font-semibold tracking-tight">Section Title</h2>
<h3 class="font-semibold">Card Title</h3>

Body Text

html
<p class="text-muted leading-relaxed">Body paragraph with relaxed line height.</p>
<p class="text-xl text-muted">Lead paragraph, larger text.</p>
<p class="text-sm text-muted">Caption or secondary text.</p>

Links

html
<a href="#" class="text-sm text-muted hover:text-[hsl(var(--foreground))] transition-colors">Link</a>

Container Widths

ClassWidthUse Case
max-w-7xl1280pxDashboards, admin panels
max-w-4xl896pxPersonal pages, portfolios
max-w-3xl768pxBlog posts, articles
max-w-2xl672pxText blocks, forms

Spacing Guidelines

Section Spacing

  • Hero padding: py-24 or py-32
  • Section padding: py-16
  • Footer margin: mt-16

Element Spacing

  • Card padding: p-6
  • Button height: h-11 (44px) or h-10 (40px)
  • Gaps: gap-4, gap-6, gap-8
  • Margins between elements: mb-4, mb-6, mb-8

Dark Mode

The design system uses prefers-color-scheme: dark for automatic dark mode. No JavaScript required.

For dashboards that should always be dark, use only the dark mode tokens:

css
:root {
  --background: 240 10% 3.9%;
  --foreground: 0 0% 98%;
  /* ... all dark mode values ... */
}

Accessibility Checklist

  • Color contrast ≥ 4.5:1 for text, ≥ 3:1 for large text
  • Focus visible indicators (focus:ring-2)
  • Touch targets ≥ 44x44px (h-11)
  • Semantic HTML (header, main, section, article, footer)
  • Aria labels for icon-only buttons
  • Aria-hidden on decorative SVGs
  • Proper heading hierarchy

Resources

  • assets/base-template.html - Starter template
  • assets/showcase.html - Component reference
  • references/design-tokens.md - Complete token documentation
  • references/button-components.md - Button variations
  • references/components.md - Full component library
  • references/overflow-carousel.md - Carousel pattern

Examples

See the /examples folder for complete implementations:

  • blog.html - Minimalist blog with articles
  • frontend-engineer.html - Personal portfolio page
  • mars-dashboard.html - Dashboard (dark mode)

附带文件

技能加载后,模型会按需读取这些文件。它们仅作为可读文件提供,绝不会被执行。

常见问题

Minimal Design System AI 技能有什么作用?

Minimalist design system with shadcn-inspired HSL color tokens and generous whitespace for HTML artifacts, dashboards, and websites. Use when user says "Nutze mein Designsystem" or "use minimal design system" or requests minimal, clean design with Inter font, Tailwind CSS, and professional aesthetics. Provides semantic design tokens (primary, muted, accent, card), button components, and base templates. Never overwrite existing styles - this serves as a starting foundation that can be customized.

为什么在 TypingMind 中使用 Minimal Design System?

因为您只需安装一次,就能搭配任何模型使用。Minimal Design System 采用纯 Markdown 格式,而非特定提供商专用的代码,因此同一技能可用于 GPT-5、Claude、Gemini、Grok 或本地模型。您甚至可以在聊天中途切换模型,而不会影响技能的正常使用。TypingMind 使用您自己的 API 密钥,因此您直接向提供商付费,而不是按席位订阅;您的技能和聊天记录也都保留在您自己的存储空间中。

如何在 TypingMind 中安装 Minimal Design System?

在 TypingMind 中打开“插件 → 技能 → 从 GitHub 安装”,然后粘贴 https://github.com/holger1411/minimal-design-system-skill/tree/main/minimal-design-system。TypingMind 会读取其中的 SKILL.md,打包相关文件,并将其安装为技能,供您在各个聊天中按需启用。

哪些 AI 模型可以使用 Minimal Design System?

您在 TypingMind 中连接的任何模型都可以。AI 技能采用纯 Markdown 指令,而非特定提供商专用的代码,因此 GPT、Claude、Gemini、Grok 和本地模型都能在请求匹配时加载此技能。

Minimal Design System 可以搭配多少个 AI 模型使用?

数量不限。只要模型支持技能,您就可以将它与 Minimal Design System 搭配使用。GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 等模型都可以通过您自己的 API 密钥接入 TypingMind。

Minimal Design System AI 技能免费吗?

holger1411 已在 GitHub 上发布了该技能。请查看代码仓库了解许可条款。您只需向自己的 AI 提供商支付所用 Token 的费用。

什么是 AI 技能?

AI 技能是一组可复用的指令,用于教会 AI 模型完成某项特定任务。它遵循开放的 Agent Skills 格式:包含名称和描述的 SKILL.md 文件,以及模型可能需要的脚本、模板或参考文件。模型仅在您的请求与技能匹配时才会读取这些指令,因此已安装的技能在使用前不会产生任何费用。

AI 技能与插件或 MCP 服务器有何不同?

插件或 MCP 服务器为模型提供可调用的新工具,也就是在某处运行并返回结果的代码。AI 技能则为模型提供知识和流程:如何处理任务、遵循哪些步骤,以及怎样的输出才算优质。技能采用纯 Markdown 格式,因此不需要服务器、API 密钥或运行时环境,并且适用于任何模型。

查看全部

立即创建您自己的 AI 工作区

订阅我们的电子简报,获取新功能和后续赠奖活动的通知 👇