E-Commerce & Marketplaces · Classic blue and amber — global accommodation booking built on trust and price transparency.
Color Palette
Primary
#003580
Secondary
#FFAA00
Accent 1
#FFFFFF
Typography
Helvetica Neue
The quick brown fox
jumps over the lazy dog
ABCDEFGHIJKLMNOPQRSTUVWXYZ
Component Preview
Navigation Bar
Booking.com · Features · Pricing
#FFFFFF — accent
Spacing Scale (4px base)
4
8
16
24
32
48
# Booking.com Design System — .cursorrules
# Generated by StyleExtract · styleextract.com/vault/booking
You are a senior frontend developer building UI that matches the Booking.com design system exactly.
Read this entire file before writing any component.
## Brand Identity
Company : Booking.com
Primary : #003580
Secondary : #FFAA00
Accent : #FFFFFF
Font : Helvetica Neue, system-ui
Radius : 4px
Voice : Classic blue and amber — global accommodation booking built on trust and price transparency.
## CSS Custom Properties
```css
:root {
--color-primary: #003580;
--color-secondary: #FFAA00;
--color-accent: #FFFFFF;
--color-text: #1D1D1F;
--color-surface: #FFFFFF;
--color-border: #E5E5E7;
--font-sans: "Helvetica Neue", system-ui, -apple-system, sans-serif;
--radius: 4px;
}
```
## Tailwind Config
```js
// tailwind.config.js
module.exports = {
theme: {
extend: {
colors: {
primary: "#003580",
secondary: "#FFAA00",
accent: "#FFFFFF",
},
fontFamily: {
sans: ["Helvetica Neue", "system-ui", "sans-serif"],
},
borderRadius: {
brand: "4px",
},
},
},
};
```
## Typography
```
heading-font: Helvetica Neue, system-ui
heading-weight: 700
heading-tracking: -0.02em
body-font: Helvetica Neue, system-ui
body-size: 16px
body-line-height: 1.6
```
## Spacing Scale
Base: 4px | Scale: 4 · 8 · 12 · 16 · 24 · 32 · 48 · 64 · 96px
Never use arbitrary values like 13px, 22px, or 50px.
## Component Rules
### Primary Button
background-color: #003580
color: #FFFFFF
border-radius: 4px
padding: 12px 24px
font-weight: 600
font-size: 14px
transition: opacity 0.15s
&:hover { opacity: 0.88 }
### Secondary Button
background-color: transparent
border: 1.5px solid #003580
color: #003580
border-radius: 4px
padding: 11px 23px
### Card
background: #FFFFFF
border: 1px solid #E5E5E7
border-radius: 16px
padding: 24px
box-shadow: 0 1px 3px rgba(0,0,0,0.08)
### Navigation
background: #FFAA00
color: #1D1D1F
height: 60px
padding: 0 24px
```
## Rules
DO:
- Use the exact hex values defined in CSS Custom Properties
- Maintain Booking.com's aesthetic: Classic blue and amber — global accommodation booking built on trust and price transparency.
- Apply 4px base-unit spacing throughout
- Use Helvetica Neue for all text elements
- Meet WCAG AA contrast (4.5:1 minimum for body text)
DON'T:
- Invent colors outside the defined palette
- Use system-default blue (#0000EE) for links — use var(--color-primary)
- Apply border-radius values not on the brand scale
- Use font-weight below 400 or above 900
2,669 characters
--- brand: name: "Booking.com" category: "E-Commerce & Marketplaces" primary: "#003580" secondary: "#FFAA00" accent: "#FFFFFF" typography: heading: "Helvetica Neue, system-ui" headingWeight: 700 headingTracking: "-0.02em" body: "Helvetica Neue, system-ui" bodySize: "16px" lineHeight: 1.6 spacing: base: 4 scale: [4, 8, 12, 16, 24, 32, 48, 64, 96] shape: radiusSm: "4px" radiusMd: "4px" radiusLg: "16px" radiusXl: "24px" --- # Booking.com Design System > AI Agent Context — read this entire file before generating any UI for Booking.com > Source: StyleExtract Vault · styleextract.com/vault/booking ## Brand Overview Classic blue and amber — global accommodation booking built on trust and price transparency. ## Color System | Role | Hex | Usage | |-----------|-----------|-------------------------------| | Primary | `#003580` | CTAs, links, key accents | | Secondary | `#FFAA00` | Backgrounds, headings | | Accent | `#FFFFFF` | Highlights, badges, icons | | Surface | `#FFFFFF` | Card backgrounds | | Border | `#E5E5E7` | Dividers, outlines | ALWAYS use `#003580` for primary interactive elements and CTAs. NEVER invent colors outside the palette above. ## Typography - **Heading font**: Helvetica Neue, system-ui - **Heading weight**: 700 / letter-spacing −0.02em - **Body font**: Helvetica Neue, system-ui - **Body size**: 16px / line-height 1.6 ## Spacing System Base unit is **4px**. Allowed values: 4, 8, 12, 16, 24, 32, 48, 64, 96px. Never use arbitrary values. ## Component Patterns ### Buttons ``` Primary: bg #003580 · text #FFFFFF · rounded-[4px] · px-6 py-3 · font-semibold Secondary: transparent · border-[#003580] · text-[#003580] · px-6 py-3 ``` ### Cards ``` bg white (dark: #1C1C1E) · border #E5E5E7 (dark: #2C2C2E) · rounded-2xl · p-6 · shadow-sm ``` ### Navigation ``` bg #FFAA00 · text #1D1D1F · h-[60px] · px-6 · logo-left · links-right ``` ## Accessibility - All text WCAG AA (4.5:1 minimum) - Interactive targets: 44×44px minimum - Never convey state via color alone ## Brand Voice Classic blue and amber — global accommodation booking built on trust and price transparency.
2,219 characters
.cursorrules and paste it as a new file named .cursorrules in your project root.STYLE.md as STYLE.md in your repo root for Claude, Bolt.new, or any agent that reads Markdown context.Need a custom brand?
Get a custom .cursorrules, STYLE.md, 17-page PDF brand book, CSS variables, Tailwind config, Figma tokens, and AI brand voice — all generated from the live site.
Extract a brand →