All Claude Design styles

visual style · Claude Design

GitHub Style UI Style for Claude Design

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

Interactive full-page preview
GitHub Style · Hero scene

Build a clearer product story.

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

Primary actionExplore details

Do

  • border
  • border-[#d0d7de]
  • rounded-md
  • border-solid
  • shadow-[0_1px_0_rgba(27,31,36,0.04)]
  • shadow-[0_1px_3px_rgba(27,31,36,0.12)]
  • shadow-[0_3px_6px_rgba(140,149,159,0.15)]
  • shadow-none

Don't

  • shadow-none
  • focus:outline-none

Tokens and component states

Use this token set as the source of truth. Apply it once at the system layer so Claude Code does not improvise spacing, radius, shadow, or typography per component.

{
  "border": {
    "width": "border",
    "color": "border-[#d0d7de]",
    "radius": "rounded-md",
    "style": "border-solid"
  },
  "shadow": {
    "sm": "shadow-[0_1px_0_rgba(27,31,36,0.04)]",
    "md": "shadow-[0_1px_3px_rgba(27,31,36,0.12)]",
    "lg": "shadow-[0_3px_6px_rgba(140,149,159,0.15)]",
    "none": "shadow-none",
    "hover": "hover:shadow-[0_1px_3px_rgba(27,31,36,0.12)]",
    "focus": "focus:shadow-[0_0_0_3px_rgba(9,105,218,0.3)]",
    "colored": {
      "blue": "shadow-[0_0_0_3px_rgba(9,105,218,0.3)]"
    }
  },
  "interaction": {
    "transition": "transition-colors duration-150",
    "active": "active:bg-[#e8e8e8]",
    "hoverOpacity": "hover:bg-[#f6f8fa]"
  },
  "typography": {
    "heading": "font-semibold text-[#1f2328]",
    "body": "text-sm text-[#1f2328]",
    "mono": "font-mono text-sm text-[#1f2328]",
    "sizes": {
      "hero": "text-3xl md:text-4xl",
      "h1": "text-2xl md:text-3xl",
      "h2": "text-xl md:text-2xl",
      "h3": "text-lg md:text-xl",
      "body": "text-sm",
      "small": "text-xs"
    }
  },
  "spacing": {
    "section": "py-6 md:py-8",
    "container": "px-4 md:px-6",
    "card": "p-3 md:p-4",
    "gap": {
      "sm": "gap-2",
      "md": "gap-3",
      "lg": "gap-4"
    }
  },
  "colors": {
    "background": {
      "primary": "bg-white",
      "secondary": "bg-[#f6f8fa]",
      "accent": [
        "bg-[#0969da]",
        "bg-[#1f883d]",
        "bg-[#cf222e]"
      ]
    },
    "text": {
      "primary": "text-[#1f2328]",
      "secondary": "text-[#656d76]",
      "muted": "text-[#8b949e]"
    },
    "button": {
      "primary": "bg-[#1f883d] text-white border border-[#1b7f37]",
      "secondary": "bg-[#f6f8fa] text-[#1f2328] border border-[#d0d7de]"
    }
  },
  "forbidden": {
    "classes": [
      "rounded-2xl",
      "rounded-3xl",
      "rounded-full",
      "bg-gradient-to-r",
      "bg-gradient-to-br",
      "bg-gradient-to-b",
      "shadow-lg",
      "shadow-xl",
      "shadow-2xl",
      "font-serif",
      "text-4xl",
      "text-5xl",
      "text-6xl",
      "text-7xl",
      "blur-sm",
      "blur-md",
      "blur-lg"
    ],
    "patterns": [
      "^rounded-(?:2xl|3xl|full)",
      "^bg-gradient",
      "^shadow-(?:lg|xl|2xl)",
      "^text-(?:[4-9]xl)",
      "^blur-"
    ],
    "reasons": {
      "rounded-2xl": "GitHub uses consistent rounded-md (6px) corners",
      "rounded-full": "GitHub reserves rounded-full for avatars and labels only",
      "bg-gradient-to-r": "GitHub uses flat, solid colors without gradients",
      "shadow-lg": "GitHub uses minimal shadows; heavy shadows break the clean aesthetic",
      "font-serif": "GitHub uses system sans-serif and monospace fonts only",
      "blur-sm": "GitHub does not use blur effects; keep everything crisp"
    }
  },
  "required": {
    "button": [
      "rounded-md",
      "text-sm font-semibold",
      "border",
      "shadow-[0_1px_0_rgba(27,31,36,0.04)]",
      "transition-colors duration-150"
    ],
    "card": [
      "bg-white",
      "border border-[#d0d7de]",
      "rounded-md"
    ],
    "input": [
      "bg-[#f6f8fa]",
      "border border-[#d0d7de]",
      "rounded-md",
      "text-sm text-[#1f2328]",
      "focus:bg-white",
      "focus:border-[#0969da]",
      "focus:shadow-[0_0_0_3px_rgba(9,105,218,0.3)]",
      "focus:outline-none"
    ]
  }
}

Component recipes

Each recipe retains its own parameters, variants, slots, and interaction states.

Browse every recipe

How to use GitHub Style with Claude Code

  1. 01

    Choose this style as the single base direction and describe the product job.

  2. 02

    Give Claude the palette, token object, component recipes, and the explicit do/don’t rules.

  3. 03

    Ask for one complete page, then review responsive states, focus, reduced motion, and contrast before shipping.

Templates that fit this direction

Preview styles for free. Buy only when you need a complete, downloadable page template.

All templates

FAQ

Is GitHub Style itself a paid template?

No. This page is the free style reference: palette, tokens, rules, recipes, and preview. Paid templates are complete page deliverables that apply a style to a real product scenario.

Can Claude combine this style with other source entities?

Yes. Use the Source Composer to add one font pairing, motion pattern, gradient, shadow, and background while keeping GitHub Style as the base system.