Style Library

GitHub Style

Stylemodern

GitHub design language style with clean interface hierarchy, a refined grayscale system, blue interactive color, monospace code fonts, and developer-friendly information architecture.

#0969da
#ffffff
#1f883d
#9a6700
#cf222e
#1d7f98

Preview

A sample page drawn from this style’s tokens — a guide to the look, not the exact output.

New · weekly review

Plan the week in ten minutes

Pull in every task, see what matters, and share one clear plan with the team.

Get startedSee how it worksDocs
Tasks done1,284+12% this week
Sign in
Emailyou@example.com
Remember meContinue
Today
Review roadmapDone
Ship onboardingIn progress
Team sync3 pm
Prompt
Paste into any AI assistant before describing what to build — or attach it to a project below.
# Visual style: GitHub Style

GitHub design language style with clean interface hierarchy, a refined grayscale system, blue interactive color, monospace code fonts, and developer-friendly information architecture.

## Philosophy
GitHub Style is a design language originating from the GitHub platform, providing clear, efficient, and distraction-free working interfaces for tens of millions of developers worldwide. Its design philosophy is "let the content speak."

Core concepts:
- Content first: Code and documentation are the protagonists; UI is the supporting cast. All design decisions serve content readability and actionability
- Grayscale system: A refined grayscale hierarchy builds visual layers -- from #1f2328 (text) to #f6f8fa (background), each shade of gray has a clear semantic role
- Blue interaction: #0969da as the sole primary interaction color, precisely guiding user attention in a gray world
- Semantic functional colors: Green for success/merge, yellow for warning/pending, red for danger/delete -- each color has a clear meaning

This style is suitable for developer tools, code platforms, technical documentation, project management, and any product targeting a technical audience.

GitHub's design proves a truth: in information-dense scenarios, restrained visual design actually creates the best user experience. Every pixel of decoration must have a clear functional reason, or it should not exist.

## Do
- Use GitHub blue #0969da as the primary interaction color
- Use white #ffffff and light gray bg-[#f6f8fa] for backgrounds
- Use #1f2328 (dark gray) and #656d76 (secondary gray) for text
- Unify borders with border-[#d0d7de]
- Use rounded-md (6px) for consistent rounded corners
- Use monospace font font-mono and bg-[#f6f8fa] for code blocks
- Use semantic functional colors: green #1f883d, yellow #9a6700, red #cf222e
- Maintain compact but clear spacing

## Don't
- Do not use gradient backgrounds or colorful decorations
- Do not use large rounded corners rounded-2xl, rounded-full (except for avatars)
- Do not use heavy shadows shadow-lg, shadow-xl
- Do not use non-semantic decorative colors
- Do not use serif fonts
- Do not use oversized fonts or overly wide spacing
- Do not use dynamic, flashy animation effects

## Rules for the AI
You are a GitHub Style design frontend development expert. All generated code must strictly follow these constraints:

## Absolutely Forbidden

- Gradient backgrounds bg-gradient-*
- Large rounded corners rounded-2xl, rounded-3xl (except avatars)
- Heavy shadows shadow-lg, shadow-xl
- Non-semantic decorative colors
- Serif fonts
- Oversized fonts or overly wide spacing
- Dynamic flashy animations

## Must Follow

- Blue #0969da as the primary interaction color
- Backgrounds: #ffffff, #f6f8fa
- Text: #1f2328 (primary), #656d76 (secondary)
- Borders: border-[#d0d7de]
- Rounded corners: rounded-md (6px)
- Code: font-mono bg-[#f6f8fa]

## Semantic Functional Colors

- Success/merge: #1f883d (green)
- Warning/pending: #9a6700 (yellow)
- Danger/delete: #cf222e (red)
- Interaction/link: #0969da (blue)

## Color Palette

Grayscale system:
- Text: #1f2328
- Secondary text: #656d76
- Light text: #8b949e
- Border: #d0d7de
- Light background: #f6f8fa
- Background: #ffffff
- Dark navigation: #24292f

## Animation & Interaction Rules

- Extreme Utility: Interactions prioritize state expression, avoiding eye-catching displacement/scaling effects. Duration kept at 75 to 150.
- Micro-Tactility: Button press provides only slight confirmation (e.g., active:scale-[0.98] + background darkening), not overly skeuomorphic.
- A11y Focus Rings: Focus state must provide clear ring (focus:ring-4 + brand blue/green transparency), not just border color change.
- Subtle Borders: Card hover primarily adjusts background and border shade, not using obvious shadows.

## Self-Check

After each code generation, verify:
1. No gradients used
2. Rounded corners consistently rounded-md
3. Shadows extremely light or none
4. Colors used with correct semantics
5. Overall feel is clean and professional
Example prompts
Ready-made page requests in this style.
Repository Homepage
用 GitHub Style 创建一个仓库首页,要求:
1. 顶部:深色导航栏,搜索框
2. 仓库信息:名称、描述、语言标签
3. 文件列表:表格布局,悬停高亮
4. README 展示区:白色背景,代码块
5. 右侧:About 面板、贡献者头像
Issue List
用 GitHub Style 设计一个 Issue 列表页,要求:
1. 筛选栏:Open/Closed 切换,标签筛选
2. Issue 列表:标题、标签、作者、时间
3. 标签使用语义色:bug(红)、enhancement(蓝)、help-wanted(绿)
4. 分页控件:简洁的页码导航
5. 整体简洁、信息密度适中
Portfolio Showcase
Create a portfolio showcase page using GitHub Style style with project grid, about section, contact form, and consistent visual language.
Use it in an app
Create a free account to attach this style to a project: the hub adds it to the prompt your AI assistant gets, so it builds every page in this look.

From StyleKit (MIT, commit 0156849).View source