StyleKit

Dark Gallery

暗色画廊风

Rate this style

A 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.

photographygallerydarkportfoliofull-bleedcinematicminimalvisual artistfilmmakerexhibition

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

Dark Gallery as a design document

One document describes the colour roles, type rules, spacing and component construction behind this style. Copy or download it into Claude Code or Codex.

Document view

Gallery Dark — Style Reference

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.

Colors

NameValueTokenRole
Gallery Black#0a0a0a--color-gallery-blackThe page ground — near black, making photographs the only light source.
Raised#1a1a1a--color-raisedCards and side panels, one step above the ground.
Divider#2a2a2a--color-dividerEvery 1px border and divider — the only structural device in the dark.
Amber#c4956a--color-amberThe only accent on metadata, wall labels, links and focus borders.
White#ffffff--color-whiteBody and headlines, always at weight 300.

Typography

Inter — The only face, in 300 and 400 only. Headlines run 56 to 72px light on tight tracking; metadata sits at 10px uppercase 0.15em.
  • Substitute: -apple-system, 'Helvetica Neue', system-ui, sans-serif
  • Weights: 300, 400
  • Sizes: 10, 11, 14, 20, 36, 56, 72
  • Line height: 1.05 (display), 1.15 (headings), 1.6 (body)
  • Letter spacing: -0.02em on display, 0.15em on uppercase labels
Type Scale
RoleFamilyWeightSizeLine HeightLetter SpacingToken
display—30072px1.05-0.02em--text-display
heading—30056px1.1-0.02em--text-heading
subheading—30036px1.2—--text-subheading
body-lg—30020px1.5—--text-body-lg
body—30014px1.6—--text-body
label—30011px1.50.15em--text-label

Spacing & Layout

Base unit: 8px Density: airy

Spacing Scale
NameValueToken
88px--spacing-8
1616px--spacing-16
2424px--spacing-24
3232px--spacing-32
4848px--spacing-48
6464px--spacing-64
9696px--spacing-96
128128px--spacing-128
Border Radius
ElementValue
cards2px
buttons2px
inputs2px
  • Page max-width: 1440px
  • Section gap: 128px
  • Card padding: 0px
  • Element gap: 24px

Components

Full Bleed Frame

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.

Work Card

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.

  • States: hover: opacity 90%
Quiet Nav

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.

Amber Field

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%.

Wall Label

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.

Do's and Don'ts

Do
  • Near-black ground with raised surfaces one step up
  • Metadata in amber at 10px uppercase 0.15em
  • Headlines and body both at weight 300
  • Cards take a 1px border and no shadow
  • Photographs full-bleed, no scrim, no text
  • Hover only drops opacity to 90%
Don't
  • No color shadows or gradient backgrounds
  • No light grounds
  • No text or scrim on a photograph
  • No heavy weights
  • No shadow on cards
  • No second accent

Surfaces

LevelNameValuePurpose
0Gallery Black#0a0a0a页面底
1Raised#1a1a1a卡片与侧栏

Elevation

  • None: none — a shadow would interrupt the dark

Imagery

Photography 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.

Layout

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.

Agent Prompt Guide

Implementation Contract
  • Use the requested page, user task and real content as the brief. Implement only the requested scope; identify missing business information instead of inventing data or capabilities.
  • Inspect the current project, stack and components first. Reuse its structure, routes, dependencies and components; do not rebuild unrelated pages or features.
  • Use the project's breakpoints to adapt columns and spacing for narrow and desktop screens. Preserve hierarchy and prevent accidental horizontal overflow.
  • For interactions in scope, support keyboard focus and reduced motion, with applicable disabled, loading, empty and error states.
  • Run the project's existing checks after implementation. Report only tests and visual checks actually run, and list unverified behavior.

QUICK COLOR REFERENCE:

  • text: #ffffff
  • background: #0a0a0a
  • raised: #1a1a1a
  • amber: #c4956a
  • divider: #2a2a2a
  • muted: #8a8a8a

EXAMPLE COMPONENT PROMPTS:

  1. Build a dark gallery page: ground #0a0a0a, cards #1a1a1a, borders #2a2a2a. Work images are full-bleed with object-fit cover, zero radius and zero shadow inside an overflow-hidden container with no padding. A wall label sits 48px below: 10px uppercase 0.15em amber #c4956a metadata (date, location, medium) above a 20px/300 white title. Headlines run 72px/300 at -0.02em. Cards take a 2px radius and a 1px border with no shadow, and hover drops the image to 90% opacity. Only weights 300 and 400 appear, and no light ground is ever used.

Similar Brands

  • Immersive Photo — Both photography-led, though gallery dark is far more restrained and nearly motionless
  • Horizontal Gallery — Both gallery logic, though that one is a white cube scrolling sideways while this is a dark room scrolling down

Quick Start


: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;
}

Community

Ratings & Feedback

No ratings yet - be the firstSign in to rate

Loading comments…

Component Templates

Component Preview

Button

FAQ

Dark Gallery — Frequently Asked Questions

What is the Dark Gallery design style?
A 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. Its core principle: Dark Gallery is "subtraction as curation": strip away everything that competes with the work, leaving only the frame that holds the viewing experience.
What colors does Dark Gallery use?
Dark Gallery uses #0A0A0A as its primary color and #FFFFFF as its secondary color, with accent colors #C4956A, #FFFFFF, #2A2A2A, #1A1A1A. Every hex value can be copied from the palette on this page.
How do I apply Dark Gallery correctly?
Key practices: Full-bleed images: use overflow-hidden on the container, object-cover w-full h-full on the image, padding-0 on the container. Background uses bg-[#0A0A0A]; elevated surfaces use bg-[#1A1A1A]; dividers and borders use border-[#2A2A2A]. Metadata (dates, tags, locations, wall labels) in text-[#C4956A] text-[10px] uppercase tracking-[0.15em] font-light.
What are common mistakes with Dark Gallery?
Avoid: Never use colored shadows (shadow-lg shadow-2xl) or gradient backgrounds (bg-gradient-*) — they break the purity of the dark field. Never use large border radii: rounded-sm at most; image containers must be rounded-none (square corners). Never use light backgrounds (bg-white, bg-gray-50, bg-gray-100) — they puncture the immersive dark atmosphere.
How do I prompt AI to generate Dark Gallery UI?
Copy the ready-made AI prompt on this page — it bundles the design tokens and component rules — and paste it into ChatGPT, Claude, Claude Code, or Codex. Effective prompts include the keywords: photography, gallery, dark, portfolio.
Global Styles

Global CSS

css
.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

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.

AttributeDark GalleryHorizontal Gallery
Primary color#0A0A0A#1A1A1A
Secondary color#FFFFFF#FCFCFA
Best forphotography / gallery / darkhorizontal gallery / horizontal scroll website / scroll snap
Unique tagsdark-theme—
Design Philosophy

Dark Gallery is "subtraction as curation": strip away everything that competes with the work, leaving only the frame that holds the viewing experience.