Claude Artisan · Flat, material & plataformas2017–present

Primer

Reference for flat, material & plataformas Primer. GitHub.

PrimerGitHub PrimerDeveloper-tool clarity, dense but calmMona Sans / system fonts, octicon iconographyRobust light/dark themingContent-first, code-friendlyflat-platform

Use case: hero, superfície, conteúdo e grade responsiva; Developer-tool clarity, dense but calm; Mona Sans / system fonts, octicon iconography

Primer

Historical Context

GitHub. Example: GitHub.com..

Source & Provenance

Imported from ara-mkr/claude-artisan · MIT · commit ae6d3ad · 2026-08-30

Nome e vocabulário de uma plataforma/sistema de terceiros; use como referência e verifique marcas e licenças antes de publicar.

DESIGN.md

---
version: "alpha"
name: "Primer"
description: "Primer visual system, translated from the Claude Artisan catalog for use in digital products. Developer-tool clarity, dense but calm; Mona Sans / system fonts, octicon iconography"
colors:
  primary: "#1f883d"
  background: "#f6f8fa"
  surface: "#ffffff"
  text: "#1f2328"
  accent: "#0969da"
  on-primary: "#000000"
  on-surface: "#000000"
  on-accent: "#FFFFFF"
typography:
  h1:
    fontFamily: "-apple-system, 'Segoe UI', sans-serif"
    fontSize: "4rem"
    fontWeight: "700"
    lineHeight: "1.05"
  body-md:
    fontFamily: "-apple-system, 'Segoe UI', 'Noto Sans', 'Helvetica Neue', sans-serif"
    fontSize: "1rem"
    fontWeight: "400"
    lineHeight: "1.6"
  label-caps:
    fontFamily: "-apple-system, 'Segoe UI', 'Noto Sans', 'Helvetica Neue', sans-serif"
    fontSize: "0.75rem"
    fontWeight: "600"
    letterSpacing: "0.06em"
rounded:
  sm: "6px"
  md: "6px"
  lg: "12px"
spacing:
  sm: "8px"
  md: "16px"
  lg: "28px"
components:
  button-primary:
    backgroundColor: "{colors.primary}"
    textColor: "{colors.on-primary}"
    rounded: "{rounded.md}"
    padding: "16px"
  button-secondary:
    backgroundColor: "{colors.accent}"
    textColor: "{colors.on-accent}"
    rounded: "{rounded.md}"
    padding: "16px"
  card:
    backgroundColor: "{colors.surface}"
    textColor: "{colors.on-surface}"
    rounded: "{rounded.lg}"
    padding: "20px"
  page:
    backgroundColor: "{colors.background}"
    textColor: "{colors.text}"
    padding: "16px"
---
## Overview

Primer visual system, translated from the Claude Artisan catalog for use in digital products. Developer-tool clarity, dense but calm; Mona Sans / system fonts, octicon iconography

- **Category:** flat-platform
- **Era:** 2017–present
- **Origin:** GitHub.
- **Reference:** GitHub.com.
- **Structural base:** hero, superfície, conteúdo e grade responsiva

**Defining traits:**
- Developer-tool clarity, dense but calm
- Mona Sans / system fonts, octicon iconography
- Robust light/dark theming
- Content-first, code-friendly

## Colors

- **bg** — #f6f8fa
- **surface** — #ffffff
- **surface-strong** — #f6f8fa
- **border** — #d0d7de
- **text** — #1f2328
- **text-muted** — #59636e
- **primary** — #1f883d
- **accent** — #0969da
- **danger** — #cf222e

## Typography

- Display: -apple-system, 'Segoe UI', sans-serif
- Body: -apple-system, 'Segoe UI', 'Noto Sans', 'Helvetica Neue', sans-serif
- Mono: ui-monospace, 'SFMono-Regular', 'Consolas', monospace

## Layout

- hero, superfície, conteúdo e grade responsiva
- Use a responsive grid and preserve content hierarchy.
- Collapse columns below 768px without horizontal overflow.

## Elevation & Depth

- Developer-tool clarity, dense but calm; Mona Sans / system fonts, octicon iconography; Robust light/dark theming; Content-first, code-friendly; sombras e elevação

## Shapes

- Radius scale: 6px, 6px, 12px.

## Components

- Buttons keep visible focus and predictable hover/pressed states.
- Cards use the surface and radius scale from the tokens.
- Forms expose persistent labels, textual errors, and keyboard focus.

## Do's and Don'ts

- Do: follow the tokens and the structural composition.
- Do: maintain WCAG AA contrast and `prefers-reduced-motion`.
- Avoid: using the style as decoration without functional hierarchy.
Download DESIGN.md

Technical Specs

CSS

/* Primer — design tokens */
/* 2017–present | GitHub, condensed */
:root {
  /* color: GitHub light theme, dense but calm */
  --color-bg: #f6f8fa;
  --color-surface: #ffffff;
  --color-surface-strong: #f6f8fa;
  --color-border: #d0d7de;
  --color-text: #1f2328;
  --color-text-muted: #59636e;
  --color-primary: #1f883d;
  --color-accent: #0969da;
  --color-danger: #cf222e;
  /* radius */
  --radius-sm: 6px;
  --radius-md: 6px;
  --radius-lg: 12px;
  --radius-pill: 999px;
  /* shadow */
  --shadow-sm: 0 1px 0 rgba(31, 35, 40, 0.04);
  --shadow-md: 0 3px 6px rgba(140, 149, 159, 0.15);
  --shadow-lg: 0 8px 24px rgba(140, 149, 159, 0.2);
  /* font */
  --font-sans: -apple-system, 'Segoe UI', 'Noto Sans', 'Helvetica Neue', sans-serif;
  --font-display: -apple-system, 'Segoe UI', sans-serif;
  --font-mono: ui-monospace, 'SFMono-Regular', 'Consolas', monospace;
  /* text */
  --text-xs: 0.75rem;
  --text-sm: 0.8125rem;
  --text-base: 0.875rem;
  --text-lg: 1rem;
  --text-xl: 1.25rem;
  --text-2xl: 1.5rem;
  --text-3xl: 2rem;
  --text-4xl: 2.5rem;
  --text-5xl: 3.25rem;
  /* space */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-6: 20px;
  --space-8: 28px;
  --space-12: 40px;
  --space-16: 56px;
  --space-24: 80px;
  /* ease */
  --ease-standard: cubic-bezier(0.4, 0, 0.2, 1);
  /* extra: octicon-style dot indicator + code-friendly border rhythm */
  --focus-ring: 0 0 0 3px rgba(9, 105, 218, 0.3);
  --code-diff-add: #d1f4dc;
}

/* ============================================================
   Base component classes — Primer
   Signature move: a single consistent 1px hairline border + 6px radius
   repeated identically across nav, card, btn and input — developer-tool
   density paired with calm, never-noisy borders.
   ============================================================ */
body { margin: 0; color: var(--color-text); font-family: var(--font-sans); background: var(--color-bg); }
.nav {
  display: flex; gap: var(--space-4); align-items: center;
  padding: var(--space-3) var(--space-6); background: var(--color-surface);
  border-bottom: 1px solid var(--color-border);
}
.btn {
  font: 500 var(--text-base)/1 var(--font-sans); color: var(--color-text);
  padding: var(--space-2) var(--space-4); border-radius: var(--radius-md);
  background: #f6f8fa; border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm); cursor: pointer;
  transition: background .12s var(--ease-standard), border-color .12s var(--ease-standard);
}
.btn:hover { background: #f3f4f6; border-color: #1f2328; }
.btn:active { background: #ebecf0; }
.btn:focus-visible { outline: none; box-shadow: var(--focus-ring); }
.btn[disabled] { opacity: .5; cursor: not-allowed; }
.btn--primary { background: var(--color-primary); color: #ffffff; border-color: rgba(31,35,40,0.15); }
.btn--primary:hover { background: #1a7f37; }
.card {
  background: var(--color-surface); border-radius: var(--radius-lg);
  border: 1px solid var(--color-border); box-shadow: var(--shadow-sm); padding: var(--space-6);
}
.input {
  width: 100%; box-sizing: border-box; color: var(--color-text); font: var(--text-base) var(--font-mono);
  padding: var(--space-2) var(--space-3); border-radius: var(--radius-md);
  background: var(--color-surface); border: 1px solid var(--color-border);
}
.input::placeholder { color: var(--color-text-muted); }
.input:focus { outline: none; border-color: var(--color-accent); box-shadow: var(--focus-ring); }
.badge { display: inline-flex; align-items: center; gap: .4em; font-size: var(--text-xs);
  padding: .25em .7em; border-radius: var(--radius-pill); background: var(--code-diff-add); color: #116329;
  border: 1px solid rgba(17, 99, 41, 0.2); }
@media (prefers-reduced-motion: reduce) { .btn { transition: none; } }


/* Especificação de referência: references/00-flagship-implementation-specs/primer.md */

Variables

--bg: #f6f8fa, --fg: #1f2328, --accent: #1f883d, --surface: #ffffff, --radius: 6px, --spacing: 16px, --font-display: -apple-system, 'Segoe UI', sans-serif, --font-body: -apple-system, 'Segoe UI', 'Noto Sans', 'Helvetica Neue', sans-serif

Checklist

Contraste WCAG AA; foco visível; navegação por teclado; estados hover/pressed; responsividade; prefers-reduced-motion; Tailwind v4 via @theme.

Colors

Primary

#f6f8fa
#ffffff
#d0d7de

Secondary

#1f2328
#59636e
#1f883d
#0969da
#cf222e

Effects

Developer-tool clarity, dense but calm, Mona Sans / system fonts, octicon iconography, Robust light/dark theming, Content-first, code-friendly, shadow

Light/Dark

Fonte não declara modos; validar em light e dark antes de publicar

AI Prompt

Act as a Senior Frontend Engineer and Expert UI Designer.
Your task is to code a complete Landing Page on the first attempt.
- Landing Page Theme: <INSERT THEME>
- Sections to add: <INSERT SECTIONS>

Generate the final code immediately following these definitions:

## Style

- **Name:** Primer
- **Type:** claude-artisan/flat-platform
- **Keywords:** Primer, GitHub Primer, Developer-tool clarity, dense but calm, Mona Sans / system fonts, octicon iconography, Robust light/dark theming, Content-first, code-friendly, flat-platform
- **Era:** 2017–present
- **Light/Dark:** Fonte não declara modos; validar em light e dark antes de publicar

## Color Palette

- **Primary:** bg: #f6f8fa, surface: #ffffff, surface-strong: #f6f8fa, border: #d0d7de
- **Secondary:** text: #1f2328, text-muted: #59636e, primary: #1f883d, accent: #0969da, danger: #cf222e

## Visual Effects

Developer-tool clarity, dense but calm, Mona Sans / system fonts, octicon iconography, Robust light/dark theming, Content-first, code-friendly, shadow

## AI Visual Direction

Primer, Developer-tool clarity, dense but calm, Mona Sans / system fonts, octicon iconography, Robust light/dark theming, Content-first, code-friendly, GitHub.com.

## CSS Technical

```css
/* Primer — design tokens */
/* 2017–present | GitHub, condensed */
:root {
  /* color: GitHub light theme, dense but calm */
  --color-bg: #f6f8fa;
  --color-surface: #ffffff;
  --color-surface-strong: #f6f8fa;
  --color-border: #d0d7de;
  --color-text: #1f2328;
  --color-text-muted: #59636e;
  --color-primary: #1f883d;
  --color-accent: #0969da;
  --color-danger: #cf222e;
  /* radius */
  --radius-sm: 6px;
  --radius-md: 6px;
  --radius-lg: 12px;
  --radius-pill: 999px;
  /* shadow */
  --shadow-sm: 0 1px 0 rgba(31, 35, 40, 0.04);
  --shadow-md: 0 3px 6px rgba(140, 149, 159, 0.15);
  --shadow-lg: 0 8px 24px rgba(140, 149, 159, 0.2);
  /* font */
  --font-sans: -apple-system, 'Segoe UI', 'Noto Sans', 'Helvetica Neue', sans-serif;
  --font-display: -apple-system, 'Segoe UI', sans-serif;
  --font-mono: ui-monospace, 'SFMono-Regular', 'Consolas', monospace;
  /* text */
  --text-xs: 0.75rem;
  --text-sm: 0.8125rem;
  --text-base: 0.875rem;
  --text-lg: 1rem;
  --text-xl: 1.25rem;
  --text-2xl: 1.5rem;
  --text-3xl: 2rem;
  --text-4xl: 2.5rem;
  --text-5xl: 3.25rem;
  /* space */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-6: 20px;
  --space-8: 28px;
  --space-12: 40px;
  --space-16: 56px;
  --space-24: 80px;
  /* ease */
  --ease-standard: cubic-bezier(0.4, 0, 0.2, 1);
  /* extra: octicon-style dot indicator + code-friendly border rhythm */
  --focus-ring: 0 0 0 3px rgba(9, 105, 218, 0.3);
  --code-diff-add: #d1f4dc;
}

/* ============================================================
   Base component classes — Primer
   Signature move: a single consistent 1px hairline border + 6px radius
   repeated identically across nav, card, btn and input — developer-tool
   density paired with calm, never-noisy borders.
   ============================================================ */
body { margin: 0; color: var(--color-text); font-family: var(--font-sans); background: var(--color-bg); }
.nav {
  display: flex; gap: var(--space-4); align-items: center;
  padding: var(--space-3) var(--space-6); background: var(--color-surface);
  border-bottom: 1px solid var(--color-border);
}
.btn {
  font: 500 var(--text-base)/1 var(--font-sans); color: var(--color-text);
  padding: var(--space-2) var(--space-4); border-radius: var(--radius-md);
  background: #f6f8fa; border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm); cursor: pointer;
  transition: background .12s var(--ease-standard), border-color .12s var(--ease-standard);
}
.btn:hover { background: #f3f4f6; border-color: #1f2328; }
.btn:active { background: #ebecf0; }
.btn:focus-visible { outline: none; box-shadow: var(--focus-ring); }
.btn[disabled] { opacity: .5; cursor: not-allowed; }
.btn--primary { background: var(--color-primary); color: #ffffff; border-color: rgba(31,35,40,0.15); }
.btn--primary:hover { background: #1a7f37; }
.card {
  background: var(--color-surface); border-radius: var(--radius-lg);
  border: 1px solid var(--color-border); box-shadow: var(--shadow-sm); padding: var(--space-6);
}
.input {
  width: 100%; box-sizing: border-box; color: var(--color-text); font: var(--text-base) var(--font-mono);
  padding: var(--space-2) var(--space-3); border-radius: var(--radius-md);
  background: var(--color-surface); border: 1px solid var(--color-border);
}
.input::placeholder { color: var(--color-text-muted); }
.input:focus { outline: none; border-color: var(--color-accent); box-shadow: var(--focus-ring); }
.badge { display: inline-flex; align-items: center; gap: .4em; font-size: var(--text-xs);
  padding: .25em .7em; border-radius: var(--radius-pill); background: var(--code-diff-add); color: #116329;
  border: 1px solid rgba(17, 99, 41, 0.2); }
@media (prefers-reduced-motion: reduce) { .btn { transition: none; } }


/* Especificação de referência: references/00-flagship-implementation-specs/primer.md */
```

## Design System Variables

```css
--bg: #f6f8fa, --fg: #1f2328, --accent: #1f883d, --surface: #ffffff, --radius: 6px, --spacing: 16px, --font-display: -apple-system, 'Segoe UI', sans-serif, --font-body: -apple-system, 'Segoe UI', 'Noto Sans', 'Helvetica Neue', sans-serif
```

## Implementation Checklist

- Contraste WCAG AA; foco visível; navegação por teclado; estados hover/pressed; responsividade; prefers-reduced-motion; Tailwind v4 via @theme.

## Execution Rules

1. Strictly follow the defined visual style.
2. Use high-quality inline SVG icons (Heroicons or Lucide style) — NEVER use emojis as icons.
3. Add `cursor-pointer` and smooth `hover` states (transition-all) on all interactive elements.
4. Required Page Structure:
   - Navbar (Logo + Links + CTA)
   - Hero Section (Impactful Headline + Subtitle + 2 buttons + 3D/Abstract visual element via CSS)
   - Features (3 cards with icons)
   - Testimonials (3 cards)
   - Pricing (3 tiers, highlight the middle one)
   - Final CTA
   - Full Footer with social links, privacy policy, terms of use, contact and SEO links.
5. All text content must be in English.
6. The visual must be CLEARLY distinct — do not create a "default Bootstrap" design. Force the use of the provided design system variables.
7. Use `<style>` tags in the head for custom classes (especially for complex backdrop-filter effects and animations) that Tailwind CDN doesn't cover.
8. Full Responsiveness: Layout must adapt perfectly to Mobile, Tablet and Desktop (vertical stack on mobile).
9. Include basic SEO, Viewport and Open Graph meta tags in `<head>`.
10. Footer must contain: Copyright 2026, Secondary navigation links and Social media icons.
11. Make the creative decisions needed to deliver the complete, functional result now.

Related

Last synced: 8/30/2026