Best For
photography / gallery / dark
暗色画廊风
Rate this styleA dark photography gallery portfolio: near-black canvases let full-bleed images command absolute attention; warm amber accents highlight metadata and captions while ultra-light typography retreats into the background. For photographers, filmmakers, and visual artists whose work speaks louder than chrome.
Best For
photography / gallery / dark
Primary Move
Full-bleed images: use overflow-hidden on the container, object-cover w-full h-full on the image, padding-0 on the container
Watch Out
Never use colored shadows (shadow-lg shadow-2xl) or gradient backgrounds (bg-gradient-*) — they break the purity of the dark field
design.md
One document describes the colour roles, type rules, spacing and component construction behind this style. Copy or download it into Claude Code or Codex.
In a near-black room only the photographs emit light; everything else withdraws.
Theme: dark
Gallery Dark serves photographers and moving-image artists: a near-black ground (#0a0a0a) gives full-bleed photographs absolute attention, elevated surfaces take #1a1a1a, dividers #2a2a2a, and metadata (dates, tags, locations, wall labels) runs in warm amber (#c4956a) at 10 to 11px uppercase 0.15em light. Body is white light-weight, headlines 4xl to 7xl light on tight tracking. Cards carry a 1px border and 2px radius with no shadow at all. Color shadows and gradient backgrounds are banned, and so is any light ground — brightening anything breaks the immersion.
| Name | Value | Token | Role |
|---|---|---|---|
| Gallery Black | #0a0a0a | --color-gallery-black | The page ground — near black, making photographs the only light source. |
| Raised | #1a1a1a | --color-raised | Cards and side panels, one step above the ground. |
| Divider | #2a2a2a | --color-divider | Every 1px border and divider — the only structural device in the dark. |
| Amber | #c4956a | --color-amber | The only accent on metadata, wall labels, links and focus borders. |
| White | #ffffff | --color-white | Body and headlines, always at weight 300. |
| Role | Family | Weight | Size | Line Height | Letter Spacing | Token |
|---|---|---|---|---|---|---|
| display | — | 300 | 72px | 1.05 | -0.02em | --text-display |
| heading | — | 300 | 56px | 1.1 | -0.02em | --text-heading |
| subheading | — | 300 | 36px | 1.2 | — | --text-subheading |
| body-lg | — | 300 | 20px | 1.5 | — | --text-body-lg |
| body | — | 300 | 14px | 1.6 | — | --text-body |
| label | — | 300 | 11px | 1.5 | 0.15em | --text-label |
Base unit: 8px Density: airy
| Name | Value | Token |
|---|---|---|
| 8 | 8px | --spacing-8 |
| 16 | 16px | --spacing-16 |
| 24 | 24px | --spacing-24 |
| 32 | 32px | --spacing-32 |
| 48 | 48px | --spacing-48 |
| 64 | 64px | --spacing-64 |
| 96 | 96px | --spacing-96 |
| 128 | 128px | --spacing-128 |
| Element | Value |
|---|---|
| cards | 2px |
| buttons | 2px |
| inputs | 2px |
Role: The full-bleed work — the core
The container clips with overflow hidden and zero padding; the image uses object-fit cover at full width and height with no radius, border or shadow. A wall label sits 48px away: 10px uppercase 0.15em amber metadata above a 20px white title. The image never carries a scrim or text.
Role: Work cards and thumbnail cells
A #1a1a1a fill on a 2px radius with a 1px #2a2a2a border, no padding so the image fills it, and no shadow. The label sits 16px below. Hover drops the image to 90% opacity for a subtle brightness shift, with no scale and no shadow.
Role: Top navigation
24px 32px padding with a 1px #2a2a2a rule along the bottom, no blur and no background change. Links run 11px uppercase 0.15em light in white, turning amber on hover, with a 20px/300 wordmark.
Role: Search and subscribe inputs
Gallery black fill, 2px radius, a 1px #2a2a2a border, 10px 14px padding at 14px light. The placeholder sits at 40% white. Focus turns the border amber and adds a 1px ring at 30%.
Role: The wall label
A fixed format — date, location, medium — at 10px uppercase 0.15em light in amber on 1.5 leading. It is the only colored text in the style and the mark that separates it from generic dark minimalism.
| Level | Name | Value | Purpose |
|---|---|---|---|
| 0 | Gallery Black | #0a0a0a | 页面底 |
| 1 | Raised | #1a1a1a | 卡片与侧栏 |
none — a shadow would interrupt the darkPhotography is the only content, and it must be full-bleed with precise crops and no filter. Ratios may vary as long as one series shares a grade. No illustration, icon ornament or non-photographic imagery.
Capped at 1440px, with full-bleed works free to reach 100vw. The thumbnail grid runs two columns on mobile and three on desktop at 16 to 24px gaps. Sections sit 128px apart, and the vertical emptiness lets each photograph stand alone.
QUICK COLOR REFERENCE:
#ffffff#0a0a0a#1a1a1a#c4956a#2a2a2a#8a8a8aEXAMPLE COMPONENT PROMPTS:
:root {
/* Colors */
--color-gallery-black: #0a0a0a;
--color-raised: #1a1a1a;
--color-divider: #2a2a2a;
--color-amber: #c4956a;
--color-white: #ffffff;
/* Typography — Font Families */
--font-sans: 'Inter', ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
/* Typography — Scale */
--text-display: 72px;
--leading-display: 1.05;
--tracking-display: -0.02em;
--text-heading: 56px;
--leading-heading: 1.1;
--tracking-heading: -0.02em;
--text-subheading: 36px;
--leading-subheading: 1.2;
--text-body-lg: 20px;
--leading-body-lg: 1.5;
--text-body: 14px;
--leading-body: 1.6;
--text-label: 11px;
--leading-label: 1.5;
--tracking-label: 0.15em;
/* Typography — Weights */
--font-weight-light: 300;
--font-weight-regular: 400;
/* Spacing */
--spacing-unit: 8px;
--spacing-8: 8px;
--spacing-16: 16px;
--spacing-24: 24px;
--spacing-32: 32px;
--spacing-48: 48px;
--spacing-64: 64px;
--spacing-96: 96px;
--spacing-128: 128px;
/* Layout */
--page-max-width: 1440px;
--section-gap: 128px;
--card-padding: 0px;
--element-gap: 24px;
--density: airy;
/* Border Radius */
--radius-cards: 2px;
--radius-buttons: 2px;
--radius-inputs: 2px;
/* Surfaces */
--surface-gallery-black: #0a0a0a;
--surface-raised: #1a1a1a;
}
Component Templates
FAQ
.gallery-dark-card {
background: #0A0A0A;
border: 1px solid #2A2A2A;
border-radius: 0.125rem;
overflow: hidden;
transition: all 300ms ease-out;
}
.gallery-dark-card:hover {
border-color: #4A4A4A;
}
.gallery-dark-image {
width: 100%;
height: 100%;
object-fit: cover;
display: block;
}
.gallery-dark-image-container {
overflow: hidden;
position: relative;
background: #1A1A1A;
}
.gallery-dark-image-container:hover .gallery-dark-image {
opacity: 0.9;
transition: opacity 300ms ease-out;
}
.gallery-dark-caption {
font-family: ui-sans-serif, system-ui, sans-serif;
font-size: 0.75rem;
font-weight: 300;
line-height: 1.6;
color: #666666;
letter-spacing: 0.05em;
}
.gallery-dark-meta {
font-family: ui-sans-serif, system-ui, sans-serif;
font-size: 0.625rem;
text-transform: uppercase;
letter-spacing: 0.15em;
font-weight: 300;
color: #C4956A;
}
.gallery-dark-hairline {
border: none;
border-top: 1px solid #2A2A2A;
}
.gallery-dark-grid {
display: grid;
grid-template-columns: repeat(2, 1fr);
gap: 1rem;
}
@media (min-width: 768px) {
.gallery-dark-grid {
grid-template-columns: repeat(3, 1fr);
gap: 1.5rem;
}
}
.gallery-dark-hero-overlay {
position: absolute;
inset: 0;
background: rgba(10, 10, 10, 0.5);
}
.gallery-dark-body {
background: #0A0A0A;
color: #FFFFFF;
font-family: ui-sans-serif, system-ui, sans-serif;
font-weight: 300;
}
.gallery-dark-section {
padding: 4rem 0;
}
@media (min-width: 768px) {
.gallery-dark-section {
padding: 6rem 0;
}
}
.gallery-dark-lightbox {
position: fixed;
inset: 0;
background: rgba(10, 10, 10, 0.95);
z-index: 100;
display: flex;
align-items: center;
justify-content: center;
opacity: 0;
transition: opacity 300ms ease-out;
pointer-events: none;
}
.gallery-dark-lightbox.open {
opacity: 1;
pointer-events: auto;
}
.gallery-dark-lightbox img {
max-height: 90vh;
max-width: 90vw;
object-fit: contain;
}Related Styles
Explore these styles for ready-made tokens and components.
Dark Gallery and Horizontal Gallery sit closest to each other. The table below gives the real differences in color, use case, and tags, so the choice between them is made on facts.
| Attribute | Dark Gallery | Horizontal Gallery |
|---|---|---|
| Primary color | #0A0A0A | #1A1A1A |
| Secondary color | #FFFFFF | #FCFCFA |
| Best for | photography / gallery / dark | horizontal gallery / horizontal scroll website / scroll snap |
| Unique tags | dark-theme | — |
Dark Gallery is "subtraction as curation": strip away everything that competes with the work, leaving only the frame that holds the viewing experience.