本页出处
设计风格资料库
内容来自 luckymaomi 的 UI 风格库(复刻版),以 MIT 许可 提供。本站镜像收录,仅作学习参考;这一页的原始地址是 原站页面。
← 回到导览访问原站仓库
返回风格库
视觉风格minimal

暗色画廊风

Dark Gallery

暗色调摄影画廊作品集风格:近黑背景让全出血图片成为绝对主角,温琥珀色点缀无信息,超轻极简排版安静退后。适合摄影师、电影人、视觉艺术家的作品展示。

暗色画廊风视觉预览
主色#0A0A0A
次色#FFFFFF
强调色 1#C4956A
强调色 2#FFFFFF
强调色 3#2A2A2A
强调色 4#1A1A1A

AI 实现规则

你是一位暗色画廊风(Dark Gallery)设计专家。这种风格将高端实体画廊的体验数字化:暗场沉浸感、全出血图片优先、温琥珀色信息层、超轻极简排版。

## 绝对规则
- 背景:主色 bg-[#0A0A0A];次级容器 bg-[#1A1A1A];可交互元素 bg-[#2A2A2A] / border-[#2A2A2A]
- 正文:font-sans font-light,颜色 text-white
- 标题:font-light tracking-tight text-white,超大字重(text-4xl ~ text-7xl)
- 温琥珀色 #C4956A 只用于日期、标签、图注、展签等元信息——绝对不用于正文段落与主标题
- 图片:object-cover w-full h-full 全出血,容器 overflow-hidden padding-0 无边框
- 层级靠灰度堆叠(#0A0A0A → #1A1A1A → #2A2A2A)与留白完成,不使用色相变化区分区域
- 分隔线一律使用 border-[#2A2A2A] hairline 极细线(1px)
- 圆角:卡片最多 rounded-sm(2px),图片容器 rounded-none
- 英文字距:标题 tracking-tight,元信息 tracking-[0.15em],导航 tracking-[0.2em]
- 转场:transition-all duration-300,缓动 ease-out

## 禁止
- 渐变 bg-gradient-*
- 投影 shadow-sm 及以上(暗底上阴影不可见)
- 圆角超过 rounded-sm,图片容器必须直角
- 亮色背景(bg-white / bg-gray-50)
- 衬线字体(font-serif)与粗重字重(font-bold / font-semibold)
- 图片容器有 padding 或 border 边框
- 彩色或亮色分隔线

## 布局与间距
- 页面壳层:bg-[#0A0A0A]
- 作品缩略图网格:grid grid-cols-2 md:grid-cols-3 gap-4 md:gap-6
- 索引卡片内边距:p-4(或 p-0 全出血布局)
- 区块节奏:py-16 md:py-24
- 容器 padding:px-6 md:px-8 lg:px-12

## 响应式
- 移动端:网格改为单列或双列,保持全出血,导航折叠为汉堡菜单
- 桌面端(md+):三列网格,hover 有微亮度变化(hover:opacity-90),lightbox 转场

## 自检清单
生成代码后验证:
1. 背景色不是白色或浅灰——必须是 #0A0A0A 系列
2. 所有图片都是全出血(无 padding、无 border)
3. 温琥珀色只出现在元信息上,不在正文或标题中
4. 字体使用 font-sans font-light,没有 font-serif 或 font-bold
5. 没有渐变、没有投影、没有大圆角
6. 分隔线颜色是 #2A2A2A,不是亮灰或彩色

组件预览与实现

font-sans text-xs tracking-[0.15em] transition-colors duration-200 bg-transparent text-[#666666] hover:text-white hover:text-white hover:opacity-80
button

画廊操作按钮

暗面按钮,hairline 边框,hover 时边框变为琥珀色,极轻字重与大字号字距

<button className="px-5 py-2.5 bg-[#1A1A1A] text-white text-sm font-light tracking-wider border border-[#2A2A2A] rounded-sm hover:border-[#C4956A] hover:bg-[#2A2A2A] transition-all duration-300">Exhibition Info</button>
card

展览卡片

暗色展品卡:hairline 边框、全出血图片位、琥珀色日期与展签元信息

<div className="bg-[#0A0A0A] border border-[#2A2A2A] rounded-sm overflow-hidden">
  <div className="aspect-[4/3] bg-[#1A1A1A] flex items-center justify-center text-[#3A3A3A] text-xs font-light tracking-wider">[ Full-Bleed Image ]</div>
  <div className="p-4">
    <span className="text-[#C4956A] text-[10px] uppercase tracking-[0.15em] font-light">Tokyo, 2026</span>
    <h3 className="text-white text-sm font-light tracking-wide mt-1">Between Shadows</h3>
    <p className="text-[#4A4A4A] text-xs font-light mt-1">Archival pigment print, 80 x 120 cm</p>
  </div>
</div>
input

展品检索框

暗底搜索输入框,hairline 边框,聚焦时琥珀色细环

<input type="text" placeholder="Search exhibitions..." className="w-full px-4 py-2.5 bg-[#0A0A0A] border border-[#2A2A2A] rounded-sm text-white text-sm font-light placeholder:text-[#4A4A4A] focus:outline-none focus:border-[#C4956A] focus:ring-1 focus:ring-[#C4956A]/30 transition-all duration-300" />
nav

画廊刊头

masthead 式顶栏:暗底 + hairline 下边线 + 大写极细导航链接

<nav className="flex items-center justify-between px-8 py-5 bg-[#0A0A0A] border border-[#2A2A2A]">
  <span className="text-white text-sm font-light tracking-[0.2em] uppercase">GALLERY</span>
  <div className="flex items-center gap-8 text-[11px] text-[#666666] uppercase tracking-[0.15em] font-light">
    <a href="#" className="hover:text-white transition-colors duration-300">Exhibitions</a>
    <a href="#" className="hover:text-white transition-colors duration-300">Artists</a>
    <a href="#" className="hover:text-white transition-colors duration-300">Visit</a>
  </div>
</nav>
hero

展览头部

全出血图片 hero 区:暗色遮罩、底对齐标题、琥珀色标签与灰色正文

<section className="relative bg-[#0A0A0A] min-h-[80vh] flex items-end overflow-hidden">
  <div className="absolute inset-0 bg-[#0A0A0A]/50" />
  <div className="relative z-10 px-8 pb-16 max-w-3xl">
    <p className="text-[#C4956A] text-[11px] uppercase tracking-[0.2em] mb-3 font-light">Featured Exhibition</p>
    <h1 className="text-white text-5xl md:text-7xl font-light leading-tight tracking-tight mb-4">The Space Between</h1>
    <p className="text-[#666666] text-sm font-light max-w-xl">A survey of contemporary Japanese photography, exploring the tension between presence and absence.</p>
  </div>
</section>
footer

画廊页脚

暗底页脚,hairline 上边线,琥珀色标签标识信息组,灰色内容正文

<footer className="bg-[#0A0A0A] border border-[#2A2A2A] px-8 py-12">
  <div className="max-w-6xl mx-auto">
    <div className="flex flex-wrap justify-between gap-8 text-xs font-light">
      <div>
        <p className="text-[#C4956A] text-[10px] uppercase tracking-[0.15em] mb-2">Location</p>
        <p className="text-[#666666]">47 Berwick Street<br />London, W1F 8SQ</p>
      </div>
      <div>
        <p className="text-[#C4956A] text-[10px] uppercase tracking-[0.15em] mb-2">Hours</p>
        <p className="text-[#666666]">Tue-Sat 11:00 - 19:00<br />Sun 12:00 - 17:00</p>
      </div>
      <div>
        <p className="text-[#C4956A] text-[10px] uppercase tracking-[0.15em] mb-2">Contact</p>
        <p className="text-[#666666]">info@gallery.com<br />+44 20 7946 0958</p>
      </div>
    </div>
    <p className="mt-8 pt-4 border border-[#2A2A2A] text-[10px] text-[#4A4A4A] tracking-[0.1em] font-light">&copy; 2026 Gallery. All rights reserved.</p>
  </div>
</footer>

交互展示

适用范围与设计理念

应用场景

portfolioblogcreative

视觉关键词

dark-themeresponsive摄影画廊暗色作品集全出血大图极简视觉艺术家电影展览

暗色画廊风是"减法即策展"的设计实践——拿掉一切与作品争抢注意力的元素,只留下承载观看的框架。

核心理念:

- 暗场即画框:#0A0A0A 近黑背景不是"深色模式",而是实体画廊的暗场空间——让每一张照片从黑暗中浮现,像展厅里被聚光灯照亮的作品

- 全出血即尊重:图片撑满容器边缘,不设 padding、不加阴影、不设边框——让图像自身成为边界,让细节无所遁形

- 琥珀色即现场感:#C4956A 温琥珀色只用于日期、标签、图注与展签——就像暗室里那盏小暖灯,只照亮信息的轮廓,不照亮信息本身

- 克制即信任:超轻字重(font-light)、hairline 细线分隔、大间距、大字号字距(tracking-wider)——设计越退让,观看越专注

- 无衬线即当代:正文必须无衬线(font-sans),杜绝一切装饰性字体与华丽字形——像画廊导览册一样安静、精准、不打扰

设计原则:

- 色彩即氛围:#0A0A0A 底色创造沉浸暗场,#1A1A1A 用于卡片与容器的微妙分层,#2A2A2A 用于分隔线与边框的分界——视觉层次靠灰度堆叠完成,不靠色相变化

- 排版即呼吸:标题用超大字号、极轻字重、紧密行距制造视觉冲击;元信息用超小号、大写、大字号字距保持克制——两种节奏互为观照

- 图片即叙事:传统"标题在上、正文在下"的卡片布局在此消解——图片本身就是标题。caption 仅补充上下文:时间、地点、媒介、尺寸

- 网格即节奏:等宽网格排列作品缩略图,行与行之间预留呼吸感;hover 仅做微弱的亮度变化——让观看者自主选择目光的落点

- 转场即沉浸:页面切换与 lightbox 打开应当平滑、不抢戏——至少 300ms ease-out,像电影 fade 一样自然

这就是暗色画廊风:不是"深色版极简",而是"实体画廊体验的数字化"——把展厅的仪式感、暗场的沉浸感、展签的克制感,忠实翻译成像素。

应该这样做

  • 全出血图片:在容器上用 overflow-hidden、图片上用 object-cover w-full h-full,容器 padding-0
  • 背景使用 bg-[#0A0A0A],卡片与侧面板使用 bg-[#1A1A1A],分隔线使用 border-[#2A2A2A]
  • 元信息(日期、标签、地点、展签)使用 text-[#C4956A] text-[10px] uppercase tracking-[0.15em] font-light
  • 正文使用 font-sans font-light text-white,大标题使用 text-4xl md:text-6xl lg:text-7xl font-light tracking-tight
  • 卡片使用 border border-[#2A2A2A] rounded-sm,不加阴影不设投影
  • 作品缩略图网格使用 grid grid-cols-2 md:grid-cols-3 gap-4 md:gap-6,hover:opacity-90 微亮度变化
  • 页面导航使用 px-6 md:px-8 py-4 md:py-5 border border-[#2A2A2A],链接使用 text-[11px] uppercase tracking-[0.15em] font-light
  • 输入框使用 bg-[#0A0A0A] border-[#2A2A2A] focus:border-[#C4956A] focus:ring-1 focus:ring-[#C4956A]/30 rounded-sm

避免这样做

  • 禁止使用彩色阴影(shadow-lg shadow-2xl)与渐变背景(bg-gradient-*)——破坏暗场纯净度
  • 禁止大圆角:最多 rounded-sm,图片容器使用 rounded-none 直角
  • 禁止亮色背景(bg-white bg-gray-50 bg-gray-100)——打破暗场沉浸感
  • 禁止彩色或明亮的分隔线:所有分隔线使用 border-[#2A2A2A] hairline 极细
  • 禁止衬线字体(font-serif)与粗重字重(font-bold font-semibold)——保持当代无衬线与轻量化
  • 禁止在图片周围添加 padding 或边框——图片必须全出血

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

布局、色板与 Tokens

主色#0A0A0A
次色#FFFFFF
强调色 1#C4956A
强调色 2#FFFFFF
强调色 3#2A2A2A
强调色 4#1A1A1A
{
  "border": {
    "width": "border",
    "color": "border-[#2A2A2A]",
    "radius": "rounded-sm",
    "style": "border-solid"
  },
  "shadow": {
    "sm": "shadow-none",
    "md": "shadow-none",
    "lg": "shadow-none",
    "none": "shadow-none",
    "hover": "shadow-none",
    "focus": "shadow-none",
    "colored": {}
  },
  "interaction": {
    "transition": "transition-all duration-300",
    "active": "active:opacity-80",
    "hoverOpacity": "hover:opacity-90"
  },
  "typography": {
    "heading": "font-sans font-light tracking-tight text-white",
    "body": "font-sans font-light text-white leading-relaxed",
    "mono": "font-mono text-[#C4956A] text-sm",
    "sizes": {
      "hero": "text-5xl md:text-7xl lg:text-8xl",
      "h1": "text-3xl md:text-5xl",
      "h2": "text-2xl md:text-4xl",
      "h3": "text-lg md:text-xl",
      "body": "text-sm md:text-base",
      "small": "text-xs"
    }
  },
  "spacing": {
    "section": "py-16 md:py-24 lg:py-32",
    "container": "px-6 md:px-8 lg:px-12",
    "card": "p-0",
    "gap": {
      "sm": "gap-2 md:gap-3",
      "md": "gap-4 md:gap-6",
      "lg": "gap-8 md:gap-12"
    }
  },
  "colors": {
    "background": {
      "primary": "bg-[#0A0A0A]",
      "secondary": "bg-[#1A1A1A]",
      "accent": [
        "bg-[#C4956A]",
        "bg-white",
        "bg-[#2A2A2A]",
        "bg-[#1A1A1A]"
      ]
    },
    "text": {
      "primary": "text-white",
      "secondary": "text-[#666666]",
      "muted": "text-[#4A4A4A]"
    },
    "button": {
      "primary": "bg-[#1A1A1A] text-white border border-[#2A2A2A]",
      "secondary": "bg-transparent text-white border border-[#2A2A2A]",
      "danger": "bg-[#1A1A1A] text-[#C4956A] border border-[#C4956A]/30"
    }
  },
  "forbidden": {
    "classes": [
      "rounded-md",
      "rounded-lg",
      "rounded-xl",
      "rounded-2xl",
      "rounded-3xl",
      "rounded-full",
      "shadow-sm",
      "shadow-md",
      "shadow-lg",
      "shadow-xl",
      "shadow-2xl",
      "bg-white",
      "bg-gray-50",
      "bg-gray-100",
      "font-serif",
      "font-bold",
      "font-semibold"
    ],
    "patterns": [
      "^rounded-(?:md|lg|xl|2xl|3xl|full)$",
      "^shadow-(?:sm|md|lg|xl|2xl|inner)$",
      "^bg-gradient"
    ],
    "reasons": {
      "rounded-md": "Dark Gallery caps radii at rounded-sm; full-bleed images must be square-cornered",
      "rounded-lg": "Dark Gallery avoids rounded corners; images require sharp edges",
      "rounded-full": "Dark Gallery never uses pill shapes; geometry must remain minimal",
      "shadow-sm": "Dark Gallery surfaces are flat; depth comes from grayscale stacking, not elevation",
      "shadow-lg": "Dark Gallery has no shadows in the dark field; elevation breaks immersion",
      "bg-white": "White backgrounds puncture the immersive dark; use bg-[#0A0A0A] instead",
      "bg-gray-50": "Light grays destroy the gallery atmosphere; use bg-[#1A1A1A] for elevated surfaces",
      "font-serif": "Dark Gallery is contemporary sans-serif; serif belongs in academic contexts",
      "font-bold": "Dark Gallery uses light weights only (font-light); bold is too aggressive for the aesthetic"
    }
  },
  "required": {
    "button": [
      "border border-[#2A2A2A]",
      "rounded-sm",
      "font-light",
      "tracking-wider",
      "transition-all duration-300"
    ],
    "card": [
      "bg-[#0A0A0A]",
      "border border-[#2A2A2A]",
      "rounded-sm"
    ],
    "input": [
      "bg-[#0A0A0A]",
      "border border-[#2A2A2A]",
      "rounded-sm",
      "font-light",
      "text-white",
      "focus:outline-none focus:border-[#C4956A] focus:ring-1 focus:ring-[#C4956A]/30"
    ]
  }
}

示例提示词

摄影作品集主页

全出血图片网格、展览头部 hero、温琥珀色元信息的完整摄影作品集首页

Build a photography portfolio homepage in Dark Gallery style: a full-screen hero section with a large headline 'The Space Between' and a warm amber 'Featured Exhibition' label above it, a grid of full-bleed thumbnail cards (grid-cols-2 md:grid-cols-3) where each card shows a placeholder image with amber date/location metadata and a light caption below, a minimal gallery masthead nav with uppercase tracked navigation links, and a dark footer with amber-labeled contact info and opening hours. Use bg-[#0A0A0A] throughout, hairline borders, font-light sans-serif typography, and no shadows or gradients.

展览专题页

单场展览详情页,含策展陈述、作品列表与参观信息

Design an exhibition feature page in Dark Gallery style: a large full-bleed hero image representing the exhibition, the exhibition title in oversized font-light text, a curatorial statement paragraph in text-[#666666] font-light, a horizontal scrollable row of full-bleed artwork thumbnails each with amber metadata (title, year, medium, dimensions), a visitor info section with amber-labeled fields (Location, Hours, Admission) in the dark footer, and a gallery masthead with a back link. Use rounded-sm on cards only, rounded-none on images, border-[#2A2A2A] hairlines throughout.

艺术家简介页

艺术家详情页面:肖像、简历、作品节选与展览履历

Create an artist profile page in Dark Gallery style: a hero section with a large portrait image on the left and the artist name in oversized font-light text, a nationality and birth year in amber meta text, a biography paragraph in text-[#666666] font-light, a 'Selected Works' section with a grid of full-bleed thumbnail cards each having amber metadata (title, year, medium), an 'Exhibitions' timeline where each entry has an amber year label and gray venue text, separated by border-[#2A2A2A] hairlines, and a dark footer. No shadows, no gradients, no light backgrounds.