返回风格库
视觉风格retro

田园核风

Cottagecore

田园乡村美学,花卉图案、刺绣质感、蘑菇元素和温馨家庭感。柔和的衬线字体、圆润边角、温暖自然的配色,唤起对简单田园生活的向往。

田园核风视觉预览
主色#5a8f5a
次色#faf6f0
强调色 1#f5d75f
强调色 2#8b7355
强调色 3#d4a0a0
强调色 4#7ff77e

AI 实现规则

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: 动画节奏应轻柔舒缓,优先 `duration-500` 到 `duration-700` 搭配 `ease-in-out`。
- Handmade Imperfection: 悬停可加入非常轻微的旋转(建议不超过 1deg)和小幅放大,避免机械式直上直下。
- Soft Cushion Press: 点击反馈以柔和按压为主,推荐 `active:scale-[0.97]`;`0.95` 仅用于大面积元素,避免显得卡通化。
- Botanical Sway: 装饰性花叶图标可在 hover 时微幅摆动,幅度需克制,不能变成明显抖动动画。

## Layout & Spacing
- Section padding: py-16 md:py-24
- Card padding: p-6 md:p-8
- Gap between cards: gap-6 md:gap-8
- Max content width: max-w-6xl mx-auto

## Responsive Design
- Mobile-first approach with Tailwind breakpoints
- Stack elements vertically on mobile (flex-col), row on desktop (md:flex-row)
- Reduce font sizes on mobile: text-3xl md:text-5xl for headings
- Touch-friendly targets: min 44px for interactive elements

## Self-Check Verification
After generating code, verify:
1. All interactive elements have hover/focus/active states
2. Color contrast meets WCAG 2.1 AA (4.5:1 for text)
3. Layout is responsive across breakpoints
4. Typography hierarchy is clear (h1 > h2 > h3 > body)
5. Spacing is consistent using the defined scale
6. All animations respect prefers-reduced-motion

组件预览与实现

font-serif rounded-full transition-all duration-300 ease-in-out bg-[#5a8f5a] text-white shadow-md hover:shadow-lg hover:scale-105 active:scale-95
button

按钮

田园核风格按钮

<button className="
  px-8 py-3
  bg-[#5a8f5a] text-[#faf6f0]
  font-serif rounded-full
  shadow-[0_4px_10px_rgba(90,143,90,0.2)]
  hover:shadow-[0_8px_20px_rgba(90,143,90,0.3)]
  hover:-translate-y-0.5 hover:rotate-[0.8deg]
  active:rotate-0 active:scale-[0.97]
  active:shadow-[0_2px_6px_rgba(90,143,90,0.2)]
  transition-all duration-500 ease-in-out
  motion-reduce:transform-none
">
  Gather
</button>
card

卡片

田园核风格卡片

<div className="
  group p-8
  bg-[#faf6f0]
  rounded-3xl
  border border-[#d4a0a0]/40
  shadow-[0_4px_20px_rgba(139,115,85,0.05)]
  hover:shadow-[0_12px_30px_rgba(139,115,85,0.1)]
  hover:-translate-y-1 hover:-rotate-[0.8deg]
  transition-all duration-700 ease-in-out
">
  <div className="w-12 h-12 mb-4 text-[#d4a0a0] group-hover:scale-105 group-hover:rotate-6 transition-all duration-500 ease-in-out">
    <svg viewBox="0 0 24 24" fill="currentColor"><path d="M12 2C8 2 4 5 4 9c0 4.4 7 11.3 7.6 11.9.2.2.6.2.8 0C13 20.3 20 13.4 20 9c0-4-4-7-8-7z"/></svg>
  </div>
  <h3 className="text-2xl font-serif text-[#8b7355] mb-3 group-hover:text-[#5a8f5a] transition-colors duration-500">
    Wildflower Meadow
  </h3>
  <p className="text-[#8b7355]/70 font-serif leading-relaxed">
    Where every stitch tells a story of spring.
  </p>
</div>
input

输入框

田园核风格输入框

<input
  type="text"
  placeholder="Write your thoughts..."
  className="
    w-full px-4 py-3
    bg-[#faf6f0]
    border border-[#8b7355]/30
    rounded-xl
    text-[#8b7355] placeholder-[#8b7355]/40
    font-serif
    focus:border-[#5a8f5a]/60
    focus:shadow-[0_0_12px_rgba(90,143,90,0.2)]
    focus:outline-none
    transition-all
  "
/>
hero

Hero 区块

田园核风格 Hero

<section className="
  min-h-screen
  flex items-center justify-center
  bg-gradient-to-b from-[#faf6f0] via-[#f5d75f]/10 to-[#d4a0a0]/20
  relative overflow-hidden
">
  <div className="relative z-10 text-center px-6">
    <h1 className="text-5xl md:text-7xl font-serif text-[#8b7355] mb-6">
      Cottagecore
    </h1>
    <p className="text-xl text-[#8b7355]/70 font-serif mb-8">
      A simpler life among wildflowers
    </p>
    <button className="
      px-10 py-4
      bg-[#5a8f5a] text-white
      font-serif rounded-full
      shadow-lg
      hover:shadow-xl hover:scale-105
      transition-all
    ">
      Explore
    </button>
  </div>
</section>

交互展示

适用范围与设计理念

应用场景

creativeecommerceblog

视觉关键词

retro田园乡村花卉刺绣蘑菇温馨手工retrovintagenostalgic

Cottagecore(田园核)是一种浪漫化田园乡村生活的美学运动,起源于2010年代末的互联网文化。

核心理念:

- 田园诗意:对简单乡村生活的浪漫化想象

- 手工温暖:刺绣、编织、手写字体的手工质感

- 自然亲密:花卉、蘑菇、蜜蜂、莓果等自然元素

- 家庭舒适:温暖的色调和柔软的材质感

设计原则:

- 视觉一致性:所有组件必须遵循统一的视觉语言,从色彩到字体到间距保持谐调

- 层次分明:通过颜色深浅、字号大小、留白空间建立清晰的信息层级

- 交互反馈:每个可交互元素都必须有明确的 hover、active、focus 状态反馈

- 响应式适配:设计必须在移动端、平板、桌面端上保持一致的体验

- 无障碍性:确保色彩对比度符合 WCAG 2.1 AA 标准,所有交互元素可键盘访问

应该这样做

  • 使用温暖的大地色和花卉色调
  • 采用圆润的边角和柔和的阴影
  • 使用衬线字体传达古典感
  • 添加花朵、叶子等自然装饰元素
  • 使用亚麻/纸张质感的背景
  • 保持温馨舒适的整体氛围

避免这样做

  • 禁止使用冰冷的蓝灰色调
  • 禁止使用尖锐的直角和硬边框
  • 禁止使用霓虹色或高饱和荧光色
  • 禁止使用科技感或工业风元素

全局 CSS

/* 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;
}

布局、色板与 Tokens

主色#5a8f5a
次色#faf6f0
强调色 1#f5d75f
强调色 2#8b7355
强调色 3#d4a0a0
强调色 4#7ff77e
{
  "border": {
    "width": "border",
    "color": "border-[#d4a0a0]/40",
    "radius": "rounded-2xl",
    "style": "border-solid"
  },
  "shadow": {
    "sm": "shadow-sm",
    "md": "shadow-md",
    "lg": "shadow-lg",
    "none": "shadow-none",
    "hover": "hover:shadow-lg",
    "focus": "focus:shadow-[0_0_12px_rgba(90,143,90,0.2)]",
    "colored": {
      "green": "shadow-[0_4px_12px_rgba(90,143,90,0.2)]",
      "pink": "shadow-[0_4px_12px_rgba(212,160,160,0.3)]",
      "brown": "shadow-[0_4px_12px_rgba(139,115,85,0.2)]"
    }
  },
  "interaction": {
    "transition": "transition-all duration-300 ease-in-out",
    "active": "active:scale-95",
    "hoverScale": "hover:scale-105"
  },
  "typography": {
    "heading": "font-serif text-[#8b7355]",
    "body": "font-serif",
    "mono": "font-mono",
    "sizes": {
      "hero": "text-4xl md:text-6xl lg:text-7xl",
      "h1": "text-3xl md:text-5xl",
      "h2": "text-2xl md:text-4xl",
      "h3": "text-xl md:text-2xl",
      "body": "text-sm md:text-base",
      "small": "text-xs md:text-sm"
    }
  },
  "spacing": {
    "section": "py-12 md:py-20 lg:py-28",
    "container": "px-4 md:px-8 lg:px-12",
    "card": "p-5 md:p-8",
    "gap": {
      "sm": "gap-3 md:gap-4",
      "md": "gap-4 md:gap-6",
      "lg": "gap-6 md:gap-10"
    }
  },
  "colors": {
    "background": {
      "primary": "bg-[#faf6f0]",
      "secondary": "bg-[#f5d75f]/10",
      "accent": [
        "bg-[#5a8f5a]",
        "bg-[#f5d75f]",
        "bg-[#8b7355]",
        "bg-[#d4a0a0]"
      ]
    },
    "text": {
      "primary": "text-[#8b7355]",
      "secondary": "text-[#5a8f5a]",
      "muted": "text-[#8b7355]/60"
    },
    "button": {
      "primary": "bg-[#5a8f5a] text-white",
      "secondary": "bg-[#f5d75f]/20 text-[#8b7355] border border-[#8b7355]/40",
      "danger": "bg-[#d4a0a0] text-white"
    }
  },
  "forbidden": {
    "classes": [
      "rounded-none",
      "bg-[#0a0a1a]",
      "bg-[#0a0a0f]",
      "bg-black",
      "text-[#00ffff]",
      "text-[#ff00ff]",
      "border-[#ff00ff]",
      "border-[#00ffff]",
      "shadow-[0_0_16px_rgba(255,0,255",
      "shadow-[0_0_20px_rgba(0,255,255",
      "font-mono",
      "tracking-widest",
      "uppercase"
    ],
    "patterns": [
      "^bg-(?:black|\\[#0[0-9a-f]{5}\\])",
      "^text-(?:\\[#(?:00ffff|ff00ff)\\])",
      "^shadow-\\[0_0_\\d+px_rgba\\((?:255,0,255|0,255,255)"
    ],
    "reasons": {
      "rounded-none": "Cottagecore uses soft, rounded shapes (rounded-2xl, rounded-full)",
      "bg-black": "Cottagecore uses warm cream/linen backgrounds, not dark ones",
      "font-mono": "Cottagecore uses serif fonts for a classical feel",
      "uppercase": "Cottagecore prefers natural case text, not industrial uppercase"
    }
  },
  "required": {
    "button": [
      "rounded-full",
      "font-serif",
      "shadow-md",
      "transition-all duration-300 ease-in-out"
    ],
    "card": [
      "rounded-2xl",
      "bg-[#faf6f0]",
      "border border-[#d4a0a0]/40",
      "shadow-md"
    ],
    "input": [
      "rounded-xl",
      "border border-[#8b7355]/30",
      "bg-[#faf6f0]",
      "text-[#8b7355]",
      "font-serif",
      "focus:outline-none"
    ]
  }
}

示例提示词

田园风小屋页面

温馨的田园乡村风格首页

Use Cottagecore style to create a cozy homepage:
1. Background: cream linen texture
2. Title: serif font in earth brown
3. Cards: rounded with floral borders
4. Buttons: green rounded-full with soft shadows
5. Overall warm, homey countryside feel

SaaS 着陆页

生成 田园核风风格的 SaaS 产品着陆页

Create a SaaS landing page using Cottagecore style with hero section, feature grid, testimonials, pricing table, and footer.

作品集展示

生成 田园核风风格的作品集页面

Create a portfolio showcase page using Cottagecore style with project grid, about section, contact form, and consistent visual language.