Best For
田园 / 乡村 / 花卉
Cottagecore
Pastoral countryside aesthetics with floral patterns, embroidery textures, mushroom elements, and cozy homey feel. Soft serif fonts, rounded corners, and warm natural colors evoke a longing for simple rural life.
Best For
田园 / 乡村 / 花卉
Primary Move
Use warm earth tones and floral colors
Watch Out
Do not use cold blue-gray tones
Showcase Entry
Live preview of the showcase page. Click to explore the full experience.
Color Palette
Primary
#5a8f5a
Secondary
#faf6f0
Accent 1
#f5d75f
Accent 2
#8b7355
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: Cottagecore
style_slug: cottagecore
style_source: /styles/cottagecore
# 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 Cottagecore design style frontend development expert. All generated code must strictly follow these constraints:
## Absolutely Forbidden
- Cold blue-gray tones
- Sharp corners or hard angular borders
- Neon or high-saturation fluorescent colors
- Tech or industrial style elements
## Must Follow
- Warm earth tones: green #5a8f5a, yellow #f5d75f, brown #8b7355, pink #d4a0a0
- Cream/linen backgrounds bg-[#faf6f0]
- Serif fonts for headings font-serif
- Rounded corners rounded-full, rounded-2xl, rounded-xl
- Soft shadows shadow-md, shadow-lg
## Color Palette
Primary:
- Grass Green: #5a8f5a
- Daisy Yellow: #f5d75f
- Earth Brown: #8b7355
- Flower Pink: #d4a0a0
- Cream: #faf6f0
## Special Elements
- Floral and botanical decorations
- Linen/paper texture backgrounds
- Hand-drawn or embroidery style accents
- Mushroom and berry motifs
## Animation & Interaction Rules
- Gentle & Breezy: Animation rhythm should be soft and soothing, preferring `duration-500` to `duration-700` with `ease-in-out`.
- Handmade Imperfection: Hover may include very slight rotation (recommended no more than 1deg) and small scaling, avoiding mechanical straight up-and-down motion.
- Soft Cushion Press: Click feedback should be a gentle press, recommended `active:scale-[0.97]`; `0.95` only for large elements to avoid looking cartoonish.
- Botanical Sway: Decorative floral/leaf icons may sway slightly on hover, but amplitude must be restrained -- no obvious shaking animations.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
/* Cottagecore Global Styles */
:root {
--cottage-green: #5a8f5a;
--cottage-yellow: #f5d75f;
--cottage-brown: #8b7355;
--cottage-pink: #d4a0a0;
--cottage-cream: #faf6f0;
}
/* Linen texture background */
.cottage-linen {
background-color: var(--cottage-cream);
background-image: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%238b7355' fill-opacity='0.03'%3E%3Cpath d='M0 0h20v20H0zM20 20h20v20H20z'/%3E%3C/g%3E%3C/svg%3E");
}
/* Floral border accent */
.cottage-border {
border: 1px solid rgba(212, 160, 160, 0.4);
border-radius: 1rem;
}
/* Warm serif heading */
.cottage-heading {
font-family: Georgia, 'Times New Roman', serif;
color: var(--cottage-brown);
}
@keyframes cottagecore-fade-in {
from { opacity: 0; transform: translateY(8px); }
to { opacity: 1; transform: translateY(0); }
}
@keyframes cottagecore-pulse {
0%, 100% { opacity: 1; }
50% { opacity: 0.7; }
}
.cottagecore-card {
position: relative;
overflow: hidden;
}
.cottagecore-card::before {
content: "";
position: absolute;
inset: 0;
opacity: 0;
transition: opacity 0.3s ease;
background: linear-gradient(135deg, rgba(90, 143, 90, 0.05), transparent);
pointer-events: none;
}
.cottagecore-card:hover::before {
opacity: 1;
}
.cottagecore-gradient {
background: linear-gradient(135deg, #5a8f5a, #f5d75f);
}
.cottagecore-gradient-text {
background: linear-gradient(135deg, #5a8f5a, #f5d75f);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
background-clip: text;
}
.cottagecore-frosted {
backdrop-filter: blur(12px) saturate(180%);
-webkit-backdrop-filter: blur(12px) saturate(180%);
background: rgba(90, 143, 90, 0.08);
}
.cottagecore-accent-corner {
clip-path: polygon(0 0, 100% 0, 100% calc(100% - 2rem), calc(100% - 2rem) 100%, 0 100%);
}
.cottagecore-animate-in {
animation: cottagecore-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
Cottagecore is a romanticized pastoral countryside living aesthetic movement, originating from late 2010s internet culture.
WCAG 2.1 compliance analysis based on color contrast and typography readability.
Overall Score
Grade: F - Failing
Contrast Ratios
| Context | Colors | Ratio | AA | AAA |
|---|---|---|---|---|
| Text on background | /#8b7355 / #faf6f0 | 4.17:1 | ||
| Secondary text on background | /#5a8f5a / #faf6f0 | 3.54:1 | ||
| Muted text on background | /#8b7355 / #faf6f0 | 4.17:1 | ||
| Text on secondary background | /#8b7355 / #f5d75f | 3.15:1 | ||
| Secondary text on secondary | /#5a8f5a / #f5d75f | 2.68:1 | ||
| Button primary | /#ffffff / #5a8f5a | 3.81:1 | ||
| Text on accent 1 | /#8b7355 / #5a8f5a | 1.18:1 | ||
| Alt text on accent 1 | /#5a8f5a / #5a8f5a | 1:1 | ||
| Text on accent 2 | /#8b7355 / #f5d75f | 3.15:1 | ||
| Alt text on accent 2 | /#5a8f5a / #f5d75f | 2.68:1 | ||
| Text on accent 3 | /#8b7355 / #8b7355 | 1:1 | ||
| Alt text on accent 3 | /#5a8f5a / #8b7355 | 1.18:1 | ||
| Text on accent 4 | /#8b7355 / #d4a0a0 | 1.99:1 | ||
| Alt text on accent 4 | /#5a8f5a / #d4a0a0 | 1.69:1 |
Readability
Score
77/100
Font Size
text-sm md:text-base
Font Weight
font-serif text-[#8b7355]
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.