返回顶部
t

terminal-ui-design-system 终端UI设计系统

Create terminal-inspired UI interfaces with macOS-style window decorations, monospace typography, and a warm color palette. Use this skill when building developer tools, code marketplaces, technical documentation sites, or any interface that benefits from a terminal/command-line aesthetic. Provides complete design system specifications including color palette, typography, spacing, components, and CSS implementation details.

作者: admin | 来源: ClawHub
源自
ClawHub
版本
V 1.0.0
安全检测
已通过
1,884
下载量
免费
免费
1
收藏
概述
安装方式
版本历史

terminal-ui-design-system

终端UI设计系统

一个全面的设计系统,用于创建受终端启发的用户界面,包含macOS风格的窗口装饰、等宽字体和温暖、开发者友好的调色板。该设计系统针对开发者工具、代码市场、技术文档以及任何受益于命令行美学的界面进行了优化。

设计理念

核心原则:

  • - 终端美学:使用彩色圆点、等宽字体和命令行语法模仿macOS终端窗口
  • 开发者优先:使用语法高亮颜色、类似代码的结构和终端隐喻
  • 温暖友好:温暖的赤陶主色(#cc7a60)营造友好、不令人生畏的感觉
  • 高对比度:通过鲜明的文本颜色和背景实现清晰的视觉层次
  • 功能性美感:每个设计元素在保持视觉吸引力的同时都有其用途

颜色系统

主色调

品牌主色:

  • - --primary: #cc7a60 - 温暖的赤陶/橙棕色,用于主要操作、强调和高亮
  • --primary-foreground: #fff - 主色背景上的白色文本
  • --primary-dark: #b56850 - 悬停状态的深色变体
  • --primary-light: #d8907a - 微妙强调的浅色变体
  • --ring: #cc7a60 - 焦点环颜色(与主色相同)

温暖强调色:

  • - --warm-red: #c85a3f - 用于代码块边框和温暖强调

语义颜色

背景:

  • - --background: #fff - 纯白用于主要背景
  • --bg-main: #f8f8f8 - 浅灰用于页面背景(带有细微网格图案)
  • --bg-card: #fff - 白色用于卡片组件
  • --bg-code: #fafafa - 非常浅的灰色用于代码块和窗口标题
  • --secondary: #f9fafb - 浅灰用于次要背景
  • --muted: #f3f4f6 - 柔和的灰色用于细微背景

文本颜色:

  • - --foreground: #111827 - 近乎黑色用于主要文本(极佳可读性)
  • --text-primary: #111827 - 主要文本颜色
  • --text-secondary: #666666 - 中灰用于次要文本
  • --text-muted: #5b6370 - 柔和的灰色用于不太重要的文本
  • --muted-foreground: #5b6370 - 柔和背景上的前景色

边框:

  • - --border: #8b929e - 中灰用于主要边框
  • --border-light: #e5e7eb - 浅灰用于细微分隔线
  • --input: #8b929e - 输入框边框颜色

状态颜色:

  • - --success: #22c55e - 绿色用于成功状态
  • --warning: #f59e0b - 琥珀色用于警告
  • --danger: #ef4444 - 红色用于错误/破坏性操作
  • --accent: #f59e0b - 琥珀色强调色

语法高亮颜色

代码语法:

  • - --syntax-keyword: #cc7a60 - 关键字的主色(const, export等)
  • --syntax-string: #22c55e - 字符串的绿色
  • --syntax-number: #cc7a60 - 数字的主色
  • --syntax-comment: #6a9955 - 注释的柔和绿色
  • --syntax-function: #dcdcaa - 函数名的浅黄色

命令前缀:

  • - 命令前缀($)使用荧光绿:#39ff14 - 营造终端外观

代码元素:

  • - --text-comment: #6a9955 - 注释文本颜色

macOS窗口圆点

终端窗口控件:

  • - --dot-red: #ff5f57 - 关闭按钮(macOS红色)
  • --dot-yellow: #febc2e - 最小化按钮(macOS黄色)
  • --dot-green: #28c840 - 最大化按钮(macOS绿色)

颜色使用指南

主色(#cc7a60)使用:

  • - 导航中的命令关键字
  • 提示符(>)
  • 激活状态和高亮
  • 焦点环
  • 悬停边框
  • 激活时的主要按钮
  • 图表线和数据可视化

荧光绿(#39ff14)使用:

  • - 命令前缀($)- 营造真实的终端感觉
  • 仅用于美元符号,绝不用于其他元素

绿色(#22c55e)使用:

  • - 成功指示器
  • 状态圆点(在线/就绪)
  • 代码中的字符串字面量
  • 积极操作

蓝色(#3b82f6)使用:

  • - 命令关键字(cd, watch, man, api)
  • 代码关键字(const, let, var)
  • 链接和交互元素

排版系统

字体家族

主要字体栈:
css
--font-mono: JetBrains Mono, JetBrains Mono Fallback, Fira Code, Consolas, monospace;

  • - 主要:JetBrains Mono(400-800字重)
  • 后备:Fira Code, Consolas, 系统等宽字体
  • 用于:所有UI文本、导航、按钮、代码块

无衬线后备:
css
--font-sans: ui-sans-serif, system-ui, sans-serif, Apple Color Emoji, Segoe UI Emoji, Segoe UI Symbol, Noto Color Emoji;

  • - 仅作为后备使用,优先使用等宽字体

字号比例

基础单位系统:

  • - --text-xs: 0.75rem(12px)- 小标签、提示、窗口状态
  • --text-sm: 0.875rem(14px)- 次要文本、描述
  • --text-base: 1rem(16px)- 正文文本、默认大小
  • --text-lg: 1.125rem(18px)- 略微强调的文本
  • --text-xl: 1.25rem(20px)- 副标题
  • --text-2xl: 1.5rem(24px)- 章节标题
  • --text-3xl: 1.875rem(30px)- 大数字、统计数据
  • --text-4xl: 2.25rem(36px)- 英雄数字
  • --text-5xl: 3rem(48px)- 大标题
  • --text-6xl: 3.75rem(60px)- 超大标题

字重:

  • - --font-weight-normal: 400 - 正文文本
  • --font-weight-medium: 500 - 中等强调
  • --font-weight-semibold: 600 - 半粗体(关键字、标签)
  • --font-weight-bold: 700 - 粗体(标题、重要文本)
  • --font-weight-extrabold: 800 - 超粗体(英雄文本)

行高:

  • - --leading-tight: 1.25 - 标题的紧凑间距
  • --leading-relaxed: 1.625 - 正文的宽松间距

排版使用

标题:

  • - 英雄标题:3.5rem,字重700,行高1.1
  • 章节标题:2.5rem,字重700
  • FAQ标题:2rem,字重700

正文:

  • - 默认:1rem,字重400,行高1.5
  • 次要:0.875rem,颜色--text-secondary
  • 柔和:0.75rem,颜色--text-muted

代码/命令文本:

  • - 始终使用等宽字体
  • 命令前缀:荧光绿(#39ff14)
  • 关键字:主色(#cc7a60)或蓝色(#3b82f6)
  • 标志/参数:默认前景色

间距系统

基础单位: --spacing: 0.25rem(4px)

间距比例:

  • - --spacing-xs: 4px(0.25rem)- 紧凑间距、图标内边距
  • --spacing-sm: 8px(0.5rem)- 小间距、按钮内边距
  • --spacing-md: 16px(1rem)- 标准间距、卡片内边距
  • --spacing-lg: 24px(1.5rem)- 大间距、章节

标签

skill ai

通过对话安装

该技能支持在以下平台通过对话安装:

OpenClaw WorkBuddy QClaw Kimi Claude

方式一:安装 SkillHub 和技能

帮我安装 SkillHub 和 terminal-ui-website-design-1776371935 技能

方式二:设置 SkillHub 为优先技能安装源

设置 SkillHub 为我的优先技能安装源,然后帮我安装 terminal-ui-website-design-1776371935 技能

通过命令行安装

skillhub install terminal-ui-website-design-1776371935

下载

⬇ 下载 terminal-ui-design-system v1.0.0(免费)

文件大小: 17.28 KB | 发布时间: 2026-4-17 16:09

v1.0.0 最新 2026-4-17 16:09
Initial release: Introduces a comprehensive terminal-inspired UI design system.

- Provides a full design system mimicking macOS terminal aesthetics, including colored window dots and monospace fonts.
- Defines a warm, developer-friendly color palette optimized for high contrast and syntactic clarity.
- Specifies detailed typography settings using JetBrains Mono and a scalable system for sizes and weights.
- Establishes a consistent spacing and border radius scale for element and layout structure.
- Includes guidelines for color usage, component styling, and CSS variable naming.
- Designed for developer tools, code marketplaces, and technical documentation interfaces.

Archiver·手机版·闲社网·闲社论坛·羊毛社区· 多链控股集团有限公司 · 苏ICP备2025199260号-1

Powered by Discuz! X5.0   © 2024-2025 闲社网·线报更新论坛·羊毛分享社区·http://xianshe.com

p2p_official_large
返回顶部