agentsclimarketplace

Design

Skill LiHongwei-cn/lihongwei-cn/skill-store/skills/design

高级感设计资源库。覆盖色彩系统、字体搭配、图标库、设计工具、灵感来源。From its SKILL.md

Install
npx -y skills add LiHongwei-cn/lihongwei-cn --skill design

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

One thing to look at

  • 2 stars2 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.

SKILL.md

5.1 KB, ~1.9k tokens by cl100k_base, as published. Nobody here has run it

设计资源库

一、色彩系统

深色主题(高级感首选)

:root {
  --bg-primary: #0a0a0f;
  --bg-secondary: #12121a;
  --bg-card: #1a1a2e;
  --text-primary: #e0e0e0;
  --text-secondary: #a0a0a0;
  --accent: #d4af37;      /* 金色 */
  --accent-hover: #f0d060;
  --border: #2a2a3e;
}

浅色主题(专业感)

:root {
  --bg-primary: #ffffff;
  --bg-secondary: #f8f9fa;
  --bg-card: #ffffff;
  --text-primary: #1a1a2e;
  --text-secondary: #6b7280;
  --accent: #2563eb;      /* 蓝色 */
  --accent-hover: #1d4ed8;
  --border: #e5e7eb;
}

配色工具


二、字体搭配

中文字体

  • 思源黑体(Noto Sans CJK):免费商用,现代无衬线
  • 思源宋体(Noto Serif CJK):学术/正式场合
  • 霞鹜文楷(LXGW WenKai):开源楷体,优雅文艺
  • 得意黑(Smiley Sans):开源黑体,设计感强

英文字体

  • Inter:现代无衬线,UI 首选
  • JetBrains Mono:代码字体,程序员最爱
  • Playfair Display:衬线字体,高级感
  • Space Grotesk:几何无衬线,科技感

搭配方案

  1. 现代简洁:Inter + 思源黑体
  2. 学术专业:Playfair Display + 思源宋体
  3. 科技感:Space Grotesk + 得意黑
  4. 文艺清新:LXGW WenKai + Space Grotesk

字体加载

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+SC:wght@300;400;500;700&display=swap');

body {
  font-family: 'Inter', 'Noto Sans SC', -apple-system, sans-serif;
}

三、图标库

1. Lucide Icons ⭐ 12k+

2. Heroicons ⭐ 22k+

3. Phosphor Icons ⭐ 1.5k+

4. Tabler Icons ⭐ 18k+

5. Iconify ⭐ 3k+


四、设计工具

免费

付费

  • Sketch:macOS 专用,UI 设计标杆
  • Adobe XD:Adobe 生态
  • Framer:设计 + 原型 + 代码

五、灵感来源

设计作品

开源设计

设计系统


六、设计原则

视觉层次

  1. 大小:重要内容更大
  2. 粗细:标题粗体,正文常规
  3. 颜色:强调色突出重点
  4. 间距:相关内容靠近,无关内容远离

留白

  • 内容间距:至少 8px
  • 卡片间距:16-24px
  • 区块间距:32-48px
  • 页面边距:至少 24px

一致性

  • 圆角:统一使用 4px/8px/12px
  • 阴影:统一使用一种阴影
  • 动画:统一时长 200-300ms
  • 颜色:只用 2-3 种主色

七、响应式设计

断点

/* 移动端 */
@media (max-width: 640px) { ... }

/* 平板 */
@media (min-width: 641px) and (max-width: 1024px) { ... }

/* 桌面 */
@media (min-width: 1025px) { ... }

最佳实践

  1. 移动优先:先写移动端样式
  2. 流式布局:使用 % 和 vw/vh
  3. 弹性图片:max-width: 100%
  4. 媒体查询:按需添加桌面样式

八、性能优化

图片

  • 格式:WebP > PNG > JPG
  • 尺寸:按需加载,不要过大
  • 懒加载loading="lazy"

字体

  • 子集化:只加载需要的字符
  • 预加载<link rel="preload">
  • 显示策略font-display: swap

CSS

  • 压缩:生产环境压缩 CSS
  • 关键 CSS:内联首屏 CSS
  • 避免嵌套:减少选择器复杂度

What ships with it

Read from the repository

Just SKILL.md. No reference files, no scripts.

Keep looking

Skills are one crate of 326,696. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.