Glassmorphism logo

Glassmorphism

Community
zhaiyateng
glassmorphism

毛玻璃风格(Glassmorphism):彩色渐变背景上叠加半透明磨砂玻璃卡片(backdrop-blur + 白色半透明 + 细亮边框 + 柔和阴影),通透、现代、有层次。适合 AI 产品、SaaS 官网、Dashboard、演示 Demo。Use when the user asks for glassmorphism, glass, frosted-glass, translucent, blurred-glass cards, or a colorful modern gradient aesthetic.

Overview

Publisherzhaiyateng
Repositorydsh-design-skills
Skill nameglassmorphism
Stars
26
Forks
0
Bundled files
Instructions only
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • Self-contained

    Everything the model needs lives in the instructions — no extra files to sync.

  • Open source

    Published by zhaiyateng on GitHub. Read the source before you install it.

Installation

Install the Glassmorphism AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/zhaiyateng/dsh-design-skills/tree/main/skills/glassmorphism
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/zhaiyateng/dsh-design-skills.git /tmp/dsh-design-skills
mkdir -p .claude/skills
cp -r /tmp/dsh-design-skills/skills/glassmorphism .claude/skills/glassmorphism
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Glassmorphism in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Glassmorphism on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Glassmorphism is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

毛玻璃风格(Glassmorphism)

本风格为本仓库原创规范,无第三方来源引用。

设计总原则

  1. 渐变背景是基础:页面必须有生动的彩色渐变底(如深蓝→紫→粉、或青→蓝→紫),玻璃效果才成立。渐变要大而柔,避免生硬色块。
  2. 玻璃卡片 = 半透明 + 模糊:卡片核心是
    css
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.25);
  3. 细亮边框:玻璃边缘用 rgba(255,255,255,0.2~0.3) 的 1px 亮边,模拟玻璃折射高光。
  4. 柔和阴影:0 8px 32px rgba(0, 0, 0, 0.35) 这类大半径柔阴影,让卡片"浮"在背景上。
  5. 白色文字为主:渐变背景通常深色,文字用白色及半透明白(rgba(255,255,255,.7))。
  6. 内部元素透明叠加:玻璃卡内部再放半透明白色小元素(按钮、标签),形成层次。

必用 Token

css
:root {
  /* 渐变背景 */
  --gradient-bg: linear-gradient(135deg, #0f0c29, #302b63 50%, #24243e);

  /* 玻璃 */
  --glass-bg:        rgba(255, 255, 255, 0.12);
  --glass-border:    1px solid rgba(255, 255, 255, 0.25);
  --glass-blur:      blur(20px);
  --glass-shadow:    0 8px 32px rgba(0, 0, 0, 0.35);

  /* 文字 */
  --text:            #ffffff;
  --text-muted:      rgba(255, 255, 255, 0.72);
  --text-subtle:     rgba(255, 255, 255, 0.5);

  --radius: 20px;
  --font-sans: -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'Segoe UI', Roboto, sans-serif;
  --font-mono: ui-monospace, 'SF Mono', Menlo, Consolas, monospace;
}

排版规范

  • 标题:font-weight 600-700,白色,可带很淡的辉光(text-shadow: 0 0 40px rgba(255,255,255,.15))增强玻璃感。
  • 正文:15-16px / 400 / 1.6,半透明白。
  • 小标签:12px uppercase 半透明白,可放玻璃胶囊里。
  • 避免纯黑文字——背景深色渐变下黑色文字不可读。

组件落地清单

组件规则
背景固定渐变(background-attachment: fixed 或 body 上),可叠加漂浮的半透明光斑(圆/椭圆,低透明度)
玻璃卡片--glass-bg + --glass-border + blur(20px) + 柔和阴影,圆角 20px
按钮玻璃胶囊:半透明白底 + blur + 亮边框;hover 时背景不透明度提升到 0.2
导航顶部横条用玻璃(blur + 半透明白),细亮底边
Hero大标题 + 玻璃卡片承载产品 UI 面板
输入框玻璃凹陷感:半透明白底 + 内亮边
徽章/标签玻璃胶囊,白字
特性卡玻璃卡片网格,hover 时亮边和背景不透明度微升

禁用清单

  • ❌ 纯色平铺背景(没有渐变就没有玻璃可言)
  • ❌ 硬黑边框、粗野主义元素
  • ❌ 深色实心卡片(不透明背景)——必须是半透明
  • ❌ 小范围 blur(<10px 会让玻璃感消失)
  • ❌ 玻璃元素铺满全屏(40-60% 面积上限,其余留给渐变呼吸感)

验收检查

  • 页面有渐变背景(非纯色)
  • 卡片使用 backdrop-filter: blur(≥15px) + 半透明白
  • 卡片有 1px 亮边框 rgba(255,255,255,.2+)
  • 文字为白色系,无纯黑
  • 阴影柔和(大半径 + 透明度)
  • 玻璃元素占比克制(≤60%)

Frequently asked questions

What does the Glassmorphism AI skill do?

毛玻璃风格(Glassmorphism):彩色渐变背景上叠加半透明磨砂玻璃卡片(backdrop-blur + 白色半透明 + 细亮边框 + 柔和阴影),通透、现代、有层次。适合 AI 产品、SaaS 官网、Dashboard、演示 Demo。Use when the user asks for glassmorphism, glass, frosted-glass, translucent, blurred-glass cards, or a colorful modern gradient aesthetic.

Why use Glassmorphism on TypingMind?

Because you install it once and use it with any model. Glassmorphism is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Glassmorphism in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/zhaiyateng/dsh-design-skills/tree/main/skills/glassmorphism. TypingMind reads its SKILL.md and installs it as a skill you can enable per chat.

Which AI models can use Glassmorphism?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Glassmorphism?

As many as you like. As long as a model supports skills, you can use Glassmorphism with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Glassmorphism AI skill free?

It is published on GitHub by zhaiyateng. Check the repository for licensing terms. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇