Brand
Theme
Every token, the logo set and the two generated graphics. Components already use these; use the same names for anything new.
Logo
Every lockup, split from the brand's own SVGs (never redrawn), in White on Black and Black on White. No other colors, no stretching, outlines, rotation or effects.
Files: /spyglass-ds/logo/<lockup>-black.svg and -white.svg for mark, wordmark, horizontal, vertical, mark-3d, horizontal-3d and vertical-3d, plus favicon.svg and the avatars. npx spyglass-ds brand --section logos lists them.
Color
Black is the ground and White the type; most layouts use only these two. The spectrum comes from the light and small accents, always in this order.
black
#000000
white
#FFFFFF
Neutral spectrum, 15 steps
neutral-1
#000000
neutral-2
#0F0F0F
neutral-3
#1A1A1A
neutral-4
#262626
neutral-5
#363636
neutral-6
#4D4D4D
neutral-7
#666666
neutral-8
#858585
neutral-9
#A3A3A3
neutral-10
#BFBFBF
neutral-11
#D4D4D4
neutral-12
#E5E5E5
neutral-13
#F0F0F0
neutral-14
#F7F7F7
neutral-15
#FFFFFF
magenta, base step 8 (#DA33EB)
red, base step 8 (#DF0000)
orange, base step 8 (#FF7400)
yellow, base step 8 (#FFF600)
green, base step 8 (#00FF29)
cyan, base step 8 (#0BD7FE)
blue, base step 8 (#1B1DFF)
Roles (dark, the default)
surface
#000000
surface-raised
#262626
surface-subtle
#1A1A1A
surface-sunken
#0F0F0F
surface-inset
#363636
surface-hover
#363636
surface-inverse
#FFFFFF
surface-accent
#FFFFFF
surface-danger
#280000
fg
#FFFFFF
fg-soft
#D4D4D4
fg-muted
#A3A3A3
fg-faint
#858585
fg-inverse
#000000
fg-on-accent
#000000
fg-accent
#FFFFFF
fg-accent-display
#FFFFFF
fg-danger
#E94D4D
edge
#363636
edge-strong
#666666
edge-surface
#4D4D4D
edge-focus
#FFFFFF
edge-accent
#FFFFFF
action-primary
#FFFFFF
action-primary-hover
#E5E5E5
action-primary-press
#D4D4D4
action-primary-fg
#000000
action-secondary
#1A1A1A
action-secondary-hover
#262626
action-secondary-fg
#FFFFFF
action-secondary-edge
#363636
action-secondary-edge-hover
#363636
action-ghost-hover
#1A1A1A
action-danger
#DF0000
action-danger-hover
#BE0000
action-disabled
#1A1A1A
action-disabled-fg
#666666
status-working
#FFFFFF
status-working-fg
#000000
status-failed
#280000
status-failed-fg
#E94D4D
code
#0F0F0F
code-fg
#FFFFFF
code-muted
#A3A3A3
data-1
#FFFFFF
data-2
#A3A3A3
data-3
#4D4D4D
data-grid
#262626
selection
#4D4D4D
Type
From the site: Funnel Display at 450 for heads and 400 for titles, DM Sans at optical size 14 for everything else (Medium for labels and buttons), the system mono for code, Geist Mono for the texture. Variable faces, self-hosted, OFL.
type-section
Funnel Display 450: 32/36, 44/48 at 768, 56/60 from 1024 (the site's page and section head)
The only creative search engine.
type-display
Funnel Display 450, 96/100
The only creative search engine.
type-display-m
Funnel Display 450, 72/76
The only creative search engine.
type-hero
Funnel Display 450, 56/60
The only creative search engine.
type-heading-1
Funnel Display 450, 44/48
The only creative search engine.
type-heading-2
Funnel Display 400, 32/36, plan names
The only creative search engine.
type-heading-3
Funnel Display 400, 24/28, card titles
The only creative search engine.
type-heading-4
Funnel Display 400, 20/24
The only creative search engine.
type-body-lg
DM Sans 20/28, the lead
The only creative search engine.
type-body
DM Sans 16/24
The only creative search engine.
type-ui
DM Sans 14/20
The only creative search engine.
type-ui-strong
DM Sans Medium 14/20, buttons
The only creative search engine.
type-caption
DM Sans 12/16
The only creative search engine.
type-label
DM Sans Medium 12/16, capitals, 6%
The only creative search engine.
type-code
System mono 14/20
The only creative search engine.
The brand light
One shape drawn three times in Blue, Green and Red, shifted, blurred and blended plus-lighter on Black. Generated from a seed in every variant the brand assets use.
| --ds-color-light-r | #DF0000 | Light R, at 0.85 |
| --ds-color-light-g | #00FF29 | Light G, at 0.782 |
| --ds-color-light-b | #1B1DFF | Light B, at 0.782 |
| --ds-light-offset | 0.0152 | each layer's shift, of the heat map's width |
| --ds-light-blur | 0.00268 | blur, of the heat map's width |
| --ds-color-light-overlap | #D3DEE7 | where all three overlap |
The ASCII texture
Geist Mono characters from " .:-=+*#" off a soft heat map, White at 0.5 for a field (0.35 on the canvas). Behind the light, clear of text, the logo and photos.
Space, size, corners and borders
A 4px base. One corner for buttons, fields, cards and the search bar: 10px on the canvas, 8px in the product. No shadows.
radius-control 8px
radius-container 4px
radius-sm 4px
radius-panel 8px
radius-lg 20px
radius-full 9999px
| --ds-space-2xs | 2px | |
| --ds-space-xs | 4px | |
| --ds-space-sm | 8px | |
| --ds-space-md | 12px | |
| --ds-space-lg | 16px | |
| --ds-space-xl | 24px | |
| --ds-space-2xl | 32px | |
| --ds-space-3xl | 48px | |
| --ds-space-4xl | 64px | |
| --ds-space-5xl | 80px | |
| --ds-space-6xl | 96px | |
| --ds-space-7xl | 128px | |
| --ds-size-control-xs | 36px | |
| --ds-size-control-sm | 32px | |
| --ds-size-control-md | 40px | |
| --ds-size-control-form | 48px | |
| --ds-size-control-lg | 56px | |
| --ds-size-control-field | 48px | |
| --ds-size-control-touch | 44px | |
| --ds-size-search | 56px | |
| --ds-size-row | 40px | |
| --ds-size-icon-sm | 16px | |
| --ds-size-icon-md | 20px | |
| --ds-size-mark-nav | 20px | |
| --ds-size-header | 72px | |
| --ds-layout-rail | 256px | |
| --ds-layout-page | 960px | |
| --ds-layout-page-wide | 1280px | |
| --ds-layout-content | 1280px | |
| --ds-layout-measure | 640px | |
| --ds-layout-measure-sm | 360px | |
| --ds-layout-gutter | 16px | |
| --ds-layout-section | 56px | |
| --ds-layout-auth | 400px | |
| --ds-layout-auth-proof | 560px | |
| --ds-layout-auth-proof-h | 76px | |
| --ds-border-hairline | 1px | |
| --ds-border-focus | 2px |
Motion
Quick and quiet: color 160ms, press 160ms, entrances 240ms, exits faster, nothing over 360ms. Never ease-in; hover only where it exists; reduced motion keeps opacity and color; icons never move on hover.
| --ds-duration-instant | 0ms | |
| --ds-duration-micro | 160ms | |
| --ds-duration-press | 120ms | |
| --ds-duration-exit | 160ms | |
| --ds-duration-enter | 240ms | |
| --ds-duration-glide | 320ms | |
| --ds-duration-entrance | 360ms | |
| --ds-duration-close | 280ms | |
| --ds-duration-slow | 480ms | |
| --ds-duration-stagger | 40ms | |
| --ds-easing-standard | cubic-bezier(0.22, 1, 0.36, 1) | |
| --ds-easing-out | cubic-bezier(0.22, 1, 0.36, 1) | |
| --ds-easing-in-out | cubic-bezier(0.65, 0, 0.35, 1) | |
| --ds-easing-drawer | cubic-bezier(0.32, 0.72, 0, 1) | |
| --ds-easing-loop | cubic-bezier(0.4, 0, 0.2, 1) | |
| --ds-easing-drift | cubic-bezier(0.37, 0, 0.63, 1) | |
| --ds-easing-glow | cubic-bezier(0.33, 1, 0.68, 1) | |
| --ds-easing-fan-pop | cubic-bezier(0.45, 0, 0.55, 1) | |
| --ds-easing-fan-lift | cubic-bezier(0.33, 1, 0.68, 1) | |
| --ds-easing-fan-cta-out | cubic-bezier(0.5, 1, 0.89, 1) | |
| --ds-easing-fan-travel | linear(0, 0.1325, 0.2537, 0.3641, 0.4642, 0.5544, 0.6352, 0.7071, 0.7705, 0.8261, 0.8741, 0.9151, 0.9496, 0.9781, 1.0009, 1.0187, 1.0319, 1.041, 1.0464, 1.0486, 1.0481, 1.0454, 1.041, 1.0353, 1.0288, 1.022, 1.0153, 1.0093, 1.0045, 1.0012, 1) | |
| --ds-easing-seq-settle | linear(0, 0.119 1.6%, 0.224 3.1%, 0.317 4.7%, 0.398 6.3%, 0.47 7.9%, 0.562 10.2%, 0.638 12.6%, 0.719 15.7%, 0.782 18.9%, 0.842 22.8%, 0.892 27.6%, 0.931 33.1%, 0.958 39.4%, 0.978 47.2%, 0.99 57.1%, 0.996 68.9%, 0.999 82.7%, 1) | |
| --ds-easing-seq-settle-fallback | cubic-bezier(0.14, 1, 0.22, 1) | |
| --ds-easing-templates-name | cubic-bezier(0.85, 0, 0.15, 1) |
The 1080 canvas
The values measured on the brand assets (posts 1080x1080, ads 1080x1350, decks 1920x1080). The product scale above is derived from these: canvas x 2/3, snapped to the 4px grid.
| --ds-asset-radius | 8px | |
| --ds-asset-radius-container | 4px | |
| --ds-asset-radius-prompt | 20px | |
| --ds-asset-button-height | 56px | |
| --ds-asset-button-label | 20px | |
| --ds-asset-search-height | 88px | |
| --ds-asset-search-inset | 16px | |
| --ds-asset-card-padding | 40px | |
| --ds-asset-margin-ad | 64px | |
| --ds-asset-margin-post | 72px | |
| --ds-asset-margin-deck | 96px | |
| --ds-asset-text-body | 24px | |
| --ds-asset-text-body-leading | 1.33 | |
| --ds-asset-text-caption | 20px | |
| --ds-asset-text-caption-leading | 1.4 | |
| --ds-asset-text-label | 14px | |
| --ds-asset-text-card-title | 40px | |
| --ds-asset-text-display-leading | 1.07 | |
| --ds-asset-ascii-size | 13.333px | |
| --ds-asset-ascii-leading | 1.2 | |
| --ds-asset-lockup-width | 183px |
Import the theme
init writes the brand stylesheet and the Tailwind theme beside the app's main stylesheet and imports them.
npx spyglass-ds init@import "tailwindcss";
@import "./spyglass-ds/brand.css";
@import "./spyglass-ds/theme.css";