Daniel Sun — Design Reference
sunlit paper, glossy obsidian keys
Source: https://danielsun.space
Theme: light
Category: Portfolio
Mood: light, editorial, typographic, glossy, minimal, monochrome
Captured: 2026-11-05
Overview
A designer's portfolio built on one dramatic contrast: a quiet, graph-paper white page with a huge high-contrast serif headline, lit from above by a solar yellow gradient. Everything else is deliberately restrained — small grey Inter captions, hairline grid rules that extend past the content column, and pill-shaped tags under each project thumbnail — so the typography and the project imagery carry all the colour. A Works/Story toggle flips the entire site to an inverted black twin, where the same serif runs white over a faint dark grid.
Technically it is a 1200px centred column over a full-bleed ruled background. Display type is LT Superior Serif at 64px/72px with a tight −3px tracking; body is Inter Display at 16px/1.63 with a hair of positive tracking; EB Garamond italic appears only as a small editorial label. Colour is almost pure #ffffff/#000000 with a #c2c2c2 hairline and a yellow hero wash. Shape language is modest (6–16px radii) but the controls are hyper-detailed: multi-layer inset highlight shadows give buttons a glossy, physical, almost hardware-key feel, and project photos float on stacked white-ring shadows like mounted prints.
Tokens — Colors
| Name |
Value |
Token |
Role |
| Paper White |
#ffffff |
--color-background |
Dominant page ground on Works pages, card fills, and the white ring around framed project photos |
| Ink Black |
#000000 |
--color-foreground |
Headline and body text on light; becomes the full page ground on the Story (dark) side |
| Graphite |
#303030 |
--color-primary |
Primary CTA fill (top of the glossy dark button gradient) and dark toggle pill |
| Solar Yellow |
#f4e400 |
--color-accent |
Hero light-wash gradient fading to white; the single chromatic brand signal |
| Hairline Grey |
#c2c2c2 |
--color-border |
Grid rules, logo-cell dividers and the hard 1px 1px offset shadow on logo tiles |
| Rule Mist |
#e6e6e6 |
--color-border-subtle |
Faint graph-paper lines across the full-bleed background and section separators |
| Slate Text |
#6b6b6b |
--color-muted-foreground |
Sub-headline, card body copy, inactive toggle label, small captions |
| Chalk Surface |
#f2f2f2 |
--color-secondary |
Tag pills under project thumbnails, light toggle track, email field fill |
| Fog Surface |
#fafafa |
--color-muted |
Near-white blocks such as the 'More projects coming soon' tile and logo grid cells |
| Obsidian Field |
#0a0a0a |
--color-dark-background |
Story page ground, carrying a faint dark graph grid |
| Ash Line |
#2a2a2a |
--color-dark-border |
Grid rules and dividers on the dark side |
Semantic roles
| Role |
Value |
| background |
#ffffff |
| surface |
#fafafa |
| surface raised |
#ffffff |
| border |
#e6e6e6 |
| text |
#000000 |
| text muted |
#6b6b6b |
| primary |
#303030 |
| primary text |
#ffffff |
| accent |
#f4e400 |
Tokens — Typography
- Display: LT Superior Serif (400) — fallbacks: Playfair Display, Georgia, Times New Roman, serif. All headlines and 30px section/card titles. Single regular weight only — scale and tight tracking do the work.
- Body: Inter Display (400) — fallbacks: Inter, SF Pro Display, Helvetica Neue, sans-serif. Every piece of UI text: nav, buttons, paragraphs, tags, captions. Regular weight throughout, never bolded.
- Accent: EB Garamond (400) — fallbacks: Georgia, serif. Used once, italic at 20px, for editorial eyebrow labels like 'How I got here'.
| Role |
Size |
Line height |
Weight |
Letter spacing |
Family |
| Display / H1 |
64px |
72px |
400 |
-3px |
display |
| H2 Section |
30px |
1.33 |
400 |
-0.5px |
display |
| H3 Card Title |
30px |
1.2 |
400 |
-0.5px |
display |
| Wordmark / Lead |
21px |
0.95 |
400 |
-0.5px |
body |
| Eyebrow Italic |
20px |
1 |
400 |
-0.5px |
accent |
| Body |
16px |
1.63 |
400 |
0.1px |
body |
| Button Label |
16px |
1.5 |
400 |
0.1px |
body |
| Small / Tag |
14px |
1.43 |
400 |
normal |
body |
| Caption |
12px |
1.4 |
400 |
normal |
body |
Tokens — Spacing & Layout
- Base unit: 8px
- Density: comfortable
- Container max width: 1200px
- Section gap: 96px
- Card padding: 24px
- Scale: 4px, 6px, 8px, 10px, 12px, 16px, 24px, 32px, 64px, 96px
Tokens — Radius
| Element |
Value |
| Tag pill / small chip |
6px |
| Button, toggle item |
7px |
| Input, logo cell |
10px |
| Card / project tile |
12px |
| Image frame |
16px |
| Toggle track |
24px |
Tokens — Shadows
| Name |
Value |
Usage |
| key-dark |
rgba(255,255,255,0.1) 0 -2px 1px -1px inset, rgba(255,255,255,0.3) 0 2px 1px -1px inset, rgba(255,255,255,0.2) 0 4px 2px -1px inset, rgba(255,255,255,0.1) 0 -8px 8px 0 inset, rgba(255,255,255,0.08) 0 0 0 1px inset, rgba(255,255,255,0.1) 0 3px 3px 0 |
Dark primary button and active toggle pill — stacked inset highlights that read as a moulded keycap. |
| key-light |
rgba(0,0,0,0.1) 0 -1px 1px 0 inset, rgba(255,255,255,0.65) 0 1.5px 1px 0 inset, rgba(0,0,0,0.03) 0 4px 2px 0 inset, rgba(255,255,255,0.7) 0 -8px 8px 0 inset, rgba(0,0,0,0.15) 0 0 0 1px inset, rgba(0,0,0,0.04) 0 3px 3px 0 |
Light secondary button ('Let's chat') and inactive toggle segment. |
| framed-print |
#ffffff 0 0 0 7px, rgba(0,0,0,0.2) 0 6px 16px 0, rgba(0,0,0,0.15) 0 1px 3px 6px, rgba(0,0,0,0.25) 0 0 8px 0, rgba(0,0,0,0.06) 0 0 0 8px |
Photo and project images — a white mount ring plus soft drop, like a mounted print. |
| hard-offset |
#cccccc 1px 1px 0 0 |
Logo grid cells and small flat tiles; a crisp one-pixel printed offset, no blur. |
| edge-sheen |
rgba(255,255,255,0.15) 0 1px 0 0 |
Top highlight line on dark chips and nav elements. |
Components
Primary button — 'Start a project with me' (button)
| Property |
Value |
| background |
linear-gradient(180deg, #303030 0%, #000000 100%) |
| color |
#ffffff |
| border |
1px solid rgba(255,255,255,0.08) (inset ring) |
| radius |
7px |
| padding |
9px 10px 9px 16px |
| font size |
16px |
| font weight |
400 |
| shadow |
key-dark |
| hover |
Slight brightening of the gradient top stop; the trailing ▶ glyph nudges 2px right. |
Inline-flex with a small white triangle/arrow glyph in a 16px square at the right, separated by a 10px gap. Sits directly under the hero headline.
Secondary button — 'Let's chat' (button)
| Property |
Value |
| background |
linear-gradient(180deg, #ffffff 0%, #f0f0f0 100%) |
| color |
#000000 |
| border |
1px solid rgba(0,0,0,0.15) (inset ring) |
| radius |
7px |
| padding |
7px 12px |
| font size |
14px |
| font weight |
400 |
| shadow |
key-light |
| hover |
Inset top highlight brightens; no movement. |
Top-right nav CTA. Same glossy key construction as the primary, inverted to light.
Works / Story theme toggle (nav)
| Property |
Value |
| background |
#f2f2f2 (track) with active segment #1a1a1a→#000 gradient |
| color |
#6b6b6b inactive / #ffffff active |
| border |
1px solid rgba(0,0,0,0.08) |
| radius |
24px track, 7px segment |
| padding |
4px (track), 6px 12px (segment) |
| font size |
14px |
| font weight |
400 |
| shadow |
key-light on track, key-dark on active segment |
| hover |
Inactive label darkens to #000000. |
Segmented control with a sun icon on 'Works' and a moon icon on 'Story'; it swaps the whole site between the white and black twin. Centre of the bar holds the 21px Inter wordmark.
Project tile (card)
| Property |
Value |
| background |
#ffffff |
| color |
#000000 |
| border |
1px solid #e6e6e6 |
| radius |
12px |
| padding |
0 (image bleeds); 10px for the tag row |
| font size |
14px |
| font weight |
400 |
| shadow |
framed-print on the inner image |
| hover |
Image scales ~1.02 inside the clipped radius; tag row stays fixed. |
Masonry two-column grid of full-bleed project images with a row of tag pills overlaid at the bottom-left, 4px gaps between pills.
Tag pill (badge)
| Property |
Value |
| background |
#f2f2f2 |
| color |
#303030 |
| border |
1px solid rgba(0,0,0,0.06) |
| radius |
6px |
| padding |
4px 8px |
| font size |
14px |
| font weight |
400 |
| shadow |
none |
| hover |
none — labels only |
Project name first, then discipline tags ('Branding', 'Web design'). Always lowercase-cased as written, never uppercase.
Contact field (input)
| Property |
Value |
| background |
#f2f2f2 |
| color |
#000000 |
| border |
1px solid #e6e6e6 |
| radius |
10px |
| padding |
9px 12px |
| font size |
14px |
| font weight |
400 |
| shadow |
inset 0 1px 2px rgba(0,0,0,0.03) |
| hover |
Background lightens to #ffffff; copy icon on the right darkens. |
Read-only email row in the footer with a trailing copy icon; behaves as a click-to-copy control, not a text entry.
Logo cell (other)
| Property |
Value |
| background |
#ffffff |
| color |
#000000 |
| border |
1px solid #e6e6e6 |
| radius |
10px |
| padding |
16px 24px |
| font size |
14px |
| font weight |
400 |
| shadow |
#cccccc 1px 1px 0 0 |
| hover |
none |
5-across client logo grid with shared hairlines; mark plus wordmark, centred, all rendered in black.
Layout
A 1200px centred column over a full-bleed graph-paper background whose vertical rules continue past the container edges, with small plus-marks at section corners. The sticky top bar is a three-part layout: theme toggle left, wordmark centred, CTA right. Hero is single-column, left-aligned, headline capped around 900px with the CTA directly beneath; a hairline-separated one-line sub-statement follows. Work is a two-column masonry of unequal-height tiles with 10–16px gutters; services use a 2×2 grid split by hairlines; the client logo wall is a 5-column bordered table. Sections are separated by full-width hairlines rather than large blank gaps.
Imagery
Project thumbnails are photographic mockups (laptops, tablets in hand) and rich brand renders — dark sand textures, gradient UI, isometric 3D illustrations — each cropped to a 12–16px-radius tile. Personal photos appear as stacked white-mounted prints using the layered white-ring shadow. The only generated graphic is the hero's solar-yellow radial wash fading to white at the fold, mirrored by a field of sunflowers at the page foot. Icons are small monochrome 24px glyphs in rounded squares.
Motion
Restrained Framer motion: content fades up with a short translate on scroll entry, images scale subtly inside their clipped tiles on hover, the toggle thumb slides between segments with an ease-out of roughly 200–300ms, and the whole page cross-fades when switching Works↔Story. No parallax, no looping animation other than the gentle hero gradient.
Responsive
Under ~768px the top bar keeps all three elements but reorders them: the wordmark moves hard-left and the Works/Story segmented toggle sits right at a larger touch size (~40px tall, 16px labels) — there is no hamburger or drawer; 'Let's chat' drops out of the bar and lives in the footer instead. The hero stacks and the display type steps down to roughly 40px/1.15 with tracking relaxed to about −1.5px, wrapping over six lines. The primary button grows to ~48px tall and hugs content rather than going full width. The project masonry collapses to one full-bleed column of tiles, the services 2×2 becomes a single stack, and the logo wall goes to two or three columns. Horizontal page padding tightens from 24px to 16px while the graph-paper background and hairline section rules persist at all sizes.
Do
- Set headlines in LT Superior Serif at 400 only, 64px/72px with −3px tracking; let size and tracking create emphasis instead of weight.
- Keep the page pure #ffffff with #c2c2c2 / #e6e6e6 hairlines and reserve the solar yellow for the hero wash and footer motif.
- Build every button and toggle with the multi-layer inset highlight shadows so controls feel like physical keycaps.
- Use Inter Display 16px/1.63 with +0.1px tracking for all prose, and 14px for tags and captions.
- Let the graph-paper grid and corner plus-marks bleed past the 1200px container to frame the content.
- Pair every project image with a left-aligned row of 6px-radius tag pills at 14px.
Don't
- Don't bold the serif or introduce a second display weight — the family ships as a single regular here.
- Don't apply flat single-layer drop shadows to buttons; the gloss comes from stacked inset highlights plus a 1px inset ring.
- Don't colour UI chrome — tags, nav, inputs stay in the white-to-#303030 greyscale; colour lives inside project imagery only.
- Don't round cards beyond 16px or turn buttons into full pills; radii stay in the 6–16px range.
- Don't spread the yellow gradient below the hero fold or use it as a button or text fill.
- Don't replace section hairlines with large empty gaps — the ruled separators are the rhythm of the page.
Agent prompt
Build a light, editorial designer-portfolio in Framer/Next style: pure #ffffff ground covered by a faint graph-paper grid (#e6e6e6 1px lines, small plus-marks at section corners) that bleeds past a 1200px centred container, with full-width #c2c2c2/#e6e6e6 hairlines separating every section. Type: LT Superior Serif (fallback Playfair Display/Georgia) 400 only for display — H1 64px/72px, letter-spacing −3px, #000000; section and card titles 30px/1.33 at −0.5px; Inter Display 400 for everything else — body 16px/1.63 at +0.1px in #6b6b6b, tags and captions 14px/1.43, wordmark 21px; EB Garamond italic 20px for a single eyebrow label. Hero: left-aligned serif headline over a solar-yellow (#f4e400) radial wash fading to white at the top of the viewport, with a glossy dark CTA directly beneath — linear-gradient(180deg,#303030,#000000), 7px radius, 9px 16px padding, white 16px Inter label plus a small ▶ glyph, and stacked inset highlight shadows (rgba(255,255,255,.3) 0 2px 1px -1px inset, rgba(255,255,255,.1) 0 -8px 8px 0 inset, rgba(255,255,255,.08) 0 0 0 1px inset, rgba(255,255,255,.1) 0 3px 3px 0). Secondary button is the same construction inverted: white-to-#f0f0f0 gradient, #000 label, rgba(0,0,0,.15) inset ring. Top bar: sun/moon 'Works | Story' segmented toggle on a #f2f2f2 24px-radius track (active segment black, 7px radius) at left, centred wordmark, 'Let's chat' secondary button right; the toggle flips the whole site to a #0a0a0a twin with #ffffff serif and #2a2a2a grid. Work section is a two-column masonry of 12px-radius image tiles with 10px gutters and #f2f2f2 6px-radius tag pills at the bottom-left; photos use a mounted-print shadow (#ffffff 0 0 0 7px, rgba(0,0,0,.2) 0 6px 16px, rgba(0,0,0,.06) 0 0 0 8px); client logos sit in a bordered 5-column grid with a hard #cccccc 1px 1px 0 offset shadow. Spacing on an 8px base (4/8/10/16/24/32/96), card padding 24px, comfortable density. On mobile keep the toggle visible (no hamburger), drop H1 to ~40px/−1.5px, stack to one column, and tighten page padding to 16px.
CSS custom properties
/* Daniel Sun — CSS custom properties. Generated from style.json */
:root {
/* Palette */
--color-background: #ffffff; /* Dominant page ground on Works pages, card fills, and the white ring around framed project photos */
--color-foreground: #000000; /* Headline and body text on light; becomes the full page ground on the Story (dark) side */
--color-primary: #303030; /* Primary CTA fill (top of the glossy dark button gradient) and dark toggle pill */
--color-accent: #f4e400; /* Hero light-wash gradient fading to white; the single chromatic brand signal */
--color-border: #c2c2c2; /* Grid rules, logo-cell dividers and the hard 1px 1px offset shadow on logo tiles */
--color-border-subtle: #e6e6e6; /* Faint graph-paper lines across the full-bleed background and section separators */
--color-muted-foreground: #6b6b6b; /* Sub-headline, card body copy, inactive toggle label, small captions */
--color-secondary: #f2f2f2; /* Tag pills under project thumbnails, light toggle track, email field fill */
--color-muted: #fafafa; /* Near-white blocks such as the 'More projects coming soon' tile and logo grid cells */
--color-dark-background: #0a0a0a; /* Story page ground, carrying a faint dark graph grid */
--color-dark-border: #2a2a2a; /* Grid rules and dividers on the dark side */
/* Semantic roles */
--background: #ffffff;
--surface: #fafafa;
--surface-raised: #ffffff;
--border: #e6e6e6;
--text: #000000;
--text-muted: #6b6b6b;
--primary: #303030;
--primary-text: #ffffff;
--accent: #f4e400;
/* Typography */
--font-display: 'LT Superior Serif', 'Playfair Display', Georgia, 'Times New Roman', serif;
--font-body: 'Inter Display', Inter, 'SF Pro Display', 'Helvetica Neue', sans-serif;
--font-accent: 'EB Garamond', Georgia, serif;
--text-display-h1: 64px;
--text-display-h1--line-height: 72px;
--text-display-h1--letter-spacing: -3px;
--text-display-h1--font-weight: 400;
--text-h2-section: 30px;
--text-h2-section--line-height: 1.33;
--text-h2-section--letter-spacing: -0.5px;
--text-h2-section--font-weight: 400;
--text-h3-card-title: 30px;
--text-h3-card-title--line-height: 1.2;
--text-h3-card-title--letter-spacing: -0.5px;
--text-h3-card-title--font-weight: 400;
--text-wordmark-lead: 21px;
--text-wordmark-lead--line-height: 0.95;
--text-wordmark-lead--letter-spacing: -0.5px;
--text-wordmark-lead--font-weight: 400;
--text-eyebrow-italic: 20px;
--text-eyebrow-italic--line-height: 1;
--text-eyebrow-italic--letter-spacing: -0.5px;
--text-eyebrow-italic--font-weight: 400;
--text-body: 16px;
--text-body--line-height: 1.63;
--text-body--letter-spacing: 0.1px;
--text-body--font-weight: 400;
--text-button-label: 16px;
--text-button-label--line-height: 1.5;
--text-button-label--letter-spacing: 0.1px;
--text-button-label--font-weight: 400;
--text-small-tag: 14px;
--text-small-tag--line-height: 1.43;
--text-small-tag--letter-spacing: normal;
--text-small-tag--font-weight: 400;
--text-caption: 12px;
--text-caption--line-height: 1.4;
--text-caption--letter-spacing: normal;
--text-caption--font-weight: 400;
/* Spacing */
--space-1: 4px;
--space-2: 6px;
--space-3: 8px;
--space-4: 10px;
--space-5: 12px;
--space-6: 16px;
--space-7: 24px;
--space-8: 32px;
--space-9: 64px;
--space-10: 96px;
--container: 1200px;
--section-gap: 96px;
/* Radius */
--radius-tag-pill-small-chip: 6px;
--radius-button-toggle-item: 7px;
--radius-input-logo-cell: 10px;
--radius-card-project-tile: 12px;
--radius-image-frame: 16px;
--radius-toggle-track: 24px;
/* Shadows */
--shadow-key-dark: rgba(255,255,255,0.1) 0 -2px 1px -1px inset, rgba(255,255,255,0.3) 0 2px 1px -1px inset, rgba(255,255,255,0.2) 0 4px 2px -1px inset, rgba(255,255,255,0.1) 0 -8px 8px 0 inset, rgba(255,255,255,0.08) 0 0 0 1px inset, rgba(255,255,255,0.1) 0 3px 3px 0;
--shadow-key-light: rgba(0,0,0,0.1) 0 -1px 1px 0 inset, rgba(255,255,255,0.65) 0 1.5px 1px 0 inset, rgba(0,0,0,0.03) 0 4px 2px 0 inset, rgba(255,255,255,0.7) 0 -8px 8px 0 inset, rgba(0,0,0,0.15) 0 0 0 1px inset, rgba(0,0,0,0.04) 0 3px 3px 0;
--shadow-framed-print: #ffffff 0 0 0 7px, rgba(0,0,0,0.2) 0 6px 16px 0, rgba(0,0,0,0.15) 0 1px 3px 6px, rgba(0,0,0,0.25) 0 0 8px 0, rgba(0,0,0,0.06) 0 0 0 8px;
--shadow-hard-offset: #cccccc 1px 1px 0 0;
--shadow-edge-sheen: rgba(255,255,255,0.15) 0 1px 0 0;
}
Tailwind v4 theme
/* Daniel Sun — Tailwind CSS v4 theme. Import after tailwindcss: @import "tailwindcss"; then paste this block. */
@theme {
--color-background: #ffffff;
--color-foreground: #000000;
--color-primary: #303030;
--color-accent: #f4e400;
--color-border: #c2c2c2;
--color-border-subtle: #e6e6e6;
--color-muted-foreground: #6b6b6b;
--color-secondary: #f2f2f2;
--color-muted: #fafafa;
--color-dark-background: #0a0a0a;
--color-dark-border: #2a2a2a;
--color-background: #ffffff;
--color-surface: #fafafa;
--color-surface-raised: #ffffff;
--color-border: #e6e6e6;
--color-text: #000000;
--color-text-muted: #6b6b6b;
--color-primary: #303030;
--color-primary-text: #ffffff;
--color-accent: #f4e400;
--font-display: 'LT Superior Serif', 'Playfair Display', Georgia, 'Times New Roman', serif;
--font-body: 'Inter Display', Inter, 'SF Pro Display', 'Helvetica Neue', sans-serif;
--font-accent: 'EB Garamond', Georgia, serif;
--text-display-h1: 64px;
--text-display-h1--line-height: 72px;
--text-display-h1--letter-spacing: -3px;
--text-display-h1--font-weight: 400;
--text-h2-section: 30px;
--text-h2-section--line-height: 1.33;
--text-h2-section--letter-spacing: -0.5px;
--text-h2-section--font-weight: 400;
--text-h3-card-title: 30px;
--text-h3-card-title--line-height: 1.2;
--text-h3-card-title--letter-spacing: -0.5px;
--text-h3-card-title--font-weight: 400;
--text-wordmark-lead: 21px;
--text-wordmark-lead--line-height: 0.95;
--text-wordmark-lead--letter-spacing: -0.5px;
--text-wordmark-lead--font-weight: 400;
--text-eyebrow-italic: 20px;
--text-eyebrow-italic--line-height: 1;
--text-eyebrow-italic--letter-spacing: -0.5px;
--text-eyebrow-italic--font-weight: 400;
--text-body: 16px;
--text-body--line-height: 1.63;
--text-body--letter-spacing: 0.1px;
--text-body--font-weight: 400;
--text-button-label: 16px;
--text-button-label--line-height: 1.5;
--text-button-label--letter-spacing: 0.1px;
--text-button-label--font-weight: 400;
--text-small-tag: 14px;
--text-small-tag--line-height: 1.43;
--text-small-tag--letter-spacing: normal;
--text-small-tag--font-weight: 400;
--text-caption: 12px;
--text-caption--line-height: 1.4;
--text-caption--letter-spacing: normal;
--text-caption--font-weight: 400;
--radius-tag-pill-small-chip: 6px;
--radius-button-toggle-item: 7px;
--radius-input-logo-cell: 10px;
--radius-card-project-tile: 12px;
--radius-image-frame: 16px;
--radius-toggle-track: 24px;
--shadow-key-dark: rgba(255,255,255,0.1) 0 -2px 1px -1px inset, rgba(255,255,255,0.3) 0 2px 1px -1px inset, rgba(255,255,255,0.2) 0 4px 2px -1px inset, rgba(255,255,255,0.1) 0 -8px 8px 0 inset, rgba(255,255,255,0.08) 0 0 0 1px inset, rgba(255,255,255,0.1) 0 3px 3px 0;
--shadow-key-light: rgba(0,0,0,0.1) 0 -1px 1px 0 inset, rgba(255,255,255,0.65) 0 1.5px 1px 0 inset, rgba(0,0,0,0.03) 0 4px 2px 0 inset, rgba(255,255,255,0.7) 0 -8px 8px 0 inset, rgba(0,0,0,0.15) 0 0 0 1px inset, rgba(0,0,0,0.04) 0 3px 3px 0;
--shadow-framed-print: #ffffff 0 0 0 7px, rgba(0,0,0,0.2) 0 6px 16px 0, rgba(0,0,0,0.15) 0 1px 3px 6px, rgba(0,0,0,0.25) 0 0 8px 0, rgba(0,0,0,0.06) 0 0 0 8px;
--shadow-hard-offset: #cccccc 1px 1px 0 0;
--shadow-edge-sheen: rgba(255,255,255,0.15) 0 1px 0 0;
--container-site: 1200px;
}
Theme tokens — light + dark
The shadcn-named layer DevDojo Sites speaks (bg-background, text-foreground, bg-primary, rounded-medium…). Paste into site.css after @import "tailwindcss" to restyle any site in this look.
/* Daniel Sun — DevDojo theme tokens (light + dark). Generated from style.json. */
/* Drop into site.css after @import "tailwindcss": bg-background, text-foreground, bg-primary, border-border, rounded-medium… all read these. Dark mode: estimated — the site has no dark scheme, so the .dark half is a plausible twin of its palette. */
@custom-variant dark (&:where(.dark, .dark *));
:root {
color-scheme: light;
--background: #ffffff;
--foreground: #000000;
--card: #ffffff;
--card-foreground: #000000;
--popover: #ffffff; /* estimated */
--popover-foreground: #000000; /* estimated */
--primary: #303030;
--primary-foreground: #ffffff;
--secondary: #f2f2f2;
--secondary-foreground: #303030;
--muted: #fafafa; /* estimated */
--muted-foreground: #6b6b6b;
--accent: #f4e400;
--accent-foreground: #000000;
--destructive: #c0392b; /* estimated */
--destructive-foreground: #ffffff; /* estimated */
--border: #e6e6e6;
--input: #e6e6e6;
--ring: #303030; /* estimated */
--radius-small: 6px;
--radius-medium: 12px;
--radius-large: 16px;
--radius: var(--radius-medium);
--font-display: 'LT Superior Serif', 'Playfair Display', Georgia, 'Times New Roman', serif;
--font-body: 'Inter Display', Inter, 'SF Pro Display', 'Helvetica Neue', sans-serif;
}
.dark {
color-scheme: dark;
/* estimated from the light palette */
--background: #0a0a0a;
--foreground: #ffffff;
--card: #121212;
--card-foreground: #ffffff;
--popover: #121212;
--popover-foreground: #ffffff;
--primary: #f2f2f2;
--primary-foreground: #000000;
--secondary: #1c1c1c;
--secondary-foreground: #e6e6e6;
--muted: #161616;
--muted-foreground: #c2c2c2;
--accent: #f4e400;
--accent-foreground: #000000;
--destructive: #e05a4a;
--destructive-foreground: #0a0a0a;
--border: #2a2a2a;
--input: #2a2a2a;
--ring: #f2f2f2;
}
@theme inline {
--color-background: var(--background);
--color-foreground: var(--foreground);
--color-card: var(--card);
--color-card-foreground: var(--card-foreground);
--color-popover: var(--popover);
--color-popover-foreground: var(--popover-foreground);
--color-primary: var(--primary);
--color-primary-foreground: var(--primary-foreground);
--color-secondary: var(--secondary);
--color-secondary-foreground: var(--secondary-foreground);
--color-muted: var(--muted);
--color-muted-foreground: var(--muted-foreground);
--color-accent: var(--accent);
--color-accent-foreground: var(--accent-foreground);
--color-destructive: var(--destructive);
--color-destructive-foreground: var(--destructive-foreground);
--color-border: var(--border);
--color-input: var(--input);
--color-ring: var(--ring);
--radius-small: var(--radius-small);
--radius-medium: var(--radius-medium);
--radius-large: var(--radius-large);
--font-display: var(--font-display);
--font-body: var(--font-body);
}
Daniel Sun — Style Reference
sunlit paper, glossy obsidian keys
Theme: light · Mood: light, editorial, typographic, glossy, minimal, monochrome
A designer's portfolio built on one dramatic contrast: a quiet, graph-paper white page with a huge high-contrast serif headline, lit from above by a solar yellow gradient. Everything else is deliberately restrained — small grey Inter captions, hairline grid rules that extend past the content column, and pill-shaped tags under each project thumbnail — so the typography and the project imagery carry all the colour. A Works/Story toggle flips the entire site to an inverted black twin, where the same serif runs white over a faint dark grid.
Tokens — Colors
| Name |
Value |
Token |
Role |
| Paper White |
#ffffff |
--background |
Dominant page ground on Works pages, card fills, and the white ring around framed project photos |
| Ink Black |
#000000 |
--foreground |
Headline and body text on light; becomes the full page ground on the Story (dark) side |
| Graphite |
#303030 |
--primary |
Primary CTA fill (top of the glossy dark button gradient) and dark toggle pill |
| Solar Yellow |
#f4e400 |
--accent |
Hero light-wash gradient fading to white; the single chromatic brand signal |
| Hairline Grey |
#c2c2c2 |
--border |
Grid rules, logo-cell dividers and the hard 1px 1px offset shadow on logo tiles |
| Rule Mist |
#e6e6e6 |
--border-subtle |
Faint graph-paper lines across the full-bleed background and section separators |
| Slate Text |
#6b6b6b |
--muted-foreground |
Sub-headline, card body copy, inactive toggle label, small captions |
| Chalk Surface |
#f2f2f2 |
--secondary |
Tag pills under project thumbnails, light toggle track, email field fill |
| Fog Surface |
#fafafa |
--muted |
Near-white blocks such as the 'More projects coming soon' tile and logo grid cells |
| Obsidian Field |
#0a0a0a |
--dark-background |
Story page ground, carrying a faint dark graph grid |
| Ash Line |
#2a2a2a |
--dark-border |
Grid rules and dividers on the dark side |
Tokens — Typography
- Display: LT Superior Serif (Playfair Display, Georgia, Times New Roman, serif) — weights 400
- Body: Inter Display (Inter, SF Pro Display, Helvetica Neue, sans-serif) — weights 400
- Accent: EB Garamond (Georgia, serif) — weights 400
Tokens — Radius
| Element |
Value |
| Tag pill / small chip |
6px |
| Button, toggle item |
7px |
| Input, logo cell |
10px |
| Card / project tile |
12px |
| Image frame |
16px |
| Toggle track |
24px |
Do
- Set headlines in LT Superior Serif at 400 only, 64px/72px with −3px tracking; let size and tracking create emphasis instead of weight.
- Keep the page pure #ffffff with #c2c2c2 / #e6e6e6 hairlines and reserve the solar yellow for the hero wash and footer motif.
- Build every button and toggle with the multi-layer inset highlight shadows so controls feel like physical keycaps.
- Use Inter Display 16px/1.63 with +0.1px tracking for all prose, and 14px for tags and captions.
- Let the graph-paper grid and corner plus-marks bleed past the 1200px container to frame the content.
- Pair every project image with a left-aligned row of 6px-radius tag pills at 14px.
Don't
- Don't bold the serif or introduce a second display weight — the family ships as a single regular here.
- Don't apply flat single-layer drop shadows to buttons; the gloss comes from stacked inset highlights plus a 1px inset ring.
- Don't colour UI chrome — tags, nav, inputs stay in the white-to-#303030 greyscale; colour lives inside project imagery only.
- Don't round cards beyond 16px or turn buttons into full pills; radii stay in the 6–16px range.
- Don't spread the yellow gradient below the hero fold or use it as a button or text fill.
- Don't replace section hairlines with large empty gaps — the ruled separators are the rhythm of the page.
/* Daniel Sun — Tailwind CSS v4 theme. Import after tailwindcss: @import "tailwindcss"; then paste this block. */
@theme {
--color-background: #ffffff;
--color-foreground: #000000;
--color-primary: #303030;
--color-accent: #f4e400;
--color-border: #c2c2c2;
--color-border-subtle: #e6e6e6;
--color-muted-foreground: #6b6b6b;
--color-secondary: #f2f2f2;
--color-muted: #fafafa;
--color-dark-background: #0a0a0a;
--color-dark-border: #2a2a2a;
--color-background: #ffffff;
--color-surface: #fafafa;
--color-surface-raised: #ffffff;
--color-border: #e6e6e6;
--color-text: #000000;
--color-text-muted: #6b6b6b;
--color-primary: #303030;
--color-primary-text: #ffffff;
--color-accent: #f4e400;
--font-display: 'LT Superior Serif', 'Playfair Display', Georgia, 'Times New Roman', serif;
--font-body: 'Inter Display', Inter, 'SF Pro Display', 'Helvetica Neue', sans-serif;
--font-accent: 'EB Garamond', Georgia, serif;
--text-display-h1: 64px;
--text-display-h1--line-height: 72px;
--text-display-h1--letter-spacing: -3px;
--text-display-h1--font-weight: 400;
--text-h2-section: 30px;
--text-h2-section--line-height: 1.33;
--text-h2-section--letter-spacing: -0.5px;
--text-h2-section--font-weight: 400;
--text-h3-card-title: 30px;
--text-h3-card-title--line-height: 1.2;
--text-h3-card-title--letter-spacing: -0.5px;
--text-h3-card-title--font-weight: 400;
--text-wordmark-lead: 21px;
--text-wordmark-lead--line-height: 0.95;
--text-wordmark-lead--letter-spacing: -0.5px;
--text-wordmark-lead--font-weight: 400;
--text-eyebrow-italic: 20px;
--text-eyebrow-italic--line-height: 1;
--text-eyebrow-italic--letter-spacing: -0.5px;
--text-eyebrow-italic--font-weight: 400;
--text-body: 16px;
--text-body--line-height: 1.63;
--text-body--letter-spacing: 0.1px;
--text-body--font-weight: 400;
--text-button-label: 16px;
--text-button-label--line-height: 1.5;
--text-button-label--letter-spacing: 0.1px;
--text-button-label--font-weight: 400;
--text-small-tag: 14px;
--text-small-tag--line-height: 1.43;
--text-small-tag--letter-spacing: normal;
--text-small-tag--font-weight: 400;
--text-caption: 12px;
--text-caption--line-height: 1.4;
--text-caption--letter-spacing: normal;
--text-caption--font-weight: 400;
--radius-tag-pill-small-chip: 6px;
--radius-button-toggle-item: 7px;
--radius-input-logo-cell: 10px;
--radius-card-project-tile: 12px;
--radius-image-frame: 16px;
--radius-toggle-track: 24px;
--shadow-key-dark: rgba(255,255,255,0.1) 0 -2px 1px -1px inset, rgba(255,255,255,0.3) 0 2px 1px -1px inset, rgba(255,255,255,0.2) 0 4px 2px -1px inset, rgba(255,255,255,0.1) 0 -8px 8px 0 inset, rgba(255,255,255,0.08) 0 0 0 1px inset, rgba(255,255,255,0.1) 0 3px 3px 0;
--shadow-key-light: rgba(0,0,0,0.1) 0 -1px 1px 0 inset, rgba(255,255,255,0.65) 0 1.5px 1px 0 inset, rgba(0,0,0,0.03) 0 4px 2px 0 inset, rgba(255,255,255,0.7) 0 -8px 8px 0 inset, rgba(0,0,0,0.15) 0 0 0 1px inset, rgba(0,0,0,0.04) 0 3px 3px 0;
--shadow-framed-print: #ffffff 0 0 0 7px, rgba(0,0,0,0.2) 0 6px 16px 0, rgba(0,0,0,0.15) 0 1px 3px 6px, rgba(0,0,0,0.25) 0 0 8px 0, rgba(0,0,0,0.06) 0 0 0 8px;
--shadow-hard-offset: #cccccc 1px 1px 0 0;
--shadow-edge-sheen: rgba(255,255,255,0.15) 0 1px 0 0;
--container-site: 1200px;
}
/* Daniel Sun — CSS custom properties. Generated from style.json */
:root {
/* Palette */
--color-background: #ffffff; /* Dominant page ground on Works pages, card fills, and the white ring around framed project photos */
--color-foreground: #000000; /* Headline and body text on light; becomes the full page ground on the Story (dark) side */
--color-primary: #303030; /* Primary CTA fill (top of the glossy dark button gradient) and dark toggle pill */
--color-accent: #f4e400; /* Hero light-wash gradient fading to white; the single chromatic brand signal */
--color-border: #c2c2c2; /* Grid rules, logo-cell dividers and the hard 1px 1px offset shadow on logo tiles */
--color-border-subtle: #e6e6e6; /* Faint graph-paper lines across the full-bleed background and section separators */
--color-muted-foreground: #6b6b6b; /* Sub-headline, card body copy, inactive toggle label, small captions */
--color-secondary: #f2f2f2; /* Tag pills under project thumbnails, light toggle track, email field fill */
--color-muted: #fafafa; /* Near-white blocks such as the 'More projects coming soon' tile and logo grid cells */
--color-dark-background: #0a0a0a; /* Story page ground, carrying a faint dark graph grid */
--color-dark-border: #2a2a2a; /* Grid rules and dividers on the dark side */
/* Semantic roles */
--background: #ffffff;
--surface: #fafafa;
--surface-raised: #ffffff;
--border: #e6e6e6;
--text: #000000;
--text-muted: #6b6b6b;
--primary: #303030;
--primary-text: #ffffff;
--accent: #f4e400;
/* Typography */
--font-display: 'LT Superior Serif', 'Playfair Display', Georgia, 'Times New Roman', serif;
--font-body: 'Inter Display', Inter, 'SF Pro Display', 'Helvetica Neue', sans-serif;
--font-accent: 'EB Garamond', Georgia, serif;
--text-display-h1: 64px;
--text-display-h1--line-height: 72px;
--text-display-h1--letter-spacing: -3px;
--text-display-h1--font-weight: 400;
--text-h2-section: 30px;
--text-h2-section--line-height: 1.33;
--text-h2-section--letter-spacing: -0.5px;
--text-h2-section--font-weight: 400;
--text-h3-card-title: 30px;
--text-h3-card-title--line-height: 1.2;
--text-h3-card-title--letter-spacing: -0.5px;
--text-h3-card-title--font-weight: 400;
--text-wordmark-lead: 21px;
--text-wordmark-lead--line-height: 0.95;
--text-wordmark-lead--letter-spacing: -0.5px;
--text-wordmark-lead--font-weight: 400;
--text-eyebrow-italic: 20px;
--text-eyebrow-italic--line-height: 1;
--text-eyebrow-italic--letter-spacing: -0.5px;
--text-eyebrow-italic--font-weight: 400;
--text-body: 16px;
--text-body--line-height: 1.63;
--text-body--letter-spacing: 0.1px;
--text-body--font-weight: 400;
--text-button-label: 16px;
--text-button-label--line-height: 1.5;
--text-button-label--letter-spacing: 0.1px;
--text-button-label--font-weight: 400;
--text-small-tag: 14px;
--text-small-tag--line-height: 1.43;
--text-small-tag--letter-spacing: normal;
--text-small-tag--font-weight: 400;
--text-caption: 12px;
--text-caption--line-height: 1.4;
--text-caption--letter-spacing: normal;
--text-caption--font-weight: 400;
/* Spacing */
--space-1: 4px;
--space-2: 6px;
--space-3: 8px;
--space-4: 10px;
--space-5: 12px;
--space-6: 16px;
--space-7: 24px;
--space-8: 32px;
--space-9: 64px;
--space-10: 96px;
--container: 1200px;
--section-gap: 96px;
/* Radius */
--radius-tag-pill-small-chip: 6px;
--radius-button-toggle-item: 7px;
--radius-input-logo-cell: 10px;
--radius-card-project-tile: 12px;
--radius-image-frame: 16px;
--radius-toggle-track: 24px;
/* Shadows */
--shadow-key-dark: rgba(255,255,255,0.1) 0 -2px 1px -1px inset, rgba(255,255,255,0.3) 0 2px 1px -1px inset, rgba(255,255,255,0.2) 0 4px 2px -1px inset, rgba(255,255,255,0.1) 0 -8px 8px 0 inset, rgba(255,255,255,0.08) 0 0 0 1px inset, rgba(255,255,255,0.1) 0 3px 3px 0;
--shadow-key-light: rgba(0,0,0,0.1) 0 -1px 1px 0 inset, rgba(255,255,255,0.65) 0 1.5px 1px 0 inset, rgba(0,0,0,0.03) 0 4px 2px 0 inset, rgba(255,255,255,0.7) 0 -8px 8px 0 inset, rgba(0,0,0,0.15) 0 0 0 1px inset, rgba(0,0,0,0.04) 0 3px 3px 0;
--shadow-framed-print: #ffffff 0 0 0 7px, rgba(0,0,0,0.2) 0 6px 16px 0, rgba(0,0,0,0.15) 0 1px 3px 6px, rgba(0,0,0,0.25) 0 0 8px 0, rgba(0,0,0,0.06) 0 0 0 8px;
--shadow-hard-offset: #cccccc 1px 1px 0 0;
--shadow-edge-sheen: rgba(255,255,255,0.15) 0 1px 0 0;
}
{
"$name": "Daniel Sun",
"$source": "https://danielsun.space",
"$theme": "light",
"$generated": "inspiration library",
"color": {
"background": {
"$type": "color",
"$value": "#ffffff",
"$description": "Dominant page ground on Works pages, card fills, and the white ring around framed project photos"
},
"foreground": {
"$type": "color",
"$value": "#000000",
"$description": "Headline and body text on light; becomes the full page ground on the Story (dark) side"
},
"primary": {
"$type": "color",
"$value": "#303030",
"$description": "Primary CTA fill (top of the glossy dark button gradient) and dark toggle pill"
},
"accent": {
"$type": "color",
"$value": "#f4e400",
"$description": "Hero light-wash gradient fading to white; the single chromatic brand signal"
},
"border": {
"$type": "color",
"$value": "#c2c2c2",
"$description": "Grid rules, logo-cell dividers and the hard 1px 1px offset shadow on logo tiles"
},
"border-subtle": {
"$type": "color",
"$value": "#e6e6e6",
"$description": "Faint graph-paper lines across the full-bleed background and section separators"
},
"muted-foreground": {
"$type": "color",
"$value": "#6b6b6b",
"$description": "Sub-headline, card body copy, inactive toggle label, small captions"
},
"secondary": {
"$type": "color",
"$value": "#f2f2f2",
"$description": "Tag pills under project thumbnails, light toggle track, email field fill"
},
"muted": {
"$type": "color",
"$value": "#fafafa",
"$description": "Near-white blocks such as the 'More projects coming soon' tile and logo grid cells"
},
"dark-background": {
"$type": "color",
"$value": "#0a0a0a",
"$description": "Story page ground, carrying a faint dark graph grid"
},
"dark-border": {
"$type": "color",
"$value": "#2a2a2a",
"$description": "Grid rules and dividers on the dark side"
}
},
"role": {
"background": {
"$type": "color",
"$value": "#ffffff"
},
"surface": {
"$type": "color",
"$value": "#fafafa"
},
"surface_raised": {
"$type": "color",
"$value": "#ffffff"
},
"border": {
"$type": "color",
"$value": "#e6e6e6"
},
"text": {
"$type": "color",
"$value": "#000000"
},
"text_muted": {
"$type": "color",
"$value": "#6b6b6b"
},
"primary": {
"$type": "color",
"$value": "#303030"
},
"primary_text": {
"$type": "color",
"$value": "#ffffff"
},
"accent": {
"$type": "color",
"$value": "#f4e400"
}
},
"fontFamily": {
"display": {
"$type": "fontFamily",
"$value": [
"LT Superior Serif",
"Playfair Display",
"Georgia",
"Times New Roman",
"serif"
],
"$description": "All headlines and 30px section/card titles. Single regular weight only — scale and tight tracking do the work."
},
"body": {
"$type": "fontFamily",
"$value": [
"Inter Display",
"Inter",
"SF Pro Display",
"Helvetica Neue",
"sans-serif"
],
"$description": "Every piece of UI text: nav, buttons, paragraphs, tags, captions. Regular weight throughout, never bolded."
},
"accent": {
"$type": "fontFamily",
"$value": [
"EB Garamond",
"Georgia",
"serif"
],
"$description": "Used once, italic at 20px, for editorial eyebrow labels like 'How I got here'."
}
},
"typography": {
"display-h1": {
"$type": "typography",
"$value": {
"fontFamily": "{fontFamily.display}",
"fontSize": "64px",
"lineHeight": "72px",
"fontWeight": 400,
"letterSpacing": "-3px"
}
},
"h2-section": {
"$type": "typography",
"$value": {
"fontFamily": "{fontFamily.display}",
"fontSize": "30px",
"lineHeight": "1.33",
"fontWeight": 400,
"letterSpacing": "-0.5px"
}
},
"h3-card-title": {
"$type": "typography",
"$value": {
"fontFamily": "{fontFamily.display}",
"fontSize": "30px",
"lineHeight": "1.2",
"fontWeight": 400,
"letterSpacing": "-0.5px"
}
},
"wordmark-lead": {
"$type": "typography",
"$value": {
"fontFamily": "{fontFamily.body}",
"fontSize": "21px",
"lineHeight": "0.95",
"fontWeight": 400,
"letterSpacing": "-0.5px"
}
},
"eyebrow-italic": {
"$type": "typography",
"$value": {
"fontFamily": "{fontFamily.accent}",
"fontSize": "20px",
"lineHeight": "1",
"fontWeight": 400,
"letterSpacing": "-0.5px"
}
},
"body": {
"$type": "typography",
"$value": {
"fontFamily": "{fontFamily.body}",
"fontSize": "16px",
"lineHeight": "1.63",
"fontWeight": 400,
"letterSpacing": "0.1px"
}
},
"button-label": {
"$type": "typography",
"$value": {
"fontFamily": "{fontFamily.body}",
"fontSize": "16px",
"lineHeight": "1.5",
"fontWeight": 400,
"letterSpacing": "0.1px"
}
},
"small-tag": {
"$type": "typography",
"$value": {
"fontFamily": "{fontFamily.body}",
"fontSize": "14px",
"lineHeight": "1.43",
"fontWeight": 400,
"letterSpacing": "normal"
}
},
"caption": {
"$type": "typography",
"$value": {
"fontFamily": "{fontFamily.body}",
"fontSize": "12px",
"lineHeight": "1.4",
"fontWeight": 400,
"letterSpacing": "normal"
}
}
},
"spacing": {
"1": {
"$type": "dimension",
"$value": "4px"
},
"2": {
"$type": "dimension",
"$value": "6px"
},
"3": {
"$type": "dimension",
"$value": "8px"
},
"4": {
"$type": "dimension",
"$value": "10px"
},
"5": {
"$type": "dimension",
"$value": "12px"
},
"6": {
"$type": "dimension",
"$value": "16px"
},
"7": {
"$type": "dimension",
"$value": "24px"
},
"8": {
"$type": "dimension",
"$value": "32px"
},
"9": {
"$type": "dimension",
"$value": "64px"
},
"10": {
"$type": "dimension",
"$value": "96px"
}
},
"radius": {
"tag-pill-small-chip": {
"$type": "dimension",
"$value": "6px"
},
"button-toggle-item": {
"$type": "dimension",
"$value": "7px"
},
"input-logo-cell": {
"$type": "dimension",
"$value": "10px"
},
"card-project-tile": {
"$type": "dimension",
"$value": "12px"
},
"image-frame": {
"$type": "dimension",
"$value": "16px"
},
"toggle-track": {
"$type": "dimension",
"$value": "24px"
}
},
"shadow": {
"key-dark": {
"$type": "shadow",
"$value": "rgba(255,255,255,0.1) 0 -2px 1px -1px inset, rgba(255,255,255,0.3) 0 2px 1px -1px inset, rgba(255,255,255,0.2) 0 4px 2px -1px inset, rgba(255,255,255,0.1) 0 -8px 8px 0 inset, rgba(255,255,255,0.08) 0 0 0 1px inset, rgba(255,255,255,0.1) 0 3px 3px 0",
"$description": "Dark primary button and active toggle pill — stacked inset highlights that read as a moulded keycap."
},
"key-light": {
"$type": "shadow",
"$value": "rgba(0,0,0,0.1) 0 -1px 1px 0 inset, rgba(255,255,255,0.65) 0 1.5px 1px 0 inset, rgba(0,0,0,0.03) 0 4px 2px 0 inset, rgba(255,255,255,0.7) 0 -8px 8px 0 inset, rgba(0,0,0,0.15) 0 0 0 1px inset, rgba(0,0,0,0.04) 0 3px 3px 0",
"$description": "Light secondary button ('Let's chat') and inactive toggle segment."
},
"framed-print": {
"$type": "shadow",
"$value": "#ffffff 0 0 0 7px, rgba(0,0,0,0.2) 0 6px 16px 0, rgba(0,0,0,0.15) 0 1px 3px 6px, rgba(0,0,0,0.25) 0 0 8px 0, rgba(0,0,0,0.06) 0 0 0 8px",
"$description": "Photo and project images — a white mount ring plus soft drop, like a mounted print."
},
"hard-offset": {
"$type": "shadow",
"$value": "#cccccc 1px 1px 0 0",
"$description": "Logo grid cells and small flat tiles; a crisp one-pixel printed offset, no blur."
},
"edge-sheen": {
"$type": "shadow",
"$value": "rgba(255,255,255,0.15) 0 1px 0 0",
"$description": "Top highlight line on dark chips and nav elements."
}
},
"component": {
"primary-button-start-a-project-with-me": {
"kind": "button",
"background": "linear-gradient(180deg, #303030 0%, #000000 100%)",
"color": "#ffffff",
"border": "1px solid rgba(255,255,255,0.08) (inset ring)",
"radius": "7px",
"padding": "9px 10px 9px 16px",
"font_size": "16px",
"font_weight": 400,
"shadow": "key-dark",
"hover": "Slight brightening of the gradient top stop; the trailing ▶ glyph nudges 2px right.",
"notes": "Inline-flex with a small white triangle/arrow glyph in a 16px square at the right, separated by a 10px gap. Sits directly under the hero headline."
},
"secondary-button-let-s-chat": {
"kind": "button",
"background": "linear-gradient(180deg, #ffffff 0%, #f0f0f0 100%)",
"color": "#000000",
"border": "1px solid rgba(0,0,0,0.15) (inset ring)",
"radius": "7px",
"padding": "7px 12px",
"font_size": "14px",
"font_weight": 400,
"shadow": "key-light",
"hover": "Inset top highlight brightens; no movement.",
"notes": "Top-right nav CTA. Same glossy key construction as the primary, inverted to light."
},
"works-story-theme-toggle": {
"kind": "nav",
"background": "#f2f2f2 (track) with active segment #1a1a1a→#000 gradient",
"color": "#6b6b6b inactive / #ffffff active",
"border": "1px solid rgba(0,0,0,0.08)",
"radius": "24px track, 7px segment",
"padding": "4px (track), 6px 12px (segment)",
"font_size": "14px",
"font_weight": 400,
"shadow": "key-light on track, key-dark on active segment",
"hover": "Inactive label darkens to #000000.",
"notes": "Segmented control with a sun icon on 'Works' and a moon icon on 'Story'; it swaps the whole site between the white and black twin. Centre of the bar holds the 21px Inter wordmark."
},
"project-tile": {
"kind": "card",
"background": "#ffffff",
"color": "#000000",
"border": "1px solid #e6e6e6",
"radius": "12px",
"padding": "0 (image bleeds); 10px for the tag row",
"font_size": "14px",
"font_weight": 400,
"shadow": "framed-print on the inner image",
"hover": "Image scales ~1.02 inside the clipped radius; tag row stays fixed.",
"notes": "Masonry two-column grid of full-bleed project images with a row of tag pills overlaid at the bottom-left, 4px gaps between pills."
},
"tag-pill": {
"kind": "badge",
"background": "#f2f2f2",
"color": "#303030",
"border": "1px solid rgba(0,0,0,0.06)",
"radius": "6px",
"padding": "4px 8px",
"font_size": "14px",
"font_weight": 400,
"shadow": "none",
"hover": "none — labels only",
"notes": "Project name first, then discipline tags ('Branding', 'Web design'). Always lowercase-cased as written, never uppercase."
},
"contact-field": {
"kind": "input",
"background": "#f2f2f2",
"color": "#000000",
"border": "1px solid #e6e6e6",
"radius": "10px",
"padding": "9px 12px",
"font_size": "14px",
"font_weight": 400,
"shadow": "inset 0 1px 2px rgba(0,0,0,0.03)",
"hover": "Background lightens to #ffffff; copy icon on the right darkens.",
"notes": "Read-only email row in the footer with a trailing copy icon; behaves as a click-to-copy control, not a text entry."
},
"logo-cell": {
"kind": "other",
"background": "#ffffff",
"color": "#000000",
"border": "1px solid #e6e6e6",
"radius": "10px",
"padding": "16px 24px",
"font_size": "14px",
"font_weight": 400,
"shadow": "#cccccc 1px 1px 0 0",
"hover": "none",
"notes": "5-across client logo grid with shared hairlines; mark plus wordmark, centred, all rendered in black."
}
}
}