适合场景
像素动漫 / JRPG / 8-bit
将经典JRPG游戏UI与像素动漫美学融合,以RPG对话框、状态条、像素边框和NES色板打造怀旧8-bit游戏界面风格。
适合场景
像素动漫 / JRPG / 8-bit
设计重点
Use RPG dialogue box frames with 4px borders and corner block decorations
注意事项
Never use smooth gradients (linear-gradient, radial-gradient)
AI 实现文档
默认用硬性提示词让 AI 直接生成前端;Design Spec 用来理解、改写和审核风格;Creative Brief 用来早期探索方向。
默认使用它:复制后追加具体需求,让 AI 直接生成一致、可落地的前端。
什么时候用
怎么用
STYLEKIT_STYLE_REFERENCE
style_name: 像素动漫风
style_slug: pixel-anime
style_source: /styles/pixel-anime
# Hard Prompt
## 什么时候用
当你希望 AI 严格按风格规则生成代码时使用。它是生产界面最稳的默认选择。
## 怎么用
- 把完整提示词复制到 ChatGPT、Claude、Cursor 或其他编码助手。
- 在提示词后追加具体产品、页面或组件需求。
- 生成后按禁止项和交互状态检查,确认没有风格漂移。
请严格遵守以下风格规则并保持一致性,禁止风格漂移。
## 执行要求
- 优先保证风格一致性,其次再做创意延展。
- 遇到冲突时以禁止项为最高优先级。
- 输出前自检:颜色、排版、间距、交互是否仍属于该风格。
## Style Rules
你是一位专精于 Pixel Anime(像素动漫风)风格的前端开发专家。所有生成的代码都必须严格遵守以下规范:
## 绝对禁止
- Never use smooth gradients (linear-gradient, radial-gradient)
- Never use rounded corners (rounded-lg/xl/full)
- Never use blur effects (blur, backdrop-blur)
- Never use serif fonts
- Never use `ease-in-out` or `ease` curves — only `ease-linear` or `transition-none` (pixel animations are abrupt, not organic)
- Never use blurred glow shadows for the Blocky Aura effect — zero blur is mandatory for 8-bit authenticity
- Never trigger Corner Blink animation outside of `group-hover` state — idle blinking on load creates visual noise
## 必须遵守
- Use RPG dialogue box frames with 4px borders and corner block decorations
- Include HP/MP/EXP status bar UI elements with flat fills
- Apply hard offset shadows (4px_4px_0px) for pixel depth
- Use monospace font exclusively for all text
- Keep interactions step-based (translate-x/y in 2px increments)
- Use NES-palette colors: blue #4a90d9, red #ff6b6b, gold #ffd93d, green #50c878
- Add pixel corner block decorations on major containers
- Framerate Drop: use `duration-75 ease-linear` for all transitions to simulate 15fps GBA/NDS-era animation cadence
- Blocky Aura: hover glow must be hard-edge multi-directional colored shadows with zero blur: `hover:shadow-[4px_4px_0_#ffd93d,-2px_-2px_0_#ffd93d]`
- Anime Action: button active state applies squash-and-stretch `active:scale-x-110 active:scale-y-90` — classic Japanese animation physics on press
- Corner Blink: card corner pixel squares use `group-hover:animate-pulse` to simulate game UI idle standby animation; never animate in non-hover state
## 必须遵循
- 深紫色背景:bg-[#2d1b69] 作为主色,bg-[#1a1040] 作为辅色
- RPG 对话框边框使用 2-4px 边框,并配角块装饰
- HP/MP/EXP 状态条 UI 元素使用纯色平涂
- 硬边偏移像素阴影:shadow-[4px_4px_0px_#1a1040]
- 等宽字体:所有文字都使用 font-mono
- 加粗 2px 边框:border-2 border-[#1a1040]
- 只用纯色,禁止渐变
- 阶梯式 hover:hover:translate-x-[2px] hover:translate-y-[2px]
- 线性缓动:ease-linear,duration-75
## 配色方案(NES 风格)
主色:
- 像素蓝:#4a90d9
- 深紫色:#2d1b69
- 深邃黑:#1a1040
- 像素红:#ff6b6b
- 像素金:#ffd93d
- 像素绿:#50c878
- 浅色文字:#e0e0ff
## 独特元素
- 带角块装饰的 RPG 对话框边框
- HP/MP/EXP 状态条进度指示器
- 像素网格背景图案(8px 网格)
- 闪烁的像素箭头光标/继续提示
- 阶梯式像素对齐的 hover 位移
## 动效与交互规则
- 掉帧感(Framerate Drop):所有过渡都必须使用 `duration-75 ease-linear`,模拟 15fps 的 GBA/NDS 时代动画节奏。禁止使用 `ease-in-out` 或平滑贝塞尔曲线——像素动画就该是突兀的状态切换。
- 方块光晕(Blocky Aura):hover 发光必须使用零模糊的多方向硬边彩色阴影:`hover:shadow-[4px_4px_0_#ffd93d,-2px_-2px_0_#ffd93d]`。禁止使用 `blur()` 或 `drop-shadow()`。
- 动漫式演出(Anime Action):按钮 active 状态使用挤压拉伸:`active:scale-x-110 active:scale-y-90`——这是按下瞬间的日式动画物理效果,不是简单的位移下沉。
- 边角闪烁(Corner Blink):卡片边角像素方块必须使用 `group-hover:animate-pulse` 来模拟游戏 UI 的待机动画。禁止在非 hover 状态下播放动画——只有玩家光标停留在卡片上时才闪烁。
---
# Pixel Anime (像素动漫风) Design System
> 将经典JRPG游戏UI与像素动漫美学融合,以RPG对话框、状态条、像素边框和NES色板打造怀旧8-bit游戏界面风格。
## 核心理念
Pixel Anime merges classic JRPG game UI with pixel-art anime aesthetics. Every element feels like it belongs in a 16-bit RPG menu screen.
Core principles:
- RPG Dialogue Boxes: Window frames with chunky borders and corner block decorations, referencing Final Fantasy and Dragon Quest menu systems
- Health/Status Bars: HP, MP, and EXP progress bars with pixel-precise flat fills and bordered containers
- Pixel Borders: All borders are 2px+ solid with hard edges, using image-rendering: pixelated where applicable
- NES/SNES Palette: Limited color palette of bold primary colors (blue, red, gold, green) on deep purple backgrounds
- Step-based Interactions: Hover states use translate-x/y in pixel-aligned steps, not smooth transforms
- Blinking Cursor: Selection arrows and continue prompts use blinking pixel arrows
---
## Token 字典(精确 Class 映射)
### 边框
```
宽度: border-2
颜色: border-[#1a1040]
圆角: rounded-none
```
### 阴影
```
小: shadow-[2px_2px_0px_#1a1040]
中: shadow-[4px_4px_0px_#1a1040]
大: shadow-[6px_6px_0px_#1a1040]
悬停: hover:shadow-[6px_6px_0px_#1a1040]
聚焦: focus:shadow-[2px_2px_0px_#4a90d9]
```
### 交互效果
```
悬停位移: hover:translate-x-[2px] hover:translate-y-[2px]
悬停缩放: (无)
悬停透明度: (无)
过渡动画: transition-all duration-150 ease-linear
按下状态: active:translate-x-[4px] active:translate-y-[4px] active:shadow-none
```
### 字体
```
标题: font-mono font-bold uppercase tracking-wider
正文: font-mono text-[#e0e0ff]/80
等宽: font-mono
```
### 字号
```
Hero: text-4xl md:text-6xl lg:text-7xl
H1: text-3xl md:text-5xl
H2: text-2xl md:text-3xl
H3: text-lg md:text-xl
正文: text-xs md:text-sm
小字: text-[10px] md:text-xs
```
### 间距
```
Section: py-12 md:py-20 lg:py-28
容器: px-4 md:px-8 lg:px-12
卡片: p-4 md:p-6
小间距: gap-3 md:gap-4
中间距: gap-4 md:gap-6
大间距: gap-6 md:gap-8
```
### 颜色角色
```
背景主色: bg-[#2d1b69]
背景辅色: bg-[#1a1040]
背景强调色: bg-[#4a90d9], bg-[#ff6b6b], bg-[#ffd93d], bg-[#50c878]
正文主色: text-[#e0e0ff]
正文辅色: text-[#ffd93d]
正文弱化色: text-[#e0e0ff]/50
按钮主色: bg-[#4a90d9] text-white shadow-[4px_4px_0px_#1a1040]
按钮辅色: bg-[#ff6b6b] text-white shadow-[4px_4px_0px_#1a1040]
```
---
## [FORBIDDEN] 绝对禁止
以下 class 在本风格中**绝对禁止使用**,生成时必须检查并避免:
### 禁止的 Class
- `rounded-lg`
- `rounded-xl`
- `rounded-2xl`
- `rounded-full`
- `bg-gradient-to-r`
- `bg-gradient-to-b`
- `bg-gradient-to-br`
- `shadow-sm`
- `shadow-md`
- `shadow-lg`
- `shadow-xl`
- `backdrop-blur`
- `backdrop-blur-sm`
- `backdrop-blur-md`
- `font-serif`
### 禁止的模式
- 匹配 `^rounded-(?:lg|xl|2xl|full)$`
- 匹配 `^bg-gradient-`
- 匹配 `^shadow-(?:sm|md|lg|xl)$`
- 匹配 `^backdrop-blur`
- 匹配 `^font-serif$`
### 禁止原因
- `rounded-lg`: Pixel Anime uses sharp corners only -- pixels cannot be round
- `bg-gradient-to-r`: Pixel Anime uses flat solid colors, no smooth gradients allowed
- `shadow-md`: Pixel Anime uses hard offset pixel shadows only, never soft shadows
- `backdrop-blur`: Pixel Anime avoids all blur effects to maintain crisp pixel aesthetic
> WARNING: 如果你的代码中包含以上任何 class,必须立即替换。
---
## [REQUIRED] 必须包含
### 按钮必须包含
```
font-mono font-bold uppercase
border-2 border-[#1a1040]
shadow-[4px_4px_0px_#1a1040]
transition-all duration-150 ease-linear
```
### 卡片必须包含
```
bg-[#2d1b69]
border-2 border-[#1a1040]
shadow-[4px_4px_0px_#1a1040]
```
### 输入框必须包含
```
bg-[#1a1040]
border-2 border-[#4a90d9]
font-mono
focus:outline-none
```
---
## [COMPARE] Pixel Anime 错误 vs 正确对比
以下错误示例只代表“未经过当前风格适配的通用默认值”,不要把错误示例当成视觉建议。
### 按钮
[WRONG] **错误示例**(通用组件库默认样式,不要直接复制):
```html
<button class="{GENERIC_LIBRARY_BUTTON_DEFAULT}">
点击我
</button>
```
[CORRECT] **正确示例**(使用当前风格的 token):
```html
<button class="font-mono font-bold uppercase border-2 border-[#1a1040] shadow-[4px_4px_0px_#1a1040] transition-all duration-150 ease-linear bg-[#4a90d9] text-white shadow-[4px_4px_0px_#1a1040]">
点击我
</button>
```
### 卡片
[WRONG] **错误示例**(未经当前风格适配的通用卡片):
```html
<div class="{GENERIC_LIBRARY_CARD_DEFAULT}">
<h3>{TITLE}</h3>
</div>
```
[CORRECT] **正确示例**(使用当前风格的 card token):
```html
<div class="bg-[#2d1b69] border-2 border-[#1a1040] shadow-[4px_4px_0px_#1a1040] p-4 md:p-6">
<h3 class="font-mono font-bold uppercase tracking-wider text-lg md:text-xl">{TITLE}</h3>
</div>
```
### 输入框
[WRONG] **错误示例**(未经当前风格适配的通用输入框):
```html
<input class="{GENERIC_LIBRARY_INPUT_DEFAULT}" />
```
[CORRECT] **正确示例**(使用当前风格的 input token):
```html
<input class="bg-[#1a1040] border-2 border-[#4a90d9] font-mono focus:outline-none" placeholder="{PLACEHOLDER}" />
```
---
## [TEMPLATES] Pixel Anime 页面骨架模板
以下骨架只使用当前风格的 token。替换 `{PLACEHOLDER}` 时,不要移除或替换这些 token:
### 导航栏骨架
```html
<nav class="bg-[#2d1b69] text-[#e0e0ff] border-2 border-[#1a1040] px-4 md:px-8 lg:px-12">
<div class="flex items-center justify-between max-w-6xl mx-auto gap-4 md:gap-6">
<a href="/" class="font-mono font-bold uppercase tracking-wider text-lg md:text-xl">
{LOGO_TEXT}
</a>
<div class="flex gap-4 md:gap-6 font-mono text-[#e0e0ff]/80 text-[10px] md:text-xs">
{NAV_LINKS}
</div>
</div>
</nav>
```
### Hero 区块骨架
```html
<section class="bg-[#4a90d9] text-[#e0e0ff] py-12 md:py-20 lg:py-28 px-4 md:px-8 lg:px-12">
<div class="max-w-4xl mx-auto">
<h1 class="font-mono font-bold uppercase tracking-wider text-4xl md:text-6xl lg:text-7xl">
{HEADLINE}
</h1>
<p class="font-mono text-[#e0e0ff]/80 text-xs md:text-sm max-w-xl">
{SUBHEADLINE}
</p>
<button class="font-mono font-bold uppercase border-2 border-[#1a1040] shadow-[4px_4px_0px_#1a1040] transition-all duration-150 ease-linear bg-[#4a90d9] text-white shadow-[4px_4px_0px_#1a1040]">
{CTA_TEXT}
</button>
</div>
</section>
```
### 卡片网格骨架
```html
<section class="bg-[#2d1b69] text-[#e0e0ff] py-12 md:py-20 lg:py-28 px-4 md:px-8 lg:px-12">
<div class="max-w-6xl mx-auto">
<h2 class="font-mono font-bold uppercase tracking-wider text-2xl md:text-3xl">{SECTION_TITLE}</h2>
<div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-4 md:gap-6">
<!-- Card template - repeat for each card -->
<div class="bg-[#2d1b69] border-2 border-[#1a1040] shadow-[4px_4px_0px_#1a1040] p-4 md:p-6">
<h3 class="font-mono font-bold uppercase tracking-wider text-lg md:text-xl">{CARD_TITLE}</h3>
<p class="font-mono text-[#e0e0ff]/80 text-xs md:text-sm text-[#e0e0ff]/50">{CARD_DESCRIPTION}</p>
</div>
</div>
</div>
</section>
```
### 表单输入骨架
```html
<input class="bg-[#1a1040] border-2 border-[#4a90d9] font-mono focus:outline-none" placeholder="{PLACEHOLDER}" />
```
### 页脚骨架
```html
<footer class="bg-[#1a1040] text-[#ffd93d] py-12 md:py-20 lg:py-28 px-4 md:px-8 lg:px-12">
<div class="max-w-6xl mx-auto">
<div class="grid grid-cols-1 md:grid-cols-3 gap-6 md:gap-8">
<div>
<span class="font-mono font-bold uppercase tracking-wider text-lg md:text-xl">{LOGO_TEXT}</span>
<p class="font-mono text-[#e0e0ff]/80 text-[10px] md:text-xs">{TAGLINE}</p>
</div>
<div>
<h4 class="font-mono font-bold uppercase tracking-wider text-lg md:text-xl">{COLUMN_TITLE}</h4>
<ul class="font-mono text-[#e0e0ff]/80 text-[10px] md:text-xs">
{FOOTER_LINKS}
</ul>
</div>
</div>
</div>
</footer>
```
---
## [CHECKLIST] Pixel Anime 生成后自检清单
**输出代码前,逐项验证当前风格的 token 和规则。如有违反,先修正再交付:**
### Token 检查
- [ ] 按钮包含: `font-mono font-bold uppercase border-2 border-[#1a1040] shadow-[4px_4px_0px_#1a1040] transition-all duration-150 ease-linear`
- [ ] 卡片包含: `bg-[#2d1b69] border-2 border-[#1a1040] shadow-[4px_4px_0px_#1a1040]`
- [ ] 输入框包含: `bg-[#1a1040] border-2 border-[#4a90d9] font-mono focus:outline-none`
### 禁止项检查
- [ ] 没有使用 `rounded-lg`
- [ ] 没有使用 `rounded-xl`
- [ ] 没有使用 `rounded-2xl`
- [ ] 没有使用 `rounded-full`
- [ ] 没有使用 `bg-gradient-to-r`
- [ ] 没有使用 `bg-gradient-to-b`
- [ ] 没有使用 `bg-gradient-to-br`
- [ ] 没有使用 `shadow-sm`
### 风格规则检查
- [ ] Use RPG dialogue box frames with 4px borders and corner block decorations
- [ ] Include HP/MP/EXP status bar UI elements with flat fills
- [ ] Apply hard offset shadows (4px_4px_0px) for pixel depth
- [ ] Use monospace font exclusively for all text
- [ ] Keep interactions step-based (translate-x/y in 2px increments)
### 风格漂移检查
- [ ] 没有违反:Never use smooth gradients (linear-gradient, radial-gradient)
- [ ] 没有违反:Never use rounded corners (rounded-lg/xl/full)
- [ ] 没有违反:Never use blur effects (blur, backdrop-blur)
- [ ] 没有违反:Never use serif fonts
- [ ] 没有违反:Never use `ease-in-out` or `ease` curves — only `ease-linear` or `transition-none` (pixel animations are abrupt, not organic)
### 通用交付检查
- [ ] 响应式布局在手机、平板和桌面下稳定,没有横向溢出
- [ ] 所有交互元素有清晰焦点、可访问名称和 reduced-motion 方案
- [ ] 文本对比度达到 WCAG AA,且没有用颜色单独传递状态
- [ ] 结果仍然能够一眼识别为 Pixel Anime
---
## [EXAMPLES] 示例 Prompt
### 1. JRPG角色面板
经典RPG风格的角色状态面板
```
Use Pixel Anime style to create a JRPG character panel:
1. Background: dark purple with visible pixel grid overlay
2. RPG dialogue box frames with corner block decorations
3. HP/MP/EXP status bars with flat color fills
4. Character stats in monospace font, NES color palette
5. Pixel shadows and step-based button interactions
```
### 2. SaaS 着陆页
生成 像素动漫风风格的 SaaS 产品着陆页
```
Create a SaaS landing page using Pixel Anime style with hero section, feature grid, testimonials, pricing table, and footer.
```
### 3. 作品集展示
生成 像素动漫风风格的作品集页面
```
Create a portfolio showcase page using Pixel Anime style with project grid, about section, contact form, and consistent visual language.
```
## 绝对禁止(匹配即拒绝)
以下模式一旦出现,视为风格违规——不找借口,直接重写。
- use smooth gradients (linear-gradient, radial-gradient)
- use rounded corners (rounded-lg/xl/full)
- use blur effects (blur, backdrop-blur)
- use serif fonts
- use `ease-in-out` or `ease` curves — only `ease-linear` or `transition-none` (pixel animations are abrupt, not organic)
- use blurred glow shadows for the Blocky Aura effect — zero blur is mandatory for 8-bit authenticity
- trigger Corner Blink animation outside of `group-hover` state — idle blinking on load creates visual noise
## 自检清单(交付前逐条确认)
如果任何一条不通过,说明风格漂移了——修改后再交付。
- [ ] 没有紫色到蓝色的渐变
- [ ] 没有使用 Inter / Roboto / Geist 等过度使用的字体
- [ ] 没有嵌套卡片(卡片里面套卡片)
- [ ] 没有在彩色背景上放灰色文字
- [ ] 正文对比度满足 WCAG AA(≥4.5:1)
- [ ] 没有 bounce / elastic 缓动曲线
- [ ] 动效有 prefers-reduced-motion 备选方案
- [ ] 正文行宽不超过 65-75 个字符
- [ ] 没有单侧粗边框装饰(border-left/right accent stripe)
- [ ] 没有渐变文字(background-clip: text)
- [ ] 没有把玻璃态(glassmorphism)当作默认风格
- [ ] 没有 tiny uppercase tracked eyebrow 放在每个 section 标题上面
- [ ] never use smooth gradients (linear-gradient, radial-gradient)
- [ ] never use rounded corners (rounded-lg/xl/full)
- [ ] never use blur effects (blur, backdrop-blur)
- [ ] never use serif fonts
- [ ] never use `ease-in-out` or `ease` curves — only `ease-linear` or `transition-none` (pixel animations are abrupt, not organic)更多提示词库:全部 UI 提示词 · Tailwind UI 提示词 · 暗色模式提示词
组件模板
Pixel anime button with Blocky Aura multi-shadow hover + Anime Action squash-and-stretch on press
真实前端完成度
这层检查这个风格是否已经具备真实网站常见的主题、状态反馈、键盘可访问性和性能约束。
总体覆盖
58%
Fallback 规则
暗色模式
35%
通用组件状态
79%
部分动效规则
70%
部分可访问性
70%
部分性能代价
35%
通用按钮
默认 / 悬停 / 键盘焦点 / 按下 / 禁用
输入框
默认 / 悬停 / 键盘焦点 / 禁用 / 错误
卡片
默认 / 悬停 / 键盘焦点 / 加载中 / 骨架屏
表单
默认 / 键盘焦点 / 禁用 / 加载中 / 错误
常见问题
/* Pixel Anime Global Styles */
:root {
--pa-blue: #4a90d9;
--pa-dark: #2d1b69;
--pa-deep: #1a1040;
--pa-red: #ff6b6b;
--pa-gold: #ffd93d;
--pa-green: #50c878;
--pa-text: #e0e0ff;
}
/* RPG dialogue box frame with corner blocks */
.pa-dialog-frame {
position: relative;
border: 2px solid var(--pa-blue);
background: var(--pa-deep);
}
.pa-dialog-frame::before,
.pa-dialog-frame::after {
content: "";
position: absolute;
width: 8px;
height: 8px;
background: var(--pa-blue);
}
.pa-dialog-frame::before { top: -4px; left: -4px; }
.pa-dialog-frame::after { top: -4px; right: -4px; }
/* Pixel grid overlay */
.pa-pixel-grid::after {
content: "";
position: absolute;
inset: 0;
background-image:
linear-gradient(rgba(26, 16, 64, 0.12) 1px, transparent 1px),
linear-gradient(90deg, rgba(26, 16, 64, 0.12) 1px, transparent 1px);
background-size: 8px 8px;
pointer-events: none;
image-rendering: pixelated;
}
/* HP/MP/EXP status bar */
.pa-status-bar {
height: 8px;
border: 2px solid var(--pa-deep);
background: var(--pa-deep);
}
.pa-status-bar-fill {
height: 100%;
image-rendering: pixelated;
}
/* Pixel hard shadow */
.pa-shadow {
box-shadow: 4px 4px 0px var(--pa-deep);
}
/* Blinking cursor animation */
@keyframes pa-blink {
0%, 50% { opacity: 1; }
51%, 100% { opacity: 0; }
}
.pa-blink {
animation: pa-blink 1s infinite;
}相关风格
探索这些风格获取现成的 tokens 和组件。
IDE 集成
下载 AI 编码助手的配置文件,使其按照此风格生成代码。
风格包
获取完整的可机器读取风格资源,包括 Design Tokens、Tailwind 预设、CSS 变量和 shadcn/ui 主题。
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 的技能包
Pixel Anime merges classic JRPG game UI with pixel-art anime aesthetics. Every element feels like it belongs in a 16-bit RPG menu screen.
基于颜色对比度和排版可读性的 WCAG 2.1 合规分析。
综合评分
等级: D - 较差
对比度
| 场景 | 颜色 | 比率 | AA | AAA |
|---|---|---|---|---|
| Text on background | /#e0e0ff / #2d1b69 | 11.05:1 | ||
| Secondary text on background | /#ffd93d / #2d1b69 | 10.35:1 | ||
| Muted text on background | /#e0e0ff / #2d1b69 | 11.05:1 | ||
| Text on secondary background | /#e0e0ff / #1a1040 | 13.65:1 | ||
| Secondary text on secondary | /#ffd93d / #1a1040 | 12.79:1 | ||
| Button primary | /#ffffff / #4a90d9 | 3.34:1 | ||
| Text on accent 1 | /#e0e0ff / #4a90d9 | 2.59:1 | ||
| Alt text on accent 1 | /#ffd93d / #4a90d9 | 2.43:1 | ||
| Text on accent 2 | /#e0e0ff / #ff6b6b | 2.15:1 | ||
| Alt text on accent 2 | /#ffd93d / #ff6b6b | 2.01:1 | ||
| Text on accent 3 | /#e0e0ff / #ffd93d | 1.07:1 | ||
| Alt text on accent 3 | /#ffd93d / #ffd93d | 1:1 | ||
| Text on accent 4 | /#e0e0ff / #50c878 | 1.65:1 | ||
| Alt text on accent 4 | /#ffd93d / #50c878 | 1.54:1 |
可读性
分数
72/100
字号
text-xs md:text-sm
字重
font-mono font-bold uppercase tracking-wider
行高
default
评分基于 WCAG 2.1 标准。AA 级要求普通文本对比度 4.5:1、大文本 3:1;AAA 级要求普通文本 7:1、大文本 4.5:1。