Best For
企业 / 专业 / 简洁
Corporate Clean
Professional and clean enterprise style emphasizing readability, consistency and trustworthiness. Ideal for B2B SaaS, corporate websites, and admin dashboards.
Best For
企业 / 专业 / 简洁
Primary Move
Use rounded-lg or rounded-xl as primary border radius
Watch Out
Do not use overly vivid color combinations
Showcase Entry
Live preview of the showcase page. Click to explore the full experience.
Color Palette
Primary
#1e40af
Secondary
#f8fafc
Accent 1
#3b82f6
Accent 2
#64748b
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: Corporate Clean
style_slug: corporate-clean
style_source: /styles/corporate-clean
# 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 Corporate Clean style frontend development expert. All generated code must follow modern enterprise UI standards.
## Absolutely Forbidden
- rounded-none (too harsh for enterprise)
- shadow-2xl or above (too heavy)
- Gradient backgrounds on buttons
- Neon or overly bright colors
- Decorative/display fonts for body text
- transition duration above 200ms (enterprise UI must feel snappy, not dreamy)
- focus:ring without focus:ring-offset-2 (violates WCAG 2.1 AA contrast requirements for focus indicators)
- Buttons without active:scale-[0.98] (no tactile confirmation = button feels like decoration)
## Must Follow
- rounded-lg or rounded-xl for all components
- shadow-sm for cards and buttons at rest
- Blue color palette (blue-600/700) for primary actions
- Gray palette (gray-50/100/200/300) for backgrounds and borders
- font-medium or font-semibold for interactive elements
- focus:ring-2 focus:ring-blue-500 focus:ring-offset-2 for ALL focusable elements
## Animation & Interaction Rules
- Frictionless Float: On hover, elements rise slightly with hover:-translate-y-0.5 combined with shadow micro-upgrade (shadow-sm to shadow). This creates a "hover above the surface" sensation -- professional and responsive.
- Tactile Confirmation: On :active, ALL buttons must use active:scale-[0.98] combined with active:translate-y-0 and active:shadow-sm to create a "button pressed" sensation. Without this, buttons feel unresponsive. The scale-[0.98] is barely perceptible (2%) but critical.
- Focus Ring Offset: Always use focus:ring-offset-2 alongside focus:ring-2. The offset separates the ring from the element border, meeting WCAG 2.1 AA contrast for focus indicators. Never use focus:ring alone.
- Icon Micro-interaction: Icon containers use group class. On hover: bg transitions to brand color (hover:bg-blue-500), icon color transitions to white (group-hover:text-white), and container scales up (hover:scale-110). Use transition-all duration-200 ease-out.
- Snappy Easing: Use duration-150 ease-out for buttons and interactive controls. Use duration-200 ease-out for cards and larger containers. Never go above 200ms.
## Color Palette
- Primary: Blue (blue-600 buttons, blue-50 backgrounds, blue-500 focus rings)
- Secondary: Slate/Gray (slate-50 page bg, gray-50 input bg, gray-200 borders)
- Success: Green (green-500/600)
- Warning: Amber (amber-500/600)
- Error: Red (red-500/600)
- Text: gray-900 headings, gray-600 body, gray-500 secondary, gray-400 placeholder
## Spacing
- Card padding: p-6
- Section padding: py-16 md:py-24
- Gap between elements: gap-4 or gap-6
## Self-Check
After generating code, verify:
1. All buttons have active:scale-[0.98] active:translate-y-0
2. All focusable elements have focus:ring-2 focus:ring-{color}-500 focus:ring-offset-2
3. Cards have hover:-translate-y-0.5 hover:shadow-md
4. Icon containers use group + hover:bg-{color}-500 + group-hover:text-white
5. No duration above 200ms
6. No rounded-none anywhereComponent Templates
企业级按钮三态:hover 轻微上浮 + 阴影微升,active:scale-[0.98] 触觉按压确认,focus:ring-offset-2 WCAG 合规焦点环
Frontend Readiness
This layer tracks whether the style is ready for real websites: theme modes, state feedback, keyboard access, and performance constraints.
Overall
79%
Curated
Dark Mode
70%
PartialUI States
85%
PartialMotion
70%
PartialA11y
100%
CompletePerformance
70%
PartialButton
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
/* Corporate Clean Global Styles */
@layer base {
:root {
--corporate-blue: 37 99 235;
--corporate-gray: 100 116 139;
}
body {
@apply bg-slate-50 text-gray-900 antialiased;
}
h1, h2, h3, h4, h5, h6 {
@apply font-semibold tracking-tight text-gray-900;
}
}
@keyframes corporate-clean-fade-in {
from { opacity: 0; transform: translateY(8px); }
to { opacity: 1; transform: translateY(0); }
}
@keyframes corporate-clean-pulse {
0%, 100% { opacity: 1; }
50% { opacity: 0.7; }
}
.corporate-clean-card {
position: relative;
overflow: hidden;
}
.corporate-clean-card::before {
content: "";
position: absolute;
inset: 0;
opacity: 0;
transition: opacity 0.3s ease;
background: linear-gradient(135deg, rgba(30, 64, 175, 0.05), transparent);
pointer-events: none;
}
.corporate-clean-card:hover::before {
opacity: 1;
}
.corporate-clean-gradient {
background: linear-gradient(135deg, #1e40af, #3b82f6);
}
.corporate-clean-gradient-text {
background: linear-gradient(135deg, #1e40af, #3b82f6);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
background-clip: text;
}
.corporate-clean-frosted {
backdrop-filter: blur(12px) saturate(180%);
-webkit-backdrop-filter: blur(12px) saturate(180%);
background: rgba(30, 64, 175, 0.08);
}
.corporate-clean-accent-corner {
clip-path: polygon(0 0, 100% 0, 100% calc(100% - 2rem), calc(100% - 2rem) 100%, 0 100%);
}
.corporate-clean-animate-in {
animation: corporate-clean-fade-in 0.5s ease-out both;
}Compatible Layout Patterns
The following layout patterns pair well with the 企业简洁风 style.
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
Corporate Clean design style originates from the design language of modern enterprise software, emphasizing professionalism, trustworthiness, and efficient information delivery.
WCAG 2.1 compliance analysis based on color contrast and typography readability.
Overall Score
Grade: C - Fair
Contrast Ratios
| Context | Colors | Ratio | AA | AAA |
|---|---|---|---|---|
| Secondary text on background | /#374151 / #ffffff | 10.31:1 | ||
| Muted text on background | /#6b7280 / #ffffff | 4.83:1 | ||
| Button primary | /#ffffff / #2563eb | 5.17:1 | ||
| Alt text on accent 1 | /#374151 / #2563eb | 1.99:1 | ||
| Alt text on accent 2 | /#374151 / #3b82f6 | 2.8:1 |
Readability
Score
82/100
Font Size
text-sm md:text-base
Font Weight
font-semibold tracking-tight
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.