HomeStylesTemplates
StyleKit
StylesTemplates
  1. Home
  2. /Styles
  3. /African Textile
Style Catalog/非洲纺织

非洲纺织

African Textile

D
51/100Poor

Design style inspired by West African Kente cloth and Adire tie-dye, featuring bold geometric weave patterns, earth tones clashing with vivid colors, and handcrafted textures.

非洲Kente编织扎染纺织大地手工expressiveboldvibrant
View Full Showcase →Templates

Best For

非洲 / Kente / 编织

Primary Move

Use Kente orange bg-[#c4501f] and gold bg-[#f0c75e] for accent elements

Watch Out

Do not use neon or high-saturation fluorescent colors text-[#00ffff]

Showcase Entry

Live preview of the showcase page. Click to explore the full experience.

View Full Showcase →

Color Palette

Primary

#c4501f

Secondary

#2c1810

Accent 1

#f0c75e

Accent 2

#1a5632

Accent 3

#e8d5b5

Accent 4

#80e671

AI ImplementationComponent PreviewReadinessExportsRatings & Feedback

AI Implementation

Copy the Hard Prompt first, then use the spec when needed

Use the Hard Prompt by default to generate UI. Use the Design Spec to understand, modify, and review the style. Use the Creative Brief for early exploration.

Hard Prompt

Use this by default: copy it, append the concrete requirement, and let AI generate consistent production UI.

When to use

  • -When AI should generate UI directly
  • -When repeated outputs must stay consistent
  • -When style drift is the main risk

How to use

  • -Copy the full prompt
  • -Append the concrete requirement
  • -Review against forbidden rules and UI states
STYLEKIT_STYLE_REFERENCE
style_name: African Textile
style_slug: african-textile
style_source: /styles/african-textile

# Hard Prompt

## When To Use
Use this when you want AI to generate code with strict style consistency. It is the safest default for production UI.

## How To Use
- Copy the full prompt into ChatGPT, Claude, Cursor, or another coding assistant.
- Append the concrete product/page requirement after the prompt.
- After generation, check the forbidden rules and interaction states before accepting the output.

Strictly follow the style rules below and maintain consistency. No style drift allowed.

## Requirements
- Prioritize style consistency first, then creative extension.
- When conflicts arise, treat prohibitions as the highest priority.
- Self-check before output: verify colors, typography, spacing, and interactions still match this style.

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

## Absolutely Forbidden

- Neon or fluorescent colors (text-[#00ffff], text-[#ff00ff])
- Pastel or soft pink/purple tones (bg-pink-100, bg-purple-100)
- Very round shapes (rounded-full, rounded-3xl)
- Pure white backgrounds (bg-white)
- Glass morphism or blur effects (backdrop-blur)
- Thin hairline borders (border, border-[0.5px])

## Must Follow

- Kente orange #c4501f and gold #f0c75e as primary accents
- Dark wood #2c1810 for backgrounds and text
- Sand #e8d5b5 for card backgrounds
- Forest green #1a5632 for secondary accents
- Bold geometric decorations (stripes, blocks, squares)
- Thick borders border-2 or border-4
- Hard offset shadows shadow-[4px_4px_0px_#2c1810]
- Uppercase bold headings with wide tracking

## 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

Component Templates

Component Preview

按钮

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

Frontend Readiness

Dark Mode, States, Motion, and Accessibility

This layer tracks whether the style is ready for real websites: theme modes, state feedback, keyboard access, and performance constraints.

Overall

51%

Fallback

Dark Mode

0%

Missing

UI States

79%

Partial

Motion

70%

Partial

A11y

70%

Partial

Performance

35%

Fallback

Key State Coverage

light
HoverFocus VisibleDisabledLoadingEmptyErrorSuccess

Button

Default / Hover / Focus Visible / Active / Disabled

Input

Default / Hover / Focus Visible / Disabled / Error

Card

Default / Hover / Focus Visible / Loading / Skeleton

Form

Default / Focus Visible / Disabled / Loading / Error

Implementation Notes

  • No curated dark-mode contract exists yet.
  • Check contrast in both light and dark modes.
  • Check heavy shadows, blur, large media, and scroll-linked effects manually.
  • No style-specific performance cost profile has been curated yet.
Global Styles

Global 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 Integration

IDE Configuration Export

Download configuration files for AI coding assistants to generate code in this style.

Style Pack

Export Style Pack

Get complete machine-readable style assets including design tokens, Tailwind presets, CSS variables, and shadcn/ui themes.

Metadata

Style metadata including version information

Design Tokens

Compatible with Figma / Style Dictionary / Tokens Studio

Tailwind Preset

Tailwind CSS theme preset, import directly in config

Global CSS

CSS variables and base styles

shadcn Theme

shadcn/ui theme configuration

CSS Variables

Pure CSS variables, works with any project

SKILL.md

Loadable skill pack for Cursor / Claude Code / VS Code

Design Philosophy

African Textile draws inspiration from West African Kente weaving and Adire indigo tie-dye, transforming centuries of textile craft traditions into a vibrant digital design language.

Accessibility

Accessibility Score

WCAG 2.1 compliance analysis based on color contrast and typography readability.

51

Overall Score

Grade: D - Poor

Contrast Ratios

Score: 36/100Average Ratio: 4.68:1
AA FailAAA Fail
ContextColorsRatioAAAAA
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

Readability

Score

87/100

Font Size

text-sm md:text-base

Font Weight

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

Line Height

default

Scoring is based on WCAG 2.1 standards. AA requires 4.5:1 contrast for normal text, 3:1 for large text; AAA requires 7:1 for normal text, 4.5:1 for large text.

StyleKit

A curated web design style library to help AI generate better-looking websites.

Navigation

StylesTemplatesGuideBlogChangelog

Resources

UI Design PromptsLanding Page PromptsDashboard PromptsTailwind UI PromptsDark Mode UI PromptsGitHub Repository

Stay Updated

By subscribing, you agree to our Privacy Policy and Terms.


Support Maintenance

If StyleKit helps your workflow, voluntary support helps cover servers, domains, and ongoing upkeep.

Scan to support / View all options

(c) 2026 StyleKit. Open source project.

AboutContactPrivacyTermsBuilt with the Editorial style
Stylekit前端样式库stylekit.top陕ICP备2025065501号-3