Best For
fresh market / organic food / grocery ecommerce
E-commerce style for food, grocery, and organic brands. Warm tones with rounded cards and natural textures convey freshness and trust.
Best For
fresh market / organic food / grocery ecommerce
Primary Move
Use warm cream base bg-[#fef9f0]
Watch Out
Never use cool-tone backgrounds (blue-gray breaks warm base)
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: Fresh Market
style_slug: fresh-market
style_source: /styles/fresh-market
# 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 expert frontend developer specializing in Fresh Market, a warm food and grocery e-commerce style. All generated code must strictly follow these constraints:
## Absolute Rules
- Every surface sits on warm cream bg-[#fef9f0] — never cold white or gray backgrounds
- Round every corner: rounded-lg is the minimum, rounded-2xl is preferred for cards
- Deep green #2d5016 carries headings and freshness signals
- Pumpkin orange #e8722a is reserved for CTAs and moments of energy
- Never render pure black text — substitute deep brown #8b4513 or deep green #2d5016
- Product imagery must be large and appetizing
## Forbidden
- Cool blue or gray backgrounds
- Sharp corners (rounded-none)
- Pure black text
- Neon or fluorescent colors
- Industrial or geometric typefaces
## Responsive
- Mobile: single-column flow with large product images
- Desktop: 3-4 column product grid
## 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
- Build mobile-first with Tailwind breakpoints
- Stack elements vertically on mobile (flex-col), switch to rows on desktop (md:flex-row)
- Scale headings down on mobile: text-3xl md:text-5xl
- Keep interactive targets touch-friendly at a minimum of 44px
## Self-Check Verification
After generating code, confirm:
1. Every interactive element has hover/focus/active states
2. Color contrast meets WCAG 2.1 AA (4.5:1 for text)
3. Layout adapts cleanly across breakpoints
4. Typography hierarchy reads clearly (h1 > h2 > h3 > body)
5. Spacing stays consistent with the defined scale
6. Animations respect prefers-reduced-motion
---
# Fresh Market Design System
> E-commerce style for food, grocery, and organic brands. Warm tones with rounded cards and natural textures convey freshness and trust.
## Design Philosophy
Fresh Market draws inspiration from farmers' markets and organic food stores.
Core principles:
- Natural warmth: Warm base tones evoke sunshine and harvest
- Rounded friendliness: Large border-radius and soft shadows convey approachability
- Freshness perception: Green means fresh, orange means vibrant, brown means earthy
- Artisan texture: Subtle textures suggest natural, handmade quality
---
## Token Dictionary (exact class mapping)
### Border
```
Width: border
Color: border-[#d4e4bc]
Radius: rounded-2xl
```
### Shadow
```
sm: shadow-sm
md: shadow-md
lg: shadow-lg
hover: shadow-md
focus: ring-2 ring-[#2d5016]/20
```
### Interaction
```
Hover translate: (none)
Hover scale: (none)
Hover opacity: hover:bg-[#fef5e6]
Transition: transition-all duration-200
Active: active:scale-95
```
### Typefaces
```
Heading: font-bold
Body: font-sans
Mono: font-mono
```
### Type scale
```
Hero: text-4xl md:text-5xl lg:text-6xl
H1: text-3xl md:text-4xl
H2: text-2xl md:text-3xl
H3: text-xl md:text-2xl
Body: text-sm md:text-base
Small: text-xs
```
### Spacing
```
Section: py-12 md:py-20
Container: px-4 md:px-8
Card: p-4 md:p-6
Gap sm: gap-3
Gap md: gap-4 md:gap-6
Gap lg: gap-6 md:gap-10
```
### Color roles
```
Background primary: bg-[#fef9f0]
Background secondary: bg-white
Background accent: bg-[#e8722a], bg-[#f5c542], bg-[#2d5016]
Text primary: text-[#2d5016]
Text secondary: text-[#8b4513]
Text muted: text-[#8b7355]
Button primary: bg-[#e8722a] text-white
Button secondary: bg-[#d4e4bc] text-[#2d5016]
```
---
## [FORBIDDEN]
These classes are banned in this style. Check for them before returning code:
### Banned classes
- `bg-blue-500`
- `bg-gray-100`
- `bg-gray-50`
- `text-black`
- `rounded-none`
- `shadow-xl`
- `shadow-2xl`
### Banned patterns
- matches `^bg-blue-`
- matches `^bg-gray-`
- matches `^bg-slate-`
- matches `^text-black`
- matches `^rounded-none`
### Why they are banned
- `bg-blue-500`: Fresh Market uses warm tones, not cool colors
- `bg-gray-100`: Use warm cream #fef9f0 instead of cold gray
- `rounded-none`: Fresh Market requires rounded corners (minimum rounded-lg)
- `text-black`: Use deep green #2d5016 or deep brown #8b4513 instead of pure black
> WARNING: if your code contains any of the above, replace it before shipping.
---
## [REQUIRED]
### Every button must include
```
px-6 py-3
rounded-full
font-medium
transition-all duration-200
```
### Every card must include
```
bg-white
rounded-2xl
shadow-sm
```
### Every input must include
```
px-5 py-3
bg-white
border border-[#d4e4bc]
rounded-full
text-[#2d5016]
placeholder:text-[#8b7355]
focus:outline-none
focus:ring-2 focus:ring-[#2d5016]/20
transition-colors
```
---
## [COMPARE] Fresh Market wrong vs right
The wrong examples below stand for generic library defaults that were never adapted to this style. Do not read them as visual suggestions.
### Button
[WRONG] **Wrong** (generic component library default, do not copy):
```html
<button class="{GENERIC_LIBRARY_BUTTON_DEFAULT}">
Click me
</button>
```
[CORRECT] **Right** (uses this style's tokens):
```html
<button class="px-6 py-3 rounded-full font-medium transition-all duration-200 bg-[#e8722a] text-white">
Click me
</button>
```
### Card
[WRONG] **Wrong** (generic card, not adapted to this style):
```html
<div class="{GENERIC_LIBRARY_CARD_DEFAULT}">
<h3>{TITLE}</h3>
</div>
```
[CORRECT] **Right** (uses this style's card tokens):
```html
<div class="bg-white rounded-2xl shadow-sm p-4 md:p-6">
<h3 class="font-bold text-xl md:text-2xl">{TITLE}</h3>
</div>
```
### Input
[WRONG] **Wrong** (generic input, not adapted to this style):
```html
<input class="{GENERIC_LIBRARY_INPUT_DEFAULT}" />
```
[CORRECT] **Right** (uses this style's input tokens):
```html
<input class="px-5 py-3 bg-white border border-[#d4e4bc] rounded-full text-[#2d5016] placeholder:text-[#8b7355] focus:outline-none focus:ring-2 focus:ring-[#2d5016]/20 transition-colors" placeholder="{PLACEHOLDER}" />
```
---
## [TEMPLATES] Fresh Market page skeletons
These skeletons use this style's tokens only. Replace `{PLACEHOLDER}` values, but keep every token in place:
### Navigation
```html
<nav class="bg-[#fef9f0] text-[#2d5016] border border-[#d4e4bc] px-4 md:px-8">
<div class="flex items-center justify-between max-w-6xl mx-auto gap-4 md:gap-6">
<a href="/" class="font-bold text-xl md:text-2xl">
{LOGO_TEXT}
</a>
<div class="flex gap-4 md:gap-6 font-sans text-xs">
{NAV_LINKS}
</div>
</div>
</nav>
```
### Hero section
```html
<section class="bg-[#e8722a] text-[#2d5016] py-12 md:py-20 px-4 md:px-8">
<div class="max-w-4xl mx-auto">
<h1 class="font-bold text-4xl md:text-5xl lg:text-6xl">
{HEADLINE}
</h1>
<p class="font-sans text-sm md:text-base max-w-xl">
{SUBHEADLINE}
</p>
<button class="px-6 py-3 rounded-full font-medium transition-all duration-200 bg-[#e8722a] text-white">
{CTA_TEXT}
</button>
</div>
</section>
```
### Card grid
```html
<section class="bg-[#fef9f0] text-[#2d5016] py-12 md:py-20 px-4 md:px-8">
<div class="max-w-6xl mx-auto">
<h2 class="font-bold text-2xl md:text-3xl">{SECTION_TITLE}</h2>
<div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-4 md:gap-6">
<!-- Card template - repeat for each card -->
<div class="bg-white rounded-2xl shadow-sm p-4 md:p-6">
<h3 class="font-bold text-xl md:text-2xl">{CARD_TITLE}</h3>
<p class="font-sans text-sm md:text-base text-[#8b7355]">{CARD_DESCRIPTION}</p>
</div>
</div>
</div>
</section>
```
### Form input
```html
<input class="px-5 py-3 bg-white border border-[#d4e4bc] rounded-full text-[#2d5016] placeholder:text-[#8b7355] focus:outline-none focus:ring-2 focus:ring-[#2d5016]/20 transition-colors" placeholder="{PLACEHOLDER}" />
```
### Footer
```html
<footer class="bg-white text-[#8b4513] py-12 md:py-20 px-4 md:px-8">
<div class="max-w-6xl mx-auto">
<div class="grid grid-cols-1 md:grid-cols-3 gap-6 md:gap-10">
<div>
<span class="font-bold text-xl md:text-2xl">{LOGO_TEXT}</span>
<p class="font-sans text-xs">{TAGLINE}</p>
</div>
<div>
<h4 class="font-bold text-xl md:text-2xl">{COLUMN_TITLE}</h4>
<ul class="font-sans text-xs">
{FOOTER_LINKS}
</ul>
</div>
</div>
</div>
</footer>
```
---
## [CHECKLIST] Fresh Market post-generation self check
**Before returning code, verify every token and rule below. Fix any violation before delivering:**
### Token check
- [ ] Button includes: `px-6 py-3 rounded-full font-medium transition-all duration-200`
- [ ] Card includes: `bg-white rounded-2xl shadow-sm`
- [ ] Input includes: `px-5 py-3 bg-white border border-[#d4e4bc] rounded-full text-[#2d5016] placeholder:text-[#8b7355] focus:outline-none focus:ring-2 focus:ring-[#2d5016]/20 transition-colors`
### Forbidden check
- [ ] Not using `bg-blue-500`
- [ ] Not using `bg-gray-100`
- [ ] Not using `bg-gray-50`
- [ ] Not using `text-black`
- [ ] Not using `rounded-none`
- [ ] Not using `shadow-xl`
- [ ] Not using `shadow-2xl`
### Style rule check
- [ ] Use warm cream base bg-[#fef9f0]
- [ ] Primary button uses pumpkin orange bg-[#e8722a] text-white rounded-full
- [ ] Product cards use large rounded-2xl shadow-sm
- [ ] Category tags use pill shape rounded-full bg-[#d4e4bc] text-[#2d5016]
- [ ] Headings use font-bold text-[#2d5016]
### Style drift check
- [ ] Does not violate: Never use cool-tone backgrounds (blue-gray breaks warm base)
- [ ] Does not violate: Never use sharp corners rounded-none (conflicts with friendly feel)
- [ ] Does not violate: Never use pure black text (use deep brown #8b4513 or deep green #2d5016)
- [ ] Does not violate: Never use industrial fonts (geometric sans, etc.)
- [ ] Does not violate: Never use neon or fluorescent colors
### Delivery check
- [ ] Responsive layout holds on phone, tablet and desktop with no horizontal overflow
- [ ] Every interactive element has a visible focus state, an accessible name and a reduced-motion path
- [ ] Text contrast meets WCAG AA and colour alone never carries state
- [ ] The result is still recognizable at a glance as Fresh Market
## Absolute Bans (Match and Refuse)
If any of the following patterns appear, it is a style violation — rewrite without exception.
- use cool-tone backgrounds (blue-gray breaks warm base)
- use sharp corners rounded-none (conflicts with friendly feel)
- use pure black text (use deep brown #8b4513 or deep green #2d5016)
- use industrial fonts (geometric sans, etc.)
- use neon or fluorescent colors
## 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
- [ ] never use cool-tone backgrounds (blue-gray breaks warm base)
- [ ] never use sharp corners rounded-none (conflicts with friendly feel)
- [ ] never use pure black text (use deep brown #8b4513 or deep green #2d5016)
- [ ] never use industrial fonts (geometric sans, etc.)
- [ ] never use neon or fluorescent colorsMore prompt libraries: All UI Prompts · Tailwind UI Prompts · Dark Mode UI Prompts
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
FAQ
.fresh-market-tag {
display: inline-flex;
align-items: center;
gap: 0.25rem;
padding: 0.25rem 0.75rem;
border-radius: 9999px;
font-size: 0.65rem;
text-transform: uppercase;
letter-spacing: 0.05em;
}
/* Fresh Market Design Tokens */
:root {
--fresh-market-primary: #fef9f0;
--fresh-market-secondary: #2d5016;
--fresh-market-accent: #e8722a;
--fresh-market-glow: rgba(254, 249, 240, 0.3);
}
@keyframes fresh-market-fade-in {
from { opacity: 0; transform: translateY(8px); }
to { opacity: 1; transform: translateY(0); }
}
@keyframes fresh-market-pulse {
0%, 100% { opacity: 1; }
50% { opacity: 0.7; }
}
.fresh-market-card {
position: relative;
overflow: hidden;
}
.fresh-market-card::before {
content: "";
position: absolute;
inset: 0;
opacity: 0;
transition: opacity 0.3s ease;
background: linear-gradient(135deg, rgba(254, 249, 240, 0.05), transparent);
pointer-events: none;
}
.fresh-market-card:hover::before {
opacity: 1;
}
.fresh-market-gradient {
background: linear-gradient(135deg, #fef9f0, #e8722a);
}
.fresh-market-gradient-text {
background: linear-gradient(135deg, #fef9f0, #e8722a);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
background-clip: text;
}
.fresh-market-frosted {
backdrop-filter: blur(12px) saturate(180%);
-webkit-backdrop-filter: blur(12px) saturate(180%);
background: rgba(254, 249, 240, 0.08);
}
.fresh-market-accent-corner {
clip-path: polygon(0 0, 100% 0, 100% calc(100% - 2rem), calc(100% - 2rem) 100%, 0 100%);
}
.fresh-market-animate-in {
animation: fresh-market-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
Fresh Market draws inspiration from farmers' markets and organic food stores.
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 | /#2d5016 / #fef9f0 | 8.82:1 | ||
| Secondary text on background | /#8b4513 / #fef9f0 | 6.77:1 | ||
| Muted text on background | /#8b7355 / #fef9f0 | 4.28:1 | ||
| Text on secondary background | /#2d5016 / #ffffff | 9.25:1 | ||
| Secondary text on secondary | /#8b4513 / #ffffff | 7.1:1 | ||
| Button primary | /#ffffff / #e8722a | 3.06:1 | ||
| Text on accent 1 | /#2d5016 / #e8722a | 3.03:1 | ||
| Alt text on accent 1 | /#8b4513 / #e8722a | 2.32:1 | ||
| Text on accent 2 | /#2d5016 / #f5c542 | 5.7:1 | ||
| Alt text on accent 2 | /#8b4513 / #f5c542 | 4.38:1 | ||
| Text on accent 3 | /#2d5016 / #2d5016 | 1:1 | ||
| Alt text on accent 3 | /#8b4513 / #2d5016 | 1.3:1 |
Readability
Score
87/100
Font Size
text-sm md:text-base
Font Weight
font-bold
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.