适合场景
粗边框 / 硬阴影 / 无圆角
大胆的黑色粗边框、硬边缘阴影、无圆角、高对比度配色。源于建筑野兽派,强调功能与原始美学。
适合场景
粗边框 / 硬阴影 / 无圆角
设计重点
使用纯黑边框 border-black border-2 md:border-4
注意事项
禁止使用圆角 rounded-lg, rounded-md, rounded-xl
design.md
一份文档说明这套风格的配色职责、字体规则、间距与组件构造。复制或下载后直接交给 Claude Code、Cursor、Codex 或 v0。
黑框、硬阴影、零圆角:界面由一块块压不扁的实体组成。
Theme: light
新野兽派从建筑取来态度:结构外露,材料不加装饰。网页上的做法是给每个元素一个 2px 到 4px 的纯黑外框、一层无模糊的偏移阴影、以及零圆角,让平面产生真实厚度。交互也必须是物理的——hover 时阴影变大、元素向左上抬起(Brutal Snap);active 时元素位移量正好等于阴影偏移量,阴影归零,像被手掌压平(Physical Crushing)。颜色只有黑白打底,加四支高饱和强调色,每支承担一个固定职能,不做渐变、不做半透明。
| Name | Value | Token | Role |
|---|---|---|---|
| Ink | #000000 | --color-ink | 所有边框、文字、硬阴影与反色区块。结构的全部重量都由它承担,不允许换成深灰。 |
| Paper | #ffffff | --color-paper | 页面画布与卡片填充。纯白是为了让黑框与阴影的对比拉到最大。 |
| Hot Pink | #ff006e | --color-hot-pink | 选中文字与主强调。也是卡片 hover 时阴影可切换的颜色。 |
| Acid Lime | #ccff00 | --color-acid-lime | hover 硬切背景。用于标签与主按钮的悬停底,切换必须是瞬间硬切。 |
| Electric Cyan | #00d9ff | --color-electric-cyan | 数据、状态与次级面板的强调。和粉、绿同时出现时只占小面积。 |
| Tangerine | #ff9500 | --color-tangerine | 警示与第四强调色。使用频率最低,全站不超过三处同时出现。 |
| Role | Family | Weight | Size | Line Height | Letter Spacing | Token |
|---|---|---|---|---|---|---|
| display | sans-serif | 900 | 72px | 0.95 | -0.02em | --text-display |
| heading-lg | sans-serif | 900 | 48px | 1 | -0.02em | --text-heading-lg |
| heading | sans-serif | 900 | 32px | 1.1 | -0.01em | --text-heading |
| subheading | sans-serif | 700 | 24px | 1.2 | — | --text-subheading |
| body | mono | 400 | 16px | 1.6 | — | --text-body |
| body-sm | mono | 400 | 14px | 1.6 | — | --text-body-sm |
| label | mono | 700 | 12px | 1.4 | 0.12em | --text-label |
Base unit: 8px Density: compact
| 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 |
| Element | Value |
|---|---|
| cards | 0 |
| buttons | 0 |
| inputs | 0 |
| badges | 0 |
Role: 主行动按钮
白底、2px 墨黑描边、直角、4px 硬阴影(偏移 4px 4px,模糊 0)。字号 12px、字重 700、全大写、字距 0.12em、等宽;padding 12px 24px。hover 时阴影增到 10px、元素向左上位移 4px,背景瞬间硬切到酸柠绿,持续时间 150ms ease-out。按下时元素右下位移 6px,阴影归零。
Role: 内容卡片与商品卡
白底、2px 墨黑描边、直角、8px 硬阴影。内边距 24px,卡片间距 32px。hover 时元素上移 4px、阴影增到 10px,阴影色可切到荧光粉,过渡 150ms ease-out。
Role: 分类标签与状态徽标
墨黑填充、白字、直角、无描边。12px 等宽、字重 700、全大写、字距 0.12em;padding 4px 8px。反色用途时改为白底黑框。
Role: 表单输入
白底、2px 墨黑描边、直角、无阴影。14px 等宽、padding 12px 16px。聚焦时出现 4px 硬阴影并保持描边宽度不变,不改变尺寸以避免布局抖动。
Role: 页面顶部或底部的滚动条
墨黑底、白字、直角、无阴影。16px 等宽、全大写、字距 0.12em、上下 padding 8px,内容横向匀速滚动,间隔用 4px 实心方块分隔。
| Level | Name | Value | Purpose |
|---|---|---|---|
| 0 | Paper | #ffffff | 页面画布 |
| 1 | Slab | #f4f4f4 | 次级面板与分区底 |
4px 4px 0 0 #0000008px 8px 0 0 #00000010px 10px 0 0 #000000none不用摄影。用粗描边的几何图形、点阵与棋盘格、像素化的图标,全部单色或四支强调色之一。任何图像都必须能画成 2px 线条与实心块,出现渐变或柔光就破坏风格。
12 栏、上限 1280px,容器内边距 16px 到 32px。区块间距 80px,卡片间距 32px。允许元素相对网格偏移 4px 到 8px 制造碰撞感,但同一区块内偏移方向保持一致。标题与正文的对齐必须是硬对齐,不做居中柔化。
QUICK COLOR REFERENCE:
#000000#ffffff#000000#ff006e#ccff00#f4f4f4EXAMPLE COMPONENT PROMPTS:
:root {
/* Colors */
--color-ink: #000000;
--color-paper: #ffffff;
--color-hot-pink: #ff006e;
--color-acid-lime: #ccff00;
--color-electric-cyan: #00d9ff;
--color-tangerine: #ff9500;
/* Typography — Font Families */
--font-sans: 'sans-serif', ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
--font-mono: 'mono', ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
/* Typography — Scale */
--text-display: 72px;
--leading-display: 0.95;
--tracking-display: -0.02em;
--text-heading-lg: 48px;
--leading-heading-lg: 1;
--tracking-heading-lg: -0.02em;
--text-heading: 32px;
--leading-heading: 1.1;
--tracking-heading: -0.01em;
--text-subheading: 24px;
--leading-subheading: 1.2;
--text-body: 16px;
--leading-body: 1.6;
--text-body-sm: 14px;
--leading-body-sm: 1.6;
--text-label: 12px;
--leading-label: 1.4;
--tracking-label: 0.12em;
/* Typography — Weights */
--font-weight-regular: 400;
--font-weight-bold: 700;
--font-weight-black: 900;
/* 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;
/* Layout */
--page-max-width: 1280px;
--section-gap: 80px;
--card-padding: 24px;
--element-gap: 16px;
--density: compact;
/* Border Radius */
--radius-cards: 0;
--radius-buttons: 0;
--radius-inputs: 0;
--radius-badges: 0;
/* Surfaces */
--surface-paper: #ffffff;
--surface-slab: #f4f4f4;
}
组件模板
Neo-Brutalist 风格的按钮,Physical Crushing 完全压平 + Brutal Snap 生猛反馈
指针交互气质
这套风格定制的指针交互——同一个光标,完全不同的性格。在舞台上移动鼠标感受它。
常见问题
/* Neo-Brutalist 全局样式 */
:root {
--accent-pink: #ff006e;
--accent-green: #ccff00;
--accent-blue: #00d9ff;
--accent-yellow: #ff9500;
}
/* 标题字体 */
h1, h2, h3, h4, h5, h6 {
font-weight: 900;
letter-spacing: -0.02em;
}
/* 正文字体 */
body {
font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}
/* 选中文字样式 */
::selection {
background: var(--accent-pink);
color: white;
}
@keyframes neo-brutalist-fade-in {
from { opacity: 0; transform: translateY(8px); }
to { opacity: 1; transform: translateY(0); }
}
@keyframes neo-brutalist-pulse {
0%, 100% { opacity: 1; }
50% { opacity: 0.7; }
}
.neo-brutalist-card {
position: relative;
overflow: hidden;
}
.neo-brutalist-card::before {
content: "";
position: absolute;
inset: 0;
opacity: 0;
transition: opacity 0.3s ease;
background: linear-gradient(135deg, rgba(0, 0, 0, 0.05), transparent);
pointer-events: none;
}
.neo-brutalist-card:hover::before {
opacity: 1;
}
.neo-brutalist-gradient {
background: linear-gradient(135deg, #000000, #ff006e);
}
.neo-brutalist-gradient-text {
background: linear-gradient(135deg, #000000, #ff006e);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
background-clip: text;
}
.neo-brutalist-frosted {
backdrop-filter: blur(12px) saturate(180%);
-webkit-backdrop-filter: blur(12px) saturate(180%);
background: rgba(0, 0, 0, 0.08);
}
.neo-brutalist-accent-corner {
clip-path: polygon(0 0, 100% 0, 100% calc(100% - 2rem), calc(100% - 2rem) 100%, 0 100%);
}
.neo-brutalist-animate-in {
animation: neo-brutalist-fade-in 0.5s ease-out both;
}兼容的布局模式
以下布局模式与 新野兽派 风格搭配效果良好。
相关风格
探索这些风格获取现成的 tokens 和组件。
新野兽派 和 酸性平面设计 是最接近的两个方向。下表列出它们在配色、适用场景和标签上的实际差异,选之前先看这一栏。
| 维度 | 新野兽派 | 酸性平面设计 |
|---|---|---|
| 主色 | #000000 | #39ff14 |
| 辅助色 | #ffffff | #0a0a0a |
| 适合场景 | 粗边框 / 硬阴影 / 无圆角 | 酸性 / 迷幻 / 荧光 |
| 独有标签 | — | — |
导出工具
7 个风格文件,包含 SKILL.md。
Metadata
Style metadata including version information
Design Tokens
Figma / Style Dictionary / Tokens Studio 兼容
Tailwind Preset
Tailwind CSS 主题预设,可直接在配置中引用
Global CSS
包含 CSS 变量和基础样式
shadcn Theme
shadcn/ui 主题配置
CSS Variables
纯 CSS 变量,适用于任何项目
SKILL.md
可加载到 Cursor / Claude Code / VS Code 的技能包
Neo-Brutalist(新野兽派)设计风格源于建筑领域的野兽派运动,强调原始、未经修饰的功能美学。在 Web 设计中,这种风格通过大胆的黑色边框、硬边缘阴影、锐利的直角和高对比度的配色方案来表达。
基于颜色对比度和排版可读性的 WCAG 2.1 合规分析。
综合评分
等级: C - 一般
对比度
| 场景 | 颜色 | 比率 | AA | AAA |
|---|---|---|---|---|
| Text on background | /#000000 / #ffffff | 21:1 | ||
| Secondary text on background | /#ffffff / #ffffff | 1:1 | ||
| Muted text on background | /#374151 / #ffffff | 10.31:1 | ||
| Text on secondary background | /#000000 / #000000 | 1:1 | ||
| Secondary text on secondary | /#ffffff / #000000 | 21:1 | ||
| Button primary | /#ffffff / #ff006e | 3.83:1 | ||
| Text on accent 1 | /#000000 / #ff006e | 5.48:1 | ||
| Alt text on accent 1 | /#ffffff / #ff006e | 3.83:1 | ||
| Text on accent 2 | /#000000 / #ccff00 | 17.87:1 | ||
| Alt text on accent 2 | /#ffffff / #ccff00 | 1.18:1 | ||
| Text on accent 3 | /#000000 / #00d9ff | 12.37:1 | ||
| Alt text on accent 3 | /#ffffff / #00d9ff | 1.7:1 | ||
| Text on accent 4 | /#000000 / #ff9500 | 9.55:1 | ||
| Alt text on accent 4 | /#ffffff / #ff9500 | 2.2:1 |
可读性
分数
85/100
字号
text-sm md:text-base
字重
font-black tracking-tight
行高
default
评分基于 WCAG 2.1 标准。AA 级要求普通文本对比度 4.5:1、大文本 3:1;AAA 级要求普通文本 7:1、大文本 4.5:1。
设计配方
这些精选配方将此风格与布局和动画组合,针对特定场景优化。