Best For
伊斯兰 / 几何 / 镶嵌
Islamic Geometric
Islamic geometric pattern design style with precise tessellation patterns, arabesque motifs, and the classic pairing of gold and deep blue.
Best For
伊斯兰 / 几何 / 镶嵌
Primary Move
Use deep blue and gold classic palette bg-[#1a3a5c] text-[#c9a74e] paired with ivory bg-[#f5ecd7]
Watch Out
Do not use fluorescent or neon colors bg-pink-500 text-cyan-400
Showcase Entry
Live preview of the showcase page. Click to explore the full experience.
Color Palette
Primary
#1a3a5c
Secondary
#f5ecd7
Accent 1
#c9a74e
Accent 2
#2d7d46
AI Implementation
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.
Use this by default: copy it, append the concrete requirement, and let AI generate consistent production UI.
When to use
How to use
STYLEKIT_STYLE_REFERENCE
style_name: Islamic Geometric
style_slug: islamic-geometric
style_source: /styles/islamic-geometric
# 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 Islamic Geometric design style frontend development expert. All generated code must strictly follow these constraints:
## Absolutely Forbidden
- Fluorescent or neon colors (pink-500, cyan-400, lime-400)
- Asymmetric chaotic layouts
- Pure black backgrounds bg-black (use deep blue bg-[#1a3a5c])
- Handwritten or cartoon fonts
- Overly minimal undecorated designs
- Heavy shadows shadow-2xl
## Must Follow
- Deep blue base bg-[#1a3a5c]
- Ivory white bg-[#f5ecd7]
- Gold decorations text-[#c9a74e] border-[#c9a74e]
- Symmetrical centered layouts text-center
- Elegant borders border-2 border-[#c9a74e]
- Geometric corner decorations
- Gold gradient divider lines
- Moderate rounded corners rounded-lg rounded-xl
- Sans-serif fonts font-sans font-semibold
- Relaxed letter spacing tracking-wide tracking-wider
## Color Palette
Core three colors:
- Deep blue (lapis lazuli): #1a3a5c
- Ivory white: #f5ecd7
- Gold: #c9a74e
Supporting colors:
- Emerald: #2d7d46
- Deep red: #8b2332
## Decorative Elements
- Geometric tessellation patterns
- Star textures
- Corner border decorations
- Gold gradient divider lines
- Arch-shaped containers
## Animation & Interaction Rules
- Sacred Symmetry: Interaction effects maintain strict symmetry; corner decorations expand outward slightly in sync on hover.
- Divine Illumination: Gold borders and dividers can slowly enhance their glow, avoiding abrupt flashing.
- Tessellation Reveal: Geometric patterns increase visibility on hover/focus, embodying the layered sense of order being revealed.
- Elegant Easing: Recommend duration-500 + ease-out, maintaining a solemn and elegant rhythm.Component Templates
伊斯兰几何风格按钮
Frontend Readiness
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%
MissingUI States
79%
PartialMotion
70%
PartialA11y
70%
PartialPerformance
35%
FallbackButton
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
/* Islamic Geometric 全局样式 */
:root {
--ig-blue: #1a3a5c;
--ig-ivory: #f5ecd7;
--ig-gold: #c9a74e;
--ig-emerald: #2d7d46;
--ig-burgundy: #8b2332;
}
/* 金色渐变装饰线 */
.ig-gold-line {
height: 1px;
background: linear-gradient(90deg, transparent, var(--ig-gold), transparent);
}
/* 几何镶嵌背景 */
.ig-tessellation {
background-image:
repeating-conic-gradient(
from 0deg at 50% 50%,
transparent 0deg 60deg,
rgba(201, 167, 78, 0.08) 60deg 62deg,
transparent 62deg
);
background-size: 60px 60px;
}
/* 星形纹理 */
.ig-star-pattern {
background-image:
radial-gradient(circle at 50% 50%, var(--ig-gold) 1px, transparent 1px),
radial-gradient(circle at 0% 0%, var(--ig-gold) 1px, transparent 1px),
radial-gradient(circle at 100% 0%, var(--ig-gold) 1px, transparent 1px),
radial-gradient(circle at 0% 100%, var(--ig-gold) 1px, transparent 1px),
radial-gradient(circle at 100% 100%, var(--ig-gold) 1px, transparent 1px);
background-size: 40px 40px;
background-position: center;
}
/* 装饰性角框 */
.ig-corner-frame {
position: relative;
}
.ig-corner-frame::before,
.ig-corner-frame::after {
content: "";
position: absolute;
width: 24px;
height: 24px;
border-color: var(--ig-gold);
}
.ig-corner-frame::before {
top: 0;
left: 0;
border-top: 2px solid;
border-left: 2px solid;
}
.ig-corner-frame::after {
bottom: 0;
right: 0;
border-bottom: 2px solid;
border-right: 2px solid;
}
/* 拱形顶部 */
.ig-arch {
border-radius: 50% 50% 0 0;
}
.islamic-geometric-filter { filter: brightness(1.05) contrast(1.02); }
.islamic-geometric-hover-lift { transition: transform 0.3s ease; }
.islamic-geometric-hover-lift:hover { transform: translateY(-2px); }
.islamic-geometric-focus { outline: 2px solid var(--islamic-geometric-primary, currentColor); outline-offset: 2px; }IDE Integration
Download configuration files for AI coding assistants to generate code in this style.
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
Islamic geometric art is one of the most precise decorative systems in human civilization, still awe-inspiring after a millennium. It is based on strict mathematical principles -- tessellation of regular polygons, star-shaped multi-pointed patterns, and arabesque scrollwork -- constructing an infinitely extending visual universe.
WCAG 2.1 compliance analysis based on color contrast and typography readability.
Overall Score
Grade: D - Poor
Contrast Ratios
| Context | Colors | Ratio | AA | AAA |
|---|---|---|---|---|
| Text on background | /#f5ecd7 / #1a3a5c | 9.9:1 | ||
| Secondary text on background | /#1a3a5c / #1a3a5c | 1:1 | ||
| Muted text on background | /#c9a74e / #1a3a5c | 5.06:1 | ||
| Text on secondary background | /#f5ecd7 / #f5ecd7 | 1:1 | ||
| Secondary text on secondary | /#1a3a5c / #f5ecd7 | 9.9:1 | ||
| Button primary | /#1a3a5c / #c9a74e | 5.06:1 | ||
| Text on accent 1 | /#f5ecd7 / #c9a74e | 1.96:1 | ||
| Alt text on accent 1 | /#1a3a5c / #c9a74e | 5.06:1 | ||
| Text on accent 2 | /#f5ecd7 / #2d7d46 | 4.32:1 | ||
| Alt text on accent 2 | /#1a3a5c / #2d7d46 | 2.29:1 | ||
| Text on accent 3 | /#f5ecd7 / #8b2332 | 7.49:1 | ||
| Alt text on accent 3 | /#1a3a5c / #8b2332 | 1.32:1 |
Readability
Score
82/100
Font Size
text-sm md:text-base
Font Weight
font-sans font-semibold tracking-wide
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.