首页风格模板
StyleKit
风格库模板社区
  1. Home
  2. /Styles
  3. /African Textile
风格目录/非洲纺织

非洲纺织

African Textile

D
51/100较差
给这个风格评分

西非Kente布和Adire扎染为灵感的设计风格,大胆的几何编织图案、大地色与鲜明色彩的碰撞、手工质感。

非洲Kente编织扎染纺织大地手工expressiveboldvibrant
查看完整 Showcase →
模板

适合场景

非洲 / Kente / 编织

设计重点

使用Kente橙 bg-[#c4501f] 和金色 bg-[#f0c75e] 做强调元素

注意事项

禁止使用霓虹色或高饱和荧光色 text-[#00ffff]

Showcase 入口

Showcase 页面的实时预览,点击查看完整体验。

查看完整 Showcase →

配色方案

Primary

#c4501f

Secondary

#2c1810

Accent 1

#f0c75e

Accent 2

#1a5632

Accent 3

#e8d5b5

Accent 4

#80e671

AI 实现评分与反馈组件预览完成度常见问题导出工具

AI 实现文档

先复制硬性提示词,需要时再看设计规范

默认用硬性提示词让 AI 直接生成前端;Design Spec 用来理解、改写和审核风格;Creative Brief 用来早期探索方向。

硬性提示词

默认使用它:复制后追加具体需求,让 AI 直接生成一致、可落地的前端。

什么时候用

  • -要 AI 直接生成页面或组件
  • -需要多轮输出保持一致
  • -担心风格跑偏或变丑

怎么用

  • -复制完整提示词
  • -后面追加具体需求
  • -生成后按禁止项和状态规则检查
STYLEKIT_STYLE_REFERENCE
style_name: 非洲纺织
style_slug: african-textile
style_source: /styles/african-textile

# Hard Prompt

## 什么时候用
当你希望 AI 严格按风格规则生成代码时使用。它是生产界面最稳的默认选择。

## 怎么用
- 把完整提示词复制到 ChatGPT、Claude、Cursor 或其他编码助手。
- 在提示词后追加具体产品、页面或组件需求。
- 生成后按禁止项和交互状态检查,确认没有风格漂移。

请严格遵守以下风格规则并保持一致性,禁止风格漂移。

## 执行要求

- 优先保证风格一致性,其次再做创意延展。
- 遇到冲突时以禁止项为最高优先级。
- 输出前自检:颜色、排版、间距、交互是否仍属于该风格。

## Style Rules

You are an African Textile design style frontend development expert. All generated code must strictly follow these constraints:

## 绝对禁止

- 禁止使用霓虹色或高饱和荧光色 text-[#00ffff]
- 禁止使用柔和粉彩色调 bg-pink-100, bg-purple-100
- 禁止使用纯白背景 bg-white
- 禁止使用玻璃拟态或模糊效果 backdrop-blur
- 禁止省略几何装饰元素
- 禁止使用轻飘快速交互(duration-75 + 大幅位移)

## 必须遵守

- 使用Kente橙 bg-[#c4501f] 和金色 bg-[#f0c75e] 做强调元素
- 使用深木色 bg-[#2c1810] 做主背景传达厚重感
- 使用沙色 bg-[#e8d5b5] 做辅助背景和卡片底色
- 使用森林绿 text-[#1a5632] 做文本和装饰色
- 采用几何条纹、色块等装饰模拟编织图案
- 使用粗边框 border-2 或 border-4 传达织物的结构感
- 组件使用小圆角 rounded-lg 保持手工但不粗糙
- 标题使用 font-bold uppercase tracking-widest 传达庄重感
- 交互节奏保持沉稳,优先使用 duration-300
- 点击态加入按压阻尼(active:scale-[0.98] + active:brightness-90)
- 悬停时允许局部织纹块轻微错位,模拟织物拉扯

## Animation & Interaction Rules

- Heavy tactility: interactions should feel weighted and handcrafted, not floating
- Use deliberate timing around duration-300 for primary hover/active feedback
- Deep press on click: use active:scale-[0.98], active:brightness-90, and shadow collapse
- Woven shifts: geometric accent blocks can move 1-2px on hover to mimic textile tension
- Avoid glitch or jitter motion; movement must stay grounded and physical

## Color Palette

Primary:
- Kente Orange: #c4501f
- Dark Wood: #2c1810
- Gold: #f0c75e
- Forest Green: #1a5632
- Sand: #e8d5b5

## Special Elements

- Kente stripe patterns (repeating color blocks)
- Geometric square and rectangular decorations
- Woven texture overlays
- Bold color block dividers
- Earth-tone gradients

---

# African Textile (非洲纺织) Design System

> 西非Kente布和Adire扎染为灵感的设计风格,大胆的几何编织图案、大地色与鲜明色彩的碰撞、手工质感。

## 核心理念

African Textile(非洲纺织)以西非的Kente编织布和Adire靛蓝扎染为灵感源泉,将数百年的纺织工艺传统转化为充满生命力的数字设计语言。

核心理念:
- 大胆几何:Kente布的经纬编织产生强烈的几何条纹与色块,每种图案都承载着特定的文化含义和社会地位象征
- 大地色调:深木色、赤陶橙、沙金色构成温暖而厚重的色彩基底,呼应非洲大陆的红土与草原
- 手工质感:粗糙的织物纹理、不完美的手工边缘,赋予界面独特的人文温度
- 色彩碰撞:大地暖调与森林绿的鲜明对比,模拟Kente布中亮色条纹穿插于深色背景的视觉冲击

Kente布在阿坎族文化中被称为"国王之布"(nwentoma),其编织技法已被联合国教科文组织列为非物质文化遗产。每一种颜色和图案组合都代表不同的格言、历史事件或哲学理念。

适用场景包括文化品牌、手工艺品电商、教育平台以及任何希望传达力量、传统与大地联结感的项目。

---

## Token 字典(精确 Class 映射)

### 边框
```
宽度: border-2
颜色: border-[#2c1810]
圆角: rounded-lg
```

### 阴影
```
小: shadow-[2px_2px_0px_#2c1810]
中: shadow-[4px_4px_0px_#2c1810]
大: shadow-[6px_6px_0px_#2c1810]
悬停: hover:shadow-[6px_6px_0px_#2c1810]
聚焦: focus:shadow-[0_0_0_3px_rgba(196,80,31,0.2)]
```

### 交互效果
```
悬停位移: (无)
悬停缩放: hover:translate-x-[-2px] hover:translate-y-[-2px]
悬停透明度: (无)
过渡动画: transition-all duration-200 ease-in-out
按下状态: active:translate-x-0 active:translate-y-0
```

### 字体
```
标题: font-bold uppercase tracking-widest text-[#2c1810]
正文: font-sans tracking-wide
等宽: font-mono
```

### 字号
```
Hero: text-4xl md:text-6xl lg:text-7xl
H1: text-3xl md:text-5xl
H2: text-2xl md:text-4xl
H3: text-xl md:text-2xl
正文: text-sm md:text-base
小字: text-xs md:text-sm
```

### 间距
```
Section: py-12 md:py-20 lg:py-28
容器: px-4 md:px-8 lg:px-12
卡片: p-6 md:p-8
小间距: gap-3 md:gap-4
中间距: gap-4 md:gap-6
大间距: gap-6 md:gap-10
```

### 颜色角色
```
背景主色: bg-[#2c1810]
背景辅色: bg-[#e8d5b5]
背景强调色: bg-[#c4501f], bg-[#f0c75e], bg-[#1a5632]
正文主色: text-[#2c1810]
正文辅色: text-[#e8d5b5]
正文弱化色: text-[#2c1810]/60
按钮主色: bg-[#c4501f] text-[#e8d5b5] border-2 border-[#f0c75e]
按钮辅色: bg-[#e8d5b5] text-[#2c1810] border-2 border-[#2c1810]
```

---

## [FORBIDDEN] 绝对禁止

以下 class 在本风格中**绝对禁止使用**,生成时必须检查并避免:

### 禁止的 Class
- `rounded-full`
- `rounded-3xl`
- `bg-white`
- `bg-pink-100`
- `bg-purple-100`
- `text-[#00ffff]`
- `text-[#ff00ff]`
- `backdrop-blur`
- `backdrop-blur-md`
- `backdrop-blur-lg`
- `bg-white/50`
- `bg-white/80`

### 禁止的模式
- 匹配 `^rounded-(?:full|3xl)$`
- 匹配 `^bg-(?:white|pink-[1-3]|purple-[1-3])`
- 匹配 `^text-\[#(?:00ffff|ff00ff)\]`
- 匹配 `^backdrop-blur`

### 禁止原因
- `rounded-full`: African Textile uses angular geometric shapes (rounded-lg), not soft circles
- `bg-white`: African Textile uses earth tones (sand, dark wood), not pure white
- `backdrop-blur`: African Textile emphasizes solid, handcrafted textures over glass effects
- `text-[#00ffff]`: African Textile uses earth and jewel tones, not neon colors

> WARNING: 如果你的代码中包含以上任何 class,必须立即替换。

---

## [REQUIRED] 必须包含

### 按钮必须包含
```
rounded-lg
border-2 border-[#f0c75e]
shadow-[4px_4px_0px_#2c1810]
font-bold uppercase tracking-widest
transition-all duration-200 ease-in-out
```

### 卡片必须包含
```
rounded-lg
bg-[#e8d5b5]
border-2 border-[#2c1810]
shadow-[4px_4px_0px_#2c1810]
```

### 输入框必须包含
```
rounded-lg
border-2 border-[#2c1810]/40
bg-[#e8d5b5]
text-[#2c1810]
focus:border-[#c4501f]
focus:outline-none
```

---

## [COMPARE] African Textile 错误 vs 正确对比

以下错误示例只代表“未经过当前风格适配的通用默认值”,不要把错误示例当成视觉建议。

### 按钮

[WRONG] **错误示例**(通用组件库默认样式,不要直接复制):
```html
<button class="{GENERIC_LIBRARY_BUTTON_DEFAULT}">
  点击我
</button>
```

[CORRECT] **正确示例**(使用当前风格的 token):
```html
<button class="rounded-lg border-2 border-[#f0c75e] shadow-[4px_4px_0px_#2c1810] font-bold uppercase tracking-widest transition-all duration-200 ease-in-out bg-[#c4501f] text-[#e8d5b5] border-2 border-[#f0c75e]">
  点击我
</button>
```

### 卡片

[WRONG] **错误示例**(未经当前风格适配的通用卡片):
```html
<div class="{GENERIC_LIBRARY_CARD_DEFAULT}">
  <h3>{TITLE}</h3>
</div>
```

[CORRECT] **正确示例**(使用当前风格的 card token):
```html
<div class="rounded-lg bg-[#e8d5b5] border-2 border-[#2c1810] shadow-[4px_4px_0px_#2c1810] p-6 md:p-8">
  <h3 class="font-bold uppercase tracking-widest text-[#2c1810] text-xl md:text-2xl">{TITLE}</h3>
</div>
```

### 输入框

[WRONG] **错误示例**(未经当前风格适配的通用输入框):
```html
<input class="{GENERIC_LIBRARY_INPUT_DEFAULT}" />
```

[CORRECT] **正确示例**(使用当前风格的 input token):
```html
<input class="rounded-lg border-2 border-[#2c1810]/40 bg-[#e8d5b5] text-[#2c1810] focus:border-[#c4501f] focus:outline-none" placeholder="{PLACEHOLDER}" />
```

---

## [TEMPLATES] African Textile 页面骨架模板

以下骨架只使用当前风格的 token。替换 `{PLACEHOLDER}` 时,不要移除或替换这些 token:

### 导航栏骨架
```html
<nav class="bg-[#2c1810] text-[#2c1810] border-2 border-[#2c1810] px-4 md:px-8 lg:px-12">
  <div class="flex items-center justify-between max-w-6xl mx-auto gap-4 md:gap-6">
    <a href="/" class="font-bold uppercase tracking-widest text-[#2c1810] text-xl md:text-2xl">
      {LOGO_TEXT}
    </a>
    <div class="flex gap-4 md:gap-6 font-sans tracking-wide text-xs md:text-sm">
      {NAV_LINKS}
    </div>
  </div>
</nav>
```

### Hero 区块骨架
```html
<section class="bg-[#c4501f] text-[#2c1810] py-12 md:py-20 lg:py-28 px-4 md:px-8 lg:px-12">
  <div class="max-w-4xl mx-auto">
    <h1 class="font-bold uppercase tracking-widest text-[#2c1810] text-4xl md:text-6xl lg:text-7xl">
      {HEADLINE}
    </h1>
    <p class="font-sans tracking-wide text-sm md:text-base max-w-xl">
      {SUBHEADLINE}
    </p>
    <button class="rounded-lg border-2 border-[#f0c75e] shadow-[4px_4px_0px_#2c1810] font-bold uppercase tracking-widest transition-all duration-200 ease-in-out bg-[#c4501f] text-[#e8d5b5] border-2 border-[#f0c75e]">
      {CTA_TEXT}
    </button>
  </div>
</section>
```

### 卡片网格骨架
```html
<section class="bg-[#2c1810] text-[#2c1810] py-12 md:py-20 lg:py-28 px-4 md:px-8 lg:px-12">
  <div class="max-w-6xl mx-auto">
    <h2 class="font-bold uppercase tracking-widest text-[#2c1810] text-2xl md:text-4xl">{SECTION_TITLE}</h2>
    <div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-4 md:gap-6">
      <!-- Card template - repeat for each card -->
      <div class="rounded-lg bg-[#e8d5b5] border-2 border-[#2c1810] shadow-[4px_4px_0px_#2c1810] p-6 md:p-8">
        <h3 class="font-bold uppercase tracking-widest text-[#2c1810] text-xl md:text-2xl">{CARD_TITLE}</h3>
        <p class="font-sans tracking-wide text-sm md:text-base text-[#2c1810]/60">{CARD_DESCRIPTION}</p>
      </div>
    </div>
  </div>
</section>
```

### 表单输入骨架
```html
<input class="rounded-lg border-2 border-[#2c1810]/40 bg-[#e8d5b5] text-[#2c1810] focus:border-[#c4501f] focus:outline-none" placeholder="{PLACEHOLDER}" />
```

### 页脚骨架
```html
<footer class="bg-[#e8d5b5] text-[#e8d5b5] py-12 md:py-20 lg:py-28 px-4 md:px-8 lg:px-12">
  <div class="max-w-6xl mx-auto">
    <div class="grid grid-cols-1 md:grid-cols-3 gap-6 md:gap-10">
      <div>
        <span class="font-bold uppercase tracking-widest text-[#2c1810] text-xl md:text-2xl">{LOGO_TEXT}</span>
        <p class="font-sans tracking-wide text-xs md:text-sm">{TAGLINE}</p>
      </div>
      <div>
        <h4 class="font-bold uppercase tracking-widest text-[#2c1810] text-xl md:text-2xl">{COLUMN_TITLE}</h4>
        <ul class="font-sans tracking-wide text-xs md:text-sm">
          {FOOTER_LINKS}
        </ul>
      </div>
    </div>
  </div>
</footer>
```

---

## [CHECKLIST] African Textile 生成后自检清单

**输出代码前,逐项验证当前风格的 token 和规则。如有违反,先修正再交付:**

### Token 检查
- [ ] 按钮包含: `rounded-lg border-2 border-[#f0c75e] shadow-[4px_4px_0px_#2c1810] font-bold uppercase tracking-widest transition-all duration-200 ease-in-out`
- [ ] 卡片包含: `rounded-lg bg-[#e8d5b5] border-2 border-[#2c1810] shadow-[4px_4px_0px_#2c1810]`
- [ ] 输入框包含: `rounded-lg border-2 border-[#2c1810]/40 bg-[#e8d5b5] text-[#2c1810] focus:border-[#c4501f] focus:outline-none`

### 禁止项检查
- [ ] 没有使用 `rounded-full`
- [ ] 没有使用 `rounded-3xl`
- [ ] 没有使用 `bg-white`
- [ ] 没有使用 `bg-pink-100`
- [ ] 没有使用 `bg-purple-100`
- [ ] 没有使用 `text-[#00ffff]`
- [ ] 没有使用 `text-[#ff00ff]`
- [ ] 没有使用 `backdrop-blur`

### 风格规则检查
- [ ] 使用Kente橙 bg-[#c4501f] 和金色 bg-[#f0c75e] 做强调元素
- [ ] 使用深木色 bg-[#2c1810] 做主背景传达厚重感
- [ ] 使用沙色 bg-[#e8d5b5] 做辅助背景和卡片底色
- [ ] 使用森林绿 text-[#1a5632] 做文本和装饰色
- [ ] 采用几何条纹、色块等装饰模拟编织图案

### 风格漂移检查
- [ ] 没有违反:禁止使用霓虹色或高饱和荧光色 text-[#00ffff]
- [ ] 没有违反:禁止使用柔和粉彩色调 bg-pink-100, bg-purple-100
- [ ] 没有违反:禁止使用纯白背景 bg-white
- [ ] 没有违反:禁止使用玻璃拟态或模糊效果 backdrop-blur
- [ ] 没有违反:禁止省略几何装饰元素

### 通用交付检查
- [ ] 响应式布局在手机、平板和桌面下稳定,没有横向溢出
- [ ] 所有交互元素有清晰焦点、可访问名称和 reduced-motion 方案
- [ ] 文本对比度达到 WCAG AA,且没有用颜色单独传递状态
- [ ] 结果仍然能够一眼识别为 African Textile

---

## [EXAMPLES] 示例 Prompt

### 1. 非洲手工艺品展示页

Kente风格的手工艺品展示页面

```
Use African Textile style to create a craft showcase page:
1. Background: dark wood with woven texture
2. Cards: sand-colored with thick borders and offset shadows
3. Decorations: Kente stripe headers and geometric blocks
4. Buttons: orange with gold borders
5. Overall bold, earthy, handcrafted aesthetic
```

### 2. SaaS 着陆页

生成 非洲纺织风格的 SaaS 产品着陆页

```
Create a SaaS landing page using African Textile style with hero section, feature grid, testimonials, pricing table, and footer.
```

### 3. 作品集展示

生成 非洲纺织风格的作品集页面

```
Create a portfolio showcase page using African Textile style with project grid, about section, contact form, and consistent visual language.
```

## 绝对禁止(匹配即拒绝)

以下模式一旦出现,视为风格违规——不找借口,直接重写。

- 使用霓虹色或高饱和荧光色 text-[#00ffff]
- 使用柔和粉彩色调 bg-pink-100, bg-purple-100
- 使用纯白背景 bg-white
- 使用玻璃拟态或模糊效果 backdrop-blur
- 省略几何装饰元素
- 使用轻飘快速交互(duration-75 + 大幅位移)

## 自检清单(交付前逐条确认)

如果任何一条不通过,说明风格漂移了——修改后再交付。

- [ ] 没有紫色到蓝色的渐变
- [ ] 没有使用 Inter / Roboto / Geist 等过度使用的字体
- [ ] 没有嵌套卡片(卡片里面套卡片)
- [ ] 没有在彩色背景上放灰色文字
- [ ] 正文对比度满足 WCAG AA(≥4.5:1)
- [ ] 没有 bounce / elastic 缓动曲线
- [ ] 动效有 prefers-reduced-motion 备选方案
- [ ] 正文行宽不超过 65-75 个字符
- [ ] 没有单侧粗边框装饰(border-left/right accent stripe)
- [ ] 没有渐变文字(background-clip: text)
- [ ] 没有把玻璃态(glassmorphism)当作默认风格
- [ ] 没有 tiny uppercase tracked eyebrow 放在每个 section 标题上面
- [ ] 禁止使用霓虹色或高饱和荧光色 text-[#00ffff]
- [ ] 禁止使用柔和粉彩色调 bg-pink-100, bg-purple-100
- [ ] 禁止使用纯白背景 bg-white
- [ ] 禁止使用玻璃拟态或模糊效果 backdrop-blur
- [ ] 禁止省略几何装饰元素

更多提示词库:全部 UI 提示词 · Tailwind UI 提示词 · 暗色模式提示词

社区

评分与反馈

还没有人评分,来当第一个登录后评分
0 条评论
登录后才能发表评论。 去登录

组件模板

组件预览

按钮

非洲纺织风格按钮,粗边框与大地色

真实前端完成度

暗色、状态、动效与可访问性覆盖

这层检查这个风格是否已经具备真实网站常见的主题、状态反馈、键盘可访问性和性能约束。

总体覆盖

51%

Fallback 规则

暗色模式

0%

缺失

组件状态

79%

部分

动效规则

70%

部分

可访问性

70%

部分

性能代价

35%

通用

关键状态覆盖

light
悬停键盘焦点禁用加载中空状态错误成功

按钮

默认 / 悬停 / 键盘焦点 / 按下 / 禁用

输入框

默认 / 悬停 / 键盘焦点 / 禁用 / 错误

卡片

默认 / 悬停 / 键盘焦点 / 加载中 / 骨架屏

表单

默认 / 键盘焦点 / 禁用 / 加载中 / 错误

落地注意事项

  • 暗色模式需要使用语义 tokens,不要直接把浅色主题反相。
  • 组件至少要覆盖悬停、键盘焦点、禁用、加载、空状态、错误和成功反馈。
  • 可访问性需要检查对比度、键盘导航、44px 点击区域和 reduced-motion。
  • 性能上避免动画改变布局;重 blur/shadow 的风格要控制层数和滚动区域。

常见问题

关于非洲纺织的常见问题

01什么是非洲纺织风格?
西非Kente布和Adire扎染为灵感的设计风格,大胆的几何编织图案、大地色与鲜明色彩的碰撞、手工质感。 它的设计理念:African Textile(非洲纺织)以西非的Kente编织布和Adire靛蓝扎染为灵感源泉,将数百年的纺织工艺传统转化为充满生命力的数字设计语言。 核心理念: - 大胆几何:Kente布的经纬编织产生强烈的几何条纹与色块,每种图案都承载着特定的文化含义和社会地位象征 - 大地色调:深木色、赤陶橙、沙金色构成温暖而厚重的色彩基底,呼应非洲大陆的红土与草原 - 手工质感:粗糙的织物纹理、不完美的手工边缘,赋予界面独特的人文温度 - 色彩碰撞:大地暖调与森林绿的鲜明对比,模拟Kente布中亮色条纹穿插于深色背景的视觉冲击 Kente布在阿坎族文化中被称为"国王之布"(nwentoma),其编织技法已被联合国教科文组织列为非物质文化遗产。每一种颜色和图案组合都代表不同的格言、历史事件或哲学理念。 适用场景包括文化品牌、手工艺品电商、教育平台以及任何希望传达力量、传统与大地联结感的项目。
02非洲纺织风格常用什么配色?
非洲纺织 的主色是 #c4501f,辅色是 #2c1810,强调色包括 #f0c75e、#1a5632、#e8d5b5、#80e671。每个色值都可以在本页色板中复制。
03怎样把非洲纺织风格做对?
关键做法:使用Kente橙 bg-[#c4501f] 和金色 bg-[#f0c75e] 做强调元素. 使用深木色 bg-[#2c1810] 做主背景传达厚重感. 使用沙色 bg-[#e8d5b5] 做辅助背景和卡片底色.
04非洲纺织风格最常见的错误是什么?
应避免:禁止使用霓虹色或高饱和荧光色 text-[#00ffff]. 禁止使用柔和粉彩色调 bg-pink-100, bg-purple-100. 禁止使用纯白背景 bg-white.
05如何让 AI 生成非洲纺织风格的界面?
复制本页提供的 AI 提示词(含设计 tokens 与组件规则),粘贴到 ChatGPT、Claude、Claude Code 或 Codex。提示词中应包含关键词:非洲、Kente、编织、扎染。
全局样式

全局 CSS

css
/* African Textile Global Styles */

:root {
  --at-kente-orange: #c4501f;
  --at-dark-wood: #2c1810;
  --at-gold: #f0c75e;
  --at-forest-green: #1a5632;
  --at-sand: #e8d5b5;
}

/* Kente stripe pattern */
.at-kente-stripe {
  background: repeating-linear-gradient(
    90deg,
    var(--at-kente-orange) 0px,
    var(--at-kente-orange) 20px,
    var(--at-gold) 20px,
    var(--at-gold) 40px,
    var(--at-forest-green) 40px,
    var(--at-forest-green) 60px
  );
}

/* Woven texture overlay */
.at-woven-texture {
  background-image:
    linear-gradient(0deg, rgba(44, 24, 16, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(44, 24, 16, 0.03) 1px, transparent 1px);
  background-size: 8px 8px;
}

/* Geometric block accent */
.at-geo-block {
  border: 2px solid var(--at-dark-wood);
  box-shadow: 4px 4px 0px var(--at-dark-wood);
}

/* Earth tone card */
.at-earth-card {
  background-color: var(--at-sand);
  border: 2px solid var(--at-dark-wood);
  border-radius: 0.5rem;
}

/* Gold accent line */
.at-gold-line {
  height: 3px;
  background: linear-gradient(90deg, var(--at-kente-orange), var(--at-gold), var(--at-forest-green));
}
@keyframes african-textile-fade-in {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes african-textile-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.7; }
}

.african-textile-card {
  position: relative;
  overflow: hidden;
}

.african-textile-card::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.3s ease;
  background: linear-gradient(135deg, rgba(196, 80, 31, 0.05), transparent);
  pointer-events: none;
}

.african-textile-card:hover::before {
  opacity: 1;
}

.african-textile-frosted {
  backdrop-filter: blur(12px) saturate(180%);
  -webkit-backdrop-filter: blur(12px) saturate(180%);
  background: rgba(196, 80, 31, 0.08);
}

.african-textile-accent-corner {
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 2rem), calc(100% - 2rem) 100%, 0 100%);
}

.african-textile-animate-in {
  animation: african-textile-fade-in 0.5s ease-out both;
}

IDE 集成

IDE 配置导出

下载 AI 编码助手的配置文件,使其按照此风格生成代码。

风格包

导出风格包

获取完整的可机器读取风格资源,包括 Design Tokens、Tailwind 预设、CSS 变量和 shadcn/ui 主题。

Metadata

Style metadata including version information

Design Tokens

Figma / Style Dictionary / Tokens Studio 兼容

Tailwind Preset

Tailwind CSS 主题预设,可直接在配置中引用

Global CSS

包含 CSS 变量和基础样式

shadcn Theme

shadcn/ui 主题配置

CSS Variables

纯 CSS 变量,适用于任何项目

SKILL.md

可加载到 Cursor / Claude Code / VS Code 的技能包

设计哲学

African Textile(非洲纺织)以西非的Kente编织布和Adire靛蓝扎染为灵感源泉,将数百年的纺织工艺传统转化为充满生命力的数字设计语言。

无障碍

无障碍评分

基于颜色对比度和排版可读性的 WCAG 2.1 合规分析。

51

综合评分

等级: D - 较差

对比度

分数: 36/100平均比率: 4.68:1
AA 未通过AAA 未通过
场景颜色比率AAAAA
Text on background
/#2c1810 / #2c1810
1:1
Secondary text on background
/#e8d5b5 / #2c1810
11.74:1
Muted text on background
/#2c1810 / #2c1810
1:1
Text on secondary background
/#2c1810 / #e8d5b5
11.74:1
Secondary text on secondary
/#e8d5b5 / #e8d5b5
1:1
Button primary
/#e8d5b5 / #c4501f
3.24:1
Text on accent 1
/#2c1810 / #c4501f
3.63:1
Alt text on accent 1
/#e8d5b5 / #c4501f
3.24:1
Text on accent 2
/#2c1810 / #f0c75e
10.47:1
Alt text on accent 2
/#e8d5b5 / #f0c75e
1.12:1
Text on accent 3
/#2c1810 / #1a5632
1.94:1
Alt text on accent 3
/#e8d5b5 / #1a5632
6.04:1

可读性

分数

87/100

字号

text-sm md:text-base

字重

font-bold uppercase tracking-widest text-[#2c1810]

行高

default

评分基于 WCAG 2.1 标准。AA 级要求普通文本对比度 4.5:1、大文本 3:1;AAA 级要求普通文本 7:1、大文本 4.5:1。

StyleKit

精选网页设计风格库,帮助 AI 生成更好看的网站。

反馈建议支持维护
浏览+
风格库模板动效资源库提示词库主题合集社区
学习与更新+
前端基础指南配方更新日志博客
关于与政策+
关于联系与支持隐私政策服务条款支持我们退款政策

(c) 2026 StyleKit. 开源项目。

闄旾CP澶?025065501鍙?3

刊末信息/SK — 2026

基于 Editorial 风格构建

01反馈与建议告诉我们哪里还可以更好02支持维护如果 StyleKit 恰好帮到了你,欢迎扫码支持。金额随意,每一份心意我都很感谢。

StyleKit

精选网页设计风格库,帮助 AI 生成更好看的网站。

GitHub 仓库

浏览

风格库模板动效资源库提示词库主题合集社区

学习与动态

前端基础指南配方更新日志博客

订阅动态

新风格、模板与工具上线时,第一时间收到通知。

保持更新

订阅即表示您同意我们的 隐私政策 和 服务条款。

(c) 2026 StyleKit. 开源项目。

关于联系与支持隐私政策服务条款支持我们退款政策/陕ICP备2025065501号-3

StyleKit