HomeStylesTemplates
StyleKit
StylesTemplates
  1. Home
  2. /Styles
  3. /Linear Style
Style Catalog/Linear Style

Linear Style

Linear 风格

B
82/100Good

受 Linear 应用启发的极简暗色设计风格。精确的排版、克制的动效、开发者审美的极致表达。深色背景配合微妙的渐变和精细的边框。

Linear styleLinear app designdark uidark modedeveloper tool aestheticSaaS landing pageminimal dark themesubtle gradientsprecise typographyproduct website
View Full Showcase →Templates

Best For

Linear style / Linear app design / dark ui

Primary Move

Near-black backgrounds: bg-[#0a0a0b] or bg-zinc-950

Watch Out

No white/light backgrounds (dark is the foundation)

Showcase Entry

Live preview of the showcase page. Click to explore the full experience.

View Full Showcase →

Color Palette

Primary

#5e6ad2

Secondary

#0a0a0b

Accent 1

#f2c94c

Accent 2

#27ae60

Accent 3

#eb5757

Accent 4

#2d9cdb

AI ImplementationComponent PreviewReadinessFAQExportsRatings & Feedback

AI Implementation

Copy the Hard Prompt first, then use the spec when needed

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.

Hard Prompt

Use this by default: copy it, append the concrete requirement, and let AI generate consistent production UI.

When to use

  • -When AI should generate UI directly
  • -When repeated outputs must stay consistent
  • -When style drift is the main risk

How to use

  • -Copy the full prompt
  • -Append the concrete requirement
  • -Review against forbidden rules and UI states
STYLEKIT_STYLE_REFERENCE
style_name: Linear Style
style_slug: linear-style
style_source: /styles/linear-style

# 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 a Linear Style design expert — precise, restrained, developer-focused dark UI.

## Rules
- Background: #0a0a0b, always dark
- Text: white primary, zinc-400 secondary
- Borders: 1px border-white/10
- Brand: #5e6ad2 for CTAs only
- Font: Inter, tracking-tight
- Border-radius: rounded-lg max

## Forbidden
- Light backgrounds, large radius, colored shadows, decorative elements

## Absolute Bans (Match and Refuse)

If any of the following patterns appear, it is a style violation — rewrite without exception.

- white/light backgrounds (dark is the foundation)
- large border-radius: rounded-2xl, rounded-3xl, rounded-full
- colored shadows or large shadows
- multiple fonts (Inter only)
- oversaturated colors (except brand purple)
- decorative elements (gradient backgrounds, blobs, noise textures)

## 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
- [ ] no white/light backgrounds (dark is the foundation)
- [ ] no large border-radius: rounded-2xl, rounded-3xl, rounded-full
- [ ] no colored shadows or large shadows
- [ ] no multiple fonts (Inter only)
- [ ] no oversaturated colors (except brand purple)

Component Templates

Component Preview

按钮

Linear 风格的渐变按钮

Frontend Readiness

Dark Mode, States, Motion, and Accessibility

This layer tracks whether the style is ready for real websites: theme modes, state feedback, keyboard access, and performance constraints.

Overall

73%

Curated

Dark Mode

70%

Partial

UI States

85%

Partial

Motion

70%

Partial

A11y

70%

Partial

Performance

70%

Partial

Key State Coverage

light / dark
HoverFocus VisibleDisabledLoadingEmptyErrorSuccess

Button

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

Implementation Notes

  • Use crisp dark surfaces with low-contrast borders and a single cool accent.
  • Check contrast in both light and dark modes.
  • Keep generated pages image-aware: explicit dimensions, lazy loading below the fold, and no layout shift.

FAQ

Linear Style — Frequently Asked Questions

01What is the Linear Style design style?
受 Linear 应用启发的极简暗色设计风格。精确的排版、克制的动效、开发者审美的极致表达。深色背景配合微妙的渐变和精细的边框。 Its core principle: Linear Style draws from the beloved developer tool Linear.
02What colors does Linear Style use?
Linear Style uses #5e6ad2 as its primary color and #0a0a0b as its secondary color, with accent colors #f2c94c, #27ae60, #eb5757, #2d9cdb. Every hex value can be copied from the palette on this page.
03How do I apply Linear Style correctly?
Key practices: Near-black backgrounds: bg-[#0a0a0b] or bg-zinc-950. Text hierarchy: text-white and text-zinc-400. Subtle borders: border border-white/10.
04What are common mistakes with Linear Style?
Avoid: No white/light backgrounds (dark is the foundation). No large border-radius: rounded-2xl, rounded-3xl, rounded-full. No colored shadows or large shadows.
05How do I prompt AI to generate Linear Style UI?
Copy the ready-made AI prompt on this page — it bundles the design tokens and component rules — and paste it into ChatGPT, Claude, Cursor, or v0. Effective prompts include the keywords: Linear style, Linear app design, dark ui, dark mode.
Global Styles

Global CSS

css
/* Linear Style Global Styles */
@layer base {
  body {
    @apply bg-[#0a0a0b] text-white antialiased;
    font-family: 'Inter', -apple-system, system-ui, sans-serif;
    -webkit-font-smoothing: antialiased;
    letter-spacing: -0.01em;
  }
}

@layer utilities {
  .linear-border {
    border: 1px solid rgba(255, 255, 255, 0.1);
  }

  .linear-surface {
    background: rgba(255, 255, 255, 0.03);
  }

  .linear-surface-hover {
    background: rgba(255, 255, 255, 0.06);
  }

  .linear-gradient {
    background: linear-gradient(to right, #5e6ad2, #8b5cf6);
  }
}
/* Linear Style Design Tokens */
:root {
  --linear-style-primary: #5e6ad2;
  --linear-style-secondary: #0a0a0b;
  --linear-style-accent: #f2c94c;
  --linear-style-glow: rgba(94, 106, 210, 0.3);
}

@keyframes linear-style-fade-in {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes linear-style-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.7; }
}

.linear-style-card {
  position: relative;
  overflow: hidden;
}

.linear-style-card::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.3s ease;
  background: linear-gradient(135deg, rgba(94, 106, 210, 0.05), transparent);
  pointer-events: none;
}

.linear-style-card:hover::before {
  opacity: 1;
}

.linear-style-frosted {
  backdrop-filter: blur(12px) saturate(180%);
  -webkit-backdrop-filter: blur(12px) saturate(180%);
  background: rgba(94, 106, 210, 0.08);
}

.linear-style-accent-corner {
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 2rem), calc(100% - 2rem) 100%, 0 100%);
}

.linear-style-animate-in {
  animation: linear-style-fade-in 0.5s ease-out both;
}

IDE Integration

IDE Configuration Export

Download configuration files for AI coding assistants to generate code in this style.

Style Pack

Export 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

Design Philosophy

Linear Style draws from the beloved developer tool Linear. The design philosophy: "Every pixel has a purpose."

Accessibility

Accessibility Score

WCAG 2.1 compliance analysis based on color contrast and typography readability.

82

Overall Score

Grade: B - Good

Contrast Ratios

Score: 88/100Average Ratio: 12.25:1
AA PassAAA Fail
ContextColorsRatioAAAAA
Text on background
/#ffffff / #0a0a0b
19.79:1
Text on accent 1
/#ffffff / #5e6ad2
4.7:1

Readability

Score

67/100

Font Size

text-sm

Font Weight

font-sans font-semibold tracking-tight

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.

Design Recipes

Recommended Combinations with Linear Style

These curated recipes combine this style with layouts and animations, optimized for specific use cases.

Linear-Style Docs

Modern, beautiful documentation that developers love.

linear-stylesidebar-fixed+1
darkdeveloper-friendlyprofessional

StyleKit

A curated web design style library to help AI generate better-looking websites.

FeedbackSupport Maintenance
Explore+
StylesTemplatesAnimationsResource LibraryPromptsCollections
Learn+
FoundationsGuideRecipesChangelogBlog
Trust+
AboutContactPrivacyTermsSupport UsRefunds

(c) 2026 StyleKit. Open source project.

闄旾CP澶?025065501鍙?3

Colophon/SK — 2026

Built with the Editorial style

01FeedbackTell us what could work better02Support MaintenanceIf StyleKit helps your workflow, voluntary support helps cover servers, domains, and ongoing upkeep.

StyleKit

A curated web design style library to help AI generate better-looking websites.

GitHub Repository

Explore

StylesTemplatesAnimationsResource LibraryPromptsCollections

Learn

FoundationsGuideRecipesChangelogBlog

Dispatch

Get notified when new styles, templates and tools ship.

Stay Updated

By subscribing, you agree to our Privacy Policy and Terms.

(c) 2026 StyleKit. Open source project.

AboutContactPrivacyTermsSupport UsRefunds/陕ICP备2025065501号-3

StyleKit