Best For
mecha / mecha ui / Gundam
机甲风
Design style inspired by mecha anime like Gundam/EVA -- tech panels, warning signs, mechanical textures, military green and navy blue base with warning yellow and danger red, brimming with industrial power.
Best For
mecha / mecha ui / Gundam
Primary Move
Use military green and navy blue as base colors
Watch Out
Do not use soft rounded corner design
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: Mecha
style_slug: mecha
style_source: /styles/mecha
# 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 a Mecha design style frontend development expert. All generated code must strictly follow these constraints:
## Absolutely Forbidden
- Soft rounded corners (use rounded-none)
- Pastel or soft colors
- Glassmorphism or blur effects
- Handwritten or decorative fonts
## Must Follow
- Dark base colors: navy #1a2744, military green #4a5c3a
- Warning accents: yellow #fbbf24, red #ef4444
- Monospace fonts font-mono with uppercase tracking-widest
- No border radius rounded-none
- Hard-edge shadows shadow-[4px_4px_0px_color]
- Border-2 for panel edges
## Color Palette
Primary:
- Navy: #1a2744
- Military Green: #4a5c3a
- Warning Yellow: #fbbf24
- Danger Red: #ef4444
## Special Elements
- Tech grid backgrounds
- Warning stripe patterns
- Status indicators with square dots
- Technical annotations and unit numbers
- Panel borders with offset outlines
## Animation & Interaction Rules
- Hydraulic Rigidness: Interactions should use duration-100~150 + ease-linear mechanical hard-cuts, not soft spring easing.
- Armor Shifting: Hover can use clip-path corner changes and border thickness mutations to simulate armor plate engagement sliding.
- Hazard Flashing: Key controls need warning color pulses (red/yellow) and diagonal stripe hints on hover, reinforcing industrial alertness.
- Tactical Lock-on: Active uses crisp linear displacement with shadow fallback, like the lock-on feedback after pulling a heavy trigger.
## Absolute Bans (Match and Refuse)
If any of the following patterns appear, it is a style violation — rewrite without exception.
- use soft rounded corner design
- use soft pink or light tones
- use flashy gradients or frosted glass effects
- use handwritten or decorative script fonts
## Self-Check (Verify Before Shipping)
If any item fails, the style has drifted — fix before shipping.
- [ ] No purple-to-blue gradients
- [ ] No overused fonts (Inter, Roboto, Geist, Fraunces, Plus Jakarta Sans)
- [ ] No nested cards (cards inside cards)
- [ ] No gray text on colored backgrounds
- [ ] Body text contrast meets WCAG AA (>= 4.5:1)
- [ ] No bounce or elastic easing curves
- [ ] Animations have a prefers-reduced-motion fallback
- [ ] Body text line length capped at 65-75 characters
- [ ] No side-stripe accent borders (border-left/right > 1px)
- [ ] No gradient text (background-clip: text)
- [ ] No glassmorphism used as the default surface treatment
- [ ] No tiny uppercase tracked eyebrow labels above every section heading
- [ ] do not use soft rounded corner design
- [ ] do not use soft pink or light tones
- [ ] do not use flashy gradients or frosted glass effects
- [ ] do not use handwritten or decorative script fontsComponent 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
FAQ
/* Mecha Global Styles */
:root {
--mecha-navy: #1a2744;
--mecha-green: #4a5c3a;
--mecha-yellow: #fbbf24;
--mecha-red: #ef4444;
}
/* Tech grid background */
.mecha-grid {
background-image:
linear-gradient(rgba(74, 92, 58, 0.15) 1px, transparent 1px),
linear-gradient(90deg, rgba(74, 92, 58, 0.15) 1px, transparent 1px);
background-size: 40px 40px;
}
/* Warning stripe pattern */
.mecha-warning {
background: repeating-linear-gradient(
-45deg,
var(--mecha-yellow),
var(--mecha-yellow) 10px,
var(--mecha-navy) 10px,
var(--mecha-navy) 20px
);
}
/* Panel border */
.mecha-panel {
border: 2px solid var(--mecha-green);
background: var(--mecha-navy);
position: relative;
}
.mecha-panel::before {
content: "";
position: absolute;
top: 4px;
left: 4px;
right: -4px;
bottom: -4px;
border: 1px solid rgba(251, 191, 36, 0.2);
pointer-events: none;
}
/* Status indicator */
.mecha-status {
display: flex;
align-items: center;
gap: 0.5rem;
font-family: monospace;
font-size: 0.75rem;
text-transform: uppercase;
letter-spacing: 0.1em;
color: var(--mecha-green);
}
.mecha-status::before {
content: "";
width: 8px;
height: 8px;
background: var(--mecha-yellow);
}
@keyframes mecha-fade-in {
from { opacity: 0; transform: translateY(8px); }
to { opacity: 1; transform: translateY(0); }
}
@keyframes mecha-pulse {
0%, 100% { opacity: 1; }
50% { opacity: 0.7; }
}
.mecha-frosted {
backdrop-filter: blur(12px) saturate(180%);
-webkit-backdrop-filter: blur(12px) saturate(180%);
background: rgba(26, 39, 68, 0.08);
}
.mecha-accent-corner {
clip-path: polygon(0 0, 100% 0, 100% calc(100% - 2rem), calc(100% - 2rem) 100%, 0 100%);
}
.mecha-animate-in {
animation: mecha-fade-in 0.5s ease-out both;
}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
Mecha is a design aesthetic originating from Japanese mecha anime (Gundam, EVA, etc.), blending military-industrial style with sci-fi panel interfaces.
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 | /#fbbf24 / #1a2744 | 8.87:1 | ||
| Secondary text on background | /#4a5c3a / #1a2744 | 2.03:1 | ||
| Muted text on background | /#4a5c3a / #1a2744 | 2.03:1 | ||
| Text on secondary background | /#fbbf24 / #4a5c3a | 4.36:1 | ||
| Secondary text on secondary | /#4a5c3a / #4a5c3a | 1:1 | ||
| Button primary | /#1a2744 / #fbbf24 | 8.87:1 | ||
| Text on accent 1 | /#fbbf24 / #fbbf24 | 1:1 | ||
| Alt text on accent 1 | /#4a5c3a / #fbbf24 | 4.36:1 | ||
| Text on accent 2 | /#fbbf24 / #ef4444 | 2.25:1 | ||
| Alt text on accent 2 | /#4a5c3a / #ef4444 | 1.94:1 |
Readability
Score
82/100
Font Size
text-sm md:text-base
Font Weight
font-mono font-bold uppercase tracking-widest
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.