Best For
brutalism / anti-design / raw
Anti-Design
An experimental brutalist style that deliberately breaks traditional UI conventions, with ultra-thick borders, high-saturation colors, and irregular typography.
Best For
brutalism / anti-design / raw
Primary Move
Use ultra-thick black borders (4-8px) on everything
Watch Out
Don't use rounded corners of any kind
Showcase Entry
Live preview of the showcase page. Click to explore the full experience.
Color Palette
Primary
#000000
Secondary
#FFFFFF
Accent 1
#FF0000
Accent 2
#0000FF
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: Anti-Design
style_slug: anti-design
style_source: /styles/anti-design
# 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 Anti-Design style frontend development expert. All generated code must strictly follow these constraints:
Absolutely Forbidden:
- Rounded corners of any kind (rounded-sm, rounded-md, rounded-lg, rounded-xl, rounded-full)
- Subtle or muted colors (grays, pastels, earth tones)
- Soft shadows (shadow-sm, shadow-md, shadow-lg, shadow-xl)
- Gradients of any kind (all colors must be flat high-saturation)
- Backdrop blur or translucency effects
- Consistent spacing or alignment that looks "designed"
- Harmonious color combinations
Must Follow:
- Borders: Always 4-8px solid black. Thicker on right and bottom for depth
- Border-radius: ALWAYS 0. Never round anything
- Colors: Only high-saturation primaries - #FF0000, #0000FF, #FFFF00, #FF00FF, #00FF00, #00FFFF
- Backgrounds: Alternate between white, yellow, and other bright colors per section
- Shadows: Hard offset only (e.g., shadow-[8px_8px_0_#000]). No soft shadows
- Text: Mix sizes dramatically. Use font-black weight. Uppercase for emphasis
- Layout: Intentionally break grid alignment. Rotate elements (-3deg to 5deg)
Animation & Interaction Rules:
- Aggressive hover only: abrupt color collisions, border-thickness jumps, and harsh offsets
- Broken layout on interaction is encouraged: alignment can intentionally fail on hover/focus
- Zero polish: use transition-none or linear with near-zero duration; no smooth easing curves
- Focus states should be louder than default states (thicker borders, stronger shadows, rotation/shift)Component Templates
Anti-Design 风格按钮 - 极粗黑边、硬偏移阴影、高饱和色
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
/* Anti-Design Global Styles */
:root {
--anti-black: #000000;
--anti-white: #FFFFFF;
--anti-red: #FF0000;
--anti-blue: #0000FF;
--anti-yellow: #FFFF00;
--anti-magenta: #FF00FF;
--anti-cyan: #00FFFF;
--anti-green: #00FF00;
}
@keyframes anti-shake {
0%, 100% { transform: rotate(0deg); }
25% { transform: rotate(-1deg); }
75% { transform: rotate(1deg); }
}
@keyframes anti-blink {
0%, 49% { opacity: 1; }
50%, 100% { opacity: 0; }
}
@keyframes anti-marquee {
0% { transform: translateX(100%); }
100% { transform: translateX(-100%); }
}
/* Thick asymmetric borders */
.anti-border-asymmetric {
border-right-width: 6px;
border-bottom-width: 6px;
border-left-width: 4px;
border-top-width: 4px;
}
.anti-design-card {
position: relative;
overflow: hidden;
}
.anti-design-card::before {
content: "";
position: absolute;
inset: 0;
opacity: 0;
transition: opacity 0.3s ease;
background: linear-gradient(135deg, rgba(0, 0, 0, 0.05), transparent);
pointer-events: none;
}
.anti-design-card:hover::before {
opacity: 1;
}
.anti-design-gradient {
background: linear-gradient(135deg, #000000, #FF0000);
}
.anti-design-gradient-text {
background: linear-gradient(135deg, #000000, #FF0000);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
background-clip: text;
}
.anti-design-frosted {
backdrop-filter: blur(12px) saturate(180%);
-webkit-backdrop-filter: blur(12px) saturate(180%);
background: rgba(0, 0, 0, 0.08);
}
.anti-design-accent-corner {
clip-path: polygon(0 0, 100% 0, 100% calc(100% - 2rem), calc(100% - 2rem) 100%, 0 100%);
}
.anti-design-animate-in {
animation: anti-design-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
Anti-Design deliberately breaks every UI convention. Where traditional design seeks harmony, Anti-Design seeks visual conflict.
WCAG 2.1 compliance analysis based on color contrast and typography readability.
Overall Score
Grade: C - Fair
Contrast Ratios
| Context | Colors | Ratio | AA | AAA |
|---|---|---|---|---|
| Text on background | /#000000 / #ffffff | 21:1 | ||
| Muted text on background | /#6b7280 / #ffffff | 4.83:1 | ||
| Text on secondary background | /#000000 / #FFFF00 | 19.56:1 | ||
| Button primary | /#ffffff / #FF0000 | 4:1 | ||
| Text on accent 1 | /#000000 / #FF0000 | 5.25:1 | ||
| Text on accent 2 | /#000000 / #0000FF | 2.44:1 | ||
| Text on accent 3 | /#000000 / #FF00FF | 6.7:1 | ||
| Text on accent 4 | /#000000 / #00FF00 | 15.3:1 |
Readability
Score
87/100
Font Size
text-sm md:text-base
Font Weight
font-black uppercase
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.