Best For
oversized type / huge typography / portfolio
超大字体排版
The defining portfolio trend of 2026: type IS the layout. Names and headlines become viewport-scale heroes via fluid clamp() sizing, imagery recedes to accents, and a single international orange cuts through near-black on warm white.
Best For
oversized type / huge typography / portfolio
Primary Move
Size headlines with fluid text-[clamp(3rem,12vw,10rem)] so they continuously fill the viewport
Watch Out
Never use gradient backgrounds or gradient text (bg-gradient-*); solid colors only
Showcase Entry
Live preview of the showcase page. Click to explore the full experience.
Color Palette
Primary
#0A0A0A
Secondary
#FAFAF8
Accent 1
#FF4D00
Accent 2
#71717A
AI Implementation
Use the Hard Prompt by default to generate UI. Use the Design Spec to understand, modify, and review the style. Use the Creative Brief for early exploration.
Use this by default: copy it, append the concrete requirement, and let AI generate consistent production UI.
When to use
How to use
STYLEKIT_STYLE_REFERENCE
style_name: Oversized Typography
style_slug: oversized-typography
style_source: /styles/oversized-typography
# Hard Prompt
## When To Use
Use this when you want AI to generate code with strict style consistency. It is the safest default for production UI.
## How To Use
- Copy the full prompt into ChatGPT, Claude, Cursor, or another coding assistant.
- Append the concrete product/page requirement after the prompt.
- After generation, check the forbidden rules and interaction states before accepting the output.
Strictly follow the style rules below and maintain consistency. No style drift allowed.
## Requirements
- Prioritize style consistency first, then creative extension.
- When conflicts arise, treat prohibitions as the highest priority.
- Self-check before output: verify colors, typography, spacing, and interactions still match this style.
## Style Rules
You are an Oversized Typography design expert generating 2026-style portfolio code.
## Absolute Rules
- The hero MUST be one viewport-scale word or name at text-[clamp(3rem,12vw,10rem)] fluid sizing; the traditional medium-headline-plus-image hero is forbidden
- All display type is font-black uppercase tracking-tighter leading-[0.85]
- Only two typographic voices exist: viewport-scale display, and font-mono text-xs uppercase tracking-widest micro-labels; body text at text-sm/base appears sparingly
- Palette is strictly #0A0A0A near-black text, #FAFAF8 warm white background, #FF4D00 as the single accent, #71717A / #E4E4E7 support grays
- Number sections with giant indices 01 / 02 / 03
- Hover states use underline underline-offset-8, a flip to orange, or solid/outline inversion via -webkit-text-stroke
- Images may only appear as small accents (max one third of viewport width) and never compete with the type
## Forbidden
- Gradients of any kind (bg-gradient-*, gradient text)
- Shadows of any kind (all shadow-*)
- Border radius beyond rounded-sm
- Any second accent color
- Centered small-size headings
- Decorative icon sets replacing verbal expression
## Responsive
- Giant type scales via clamp(); no font-size breakpoints needed
- Keep leading-[0.85] and uppercase on mobile; let giant words wrap into a type block
- Marquee, indices, and hairlines stay identical across breakpoints
- Touch targets at least 44px; pad mono labels with py-3 for tap area
## Self-Check
After generating, verify:
1. The first thing seen is type, not imagery
2. The only chroma on the page is #FF4D00
3. Zero shadow-* and bg-gradient-* classes exist
4. Every display heading is uppercase + font-black + negative tracking
5. Nav and meta rows are font-mono uppercase tracking-widest
## Absolute Bans (Match and Refuse)
If any of the following patterns appear, it is a style violation — rewrite without exception.
- use gradient backgrounds or gradient text (bg-gradient-*); solid colors only
- stack rounded cards; rounded-none or rounded-sm at most
- apply shadows (shadow-*); hierarchy comes from size, weight, and whitespace alone
- introduce a second accent color; no chroma exists beyond #FF4D00
- replace verbal expression with decorative icons; arrows serve type, not the reverse
- center small headings — titles are either huge or left-aligned, no timid middle ground
## Self-Check (Verify Before Shipping)
If any item fails, the style has drifted — fix before shipping.
- [ ] No purple-to-blue gradients
- [ ] No overused fonts (Inter, Roboto, Geist, Fraunces, Plus Jakarta Sans)
- [ ] No nested cards (cards inside cards)
- [ ] No gray text on colored backgrounds
- [ ] Body text contrast meets WCAG AA (>= 4.5:1)
- [ ] No bounce or elastic easing curves
- [ ] Animations have a prefers-reduced-motion fallback
- [ ] Body text line length capped at 65-75 characters
- [ ] No side-stripe accent borders (border-left/right > 1px)
- [ ] No gradient text (background-clip: text)
- [ ] No glassmorphism used as the default surface treatment
- [ ] No tiny uppercase tracked eyebrow labels above every section heading
- [ ] never use gradient backgrounds or gradient text (bg-gradient-*); solid colors only
- [ ] never stack rounded cards; rounded-none or rounded-sm at most
- [ ] never apply shadows (shadow-*); hierarchy comes from size, weight, and whitespace alone
- [ ] never introduce a second accent color; no chroma exists beyond #FF4D00
- [ ] never replace verbal expression with decorative icons; arrows serve type, not the reverseUse it in your workflow
Drop this style's theme into an existing shadcn project with one command.
npx shadcn add https://www.stylekit.top/r/oversized-typography.jsonGrab this style's theme without leaving your terminal.
npx stylekit-cli add oversized-typographyLet Claude, Cursor & Windsurf apply “Oversized Typography” while you code.
npx stylekit-mcpComponent Templates
大写等宽标签按钮,方角无阴影,hover 反转为橙
Frontend Readiness
This layer tracks whether the style is ready for real websites: theme modes, state feedback, keyboard access, and performance constraints.
Overall
51%
Fallback
Dark Mode
0%
MissingUI States
79%
PartialMotion
70%
PartialA11y
70%
PartialPerformance
35%
FallbackButton
Default / Hover / Focus Visible / Active / Disabled
Input
Default / Hover / Focus Visible / Disabled / Error
Card
Default / Hover / Focus Visible / Loading / Skeleton
Form
Default / Focus Visible / Disabled / Loading / Error
.oversized-typography-display {
font-weight: 900;
text-transform: uppercase;
letter-spacing: -0.04em;
line-height: 0.85;
}
.oversized-typography-hero {
font-size: clamp(3rem, 12vw, 10rem);
}
.oversized-typography-outline {
-webkit-text-stroke: 2px #0A0A0A;
color: transparent;
}
.oversized-typography-outline--inverse {
-webkit-text-stroke: 2px #FAFAF8;
color: transparent;
}
.oversized-typography-outline-hover {
-webkit-text-stroke: 2px #0A0A0A;
color: transparent;
transition: color 0.2s ease;
}
.oversized-typography-outline-hover:hover {
color: #FF4D00;
-webkit-text-stroke: 2px #FF4D00;
}
.oversized-typography-label {
font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
font-size: 0.75rem;
text-transform: uppercase;
letter-spacing: 0.2em;
}
.oversized-typography-hairline {
border-top: 1px solid rgba(10, 10, 10, 0.15);
}
@keyframes oversized-typography-marquee {
from { transform: translateX(0); }
to { transform: translateX(-50%); }
}
.oversized-typography-marquee {
display: flex;
width: max-content;
animation: oversized-typography-marquee 24s linear infinite;
}
.oversized-typography-marquee:hover {
animation-play-state: paused;
}
@media (prefers-reduced-motion: reduce) {
.oversized-typography-marquee {
animation: none;
}
}IDE Integration
Download configuration files for AI coding assistants to generate code in this style.
Style Pack
Get complete machine-readable style assets including design tokens, Tailwind presets, CSS variables, and shadcn/ui themes.
Metadata
Style metadata including version information
Design Tokens
Compatible with Figma / Style Dictionary / Tokens Studio
Tailwind Preset
Tailwind CSS theme preset, import directly in config
Global CSS
CSS variables and base styles
shadcn Theme
shadcn/ui theme configuration
CSS Variables
Pure CSS variables, works with any project
SKILL.md
Loadable skill pack for Cursor / Claude Code / VS Code
Oversized Typography promotes text from information carrier to the layout itself. When a name is scaled to fill the viewport, it no longer needs imagery, ornament, or cards to justify itself: weight, tracking, and whitespace are the entire visual language.
WCAG 2.1 compliance analysis based on color contrast and typography readability.
Overall Score
Grade: C - Fair
Contrast Ratios
| Context | Colors | Ratio | AA | AAA |
|---|---|---|---|---|
| Text on background | /#0A0A0A / #FAFAF8 | 18.94:1 | ||
| Secondary text on background | /#71717A / #FAFAF8 | 4.62:1 | ||
| Muted text on background | /#71717A / #FAFAF8 | 4.62:1 | ||
| Text on secondary background | /#0A0A0A / #0A0A0A | 1:1 | ||
| Secondary text on secondary | /#71717A / #0A0A0A | 4.1:1 | ||
| Button primary | /#FAFAF8 / #0A0A0A | 18.94:1 | ||
| Text on accent 1 | /#0A0A0A / #FF4D00 | 5.95:1 | ||
| Alt text on accent 1 | /#71717A / #FF4D00 | 1.45:1 | ||
| Text on accent 2 | /#0A0A0A / #18181B | 1.12:1 | ||
| Alt text on accent 2 | /#71717A / #18181B | 3.67:1 |
Readability
Score
90/100
Font Size
text-sm md:text-base
Font Weight
font-black uppercase tracking-tighter leading-[0.85]
Line Height
default
Scoring is based on WCAG 2.1 standards. AA requires 4.5:1 contrast for normal text, 3:1 for large text; AAA requires 7:1 for normal text, 4.5:1 for large text.