Flux Nextjs Template — decoded design system
Flux Nextjs Template's design system, decoded live by Mozaika: measured color roles, type scale, buttons with real hover/focus states, motion and the brand's own tokens.
This is a static, crawlable rendering for search & AI engines. The interactive version — filters, live decode console, copy & export — is at https://mozaika.design/decode/flux-nextjs-template.vercel.app.
Decoded design system
Flux Nextjs Template's decoded design system: background #F6F6F6, text #0A0A0A, accent #171717, link #000000, primary #000000; type scale h1 72px / h2 60px / body 14px; 8px spacing base; 0px base radius. The single interactive/action color is #171717 — used only on interactive or must-notice elements (buttons, links, key highlights), never on large fills.
Color roles
| Role | Value |
|---|---|
| bg | #F6F6F6 |
| surface | #E7E7E7 |
| border | #D2D2D2 |
| text | #0A0A0A |
| text_muted | #636363 |
| primary | #000000 |
| accent | #171717 |
| link | #000000 |
| button_bg | #171717 |
| button_text | #FAFAFA |
Using these colors
- Action color
#171717— the single interactive color; only on things you click or must notice, never large fills. primary,linkare all#000000— one role, not several (the action color).accent,button_bgare all#171717— one role, not several (the action color).- accent
#171717— THE accent / action color — interactive & must-notice only (buttons, links, focus, one key highlight); never large fills or backgrounds. Scarcity is what makes it read as designed.
Typography
- Heading: DM Sans
- Body: Inter
- h1: 72px
- h2: 60px
- body: 14px
Spacing
- base unit: 8px
- scale: 6px, 8px, 10px, 12px, 14px, 16px, 24px, 32px, 40px, 56px
Radii
- base: 0px
- button: 3.35544e+07px
Shadow
rgba(0, 0, 0, 0) 0px 0px 0px 0px, rgba(0, 0, 0, 0) 0px 0px 0px 0px, rgba(0, 0, 0, 0) 0px 0px 0px 0px, rgba(0, 0, 0, 0) 0px 0px 0px 0px, rgba(0, 0, 0, 0) 0px 0px 0px 0px
Motion
Micro-interactions run at 200ms (dominant) with cubic-bezier(0.4, 0, 0.2, 1).
- durations: 200ms · 150ms · 300ms
- easings:
cubic-bezier(0.4, 0, 0.2, 1)·linear - animated properties: transform, translate, scale, rotate
Native design tokens
| Token | Value |
|---|---|
--background | lab(96.868% -.0000298023 0) |
--foreground | lab(2.75381% 0 0) |
--card | lab(100% 0 0) |
--card-foreground | lab(2.75381% 0 0) |
--popover | lab(100% 0 0) |
--popover-foreground | lab(2.75381% 0 0) |
--primary | lab(7.78201% -.0000149012 0) |
--primary-foreground | lab(98.26% 0 0) |
--secondary | lab(92.692% 0 0) |
--secondary-foreground | lab(7.78201% -.0000149012 0) |
…and 83 more measured on the page.
Button states (measured)
- primary hover: background
oklab(0.205 -0.00000207871 0.00000478327 / 0.8) - primary focus: border
1px solid lab(66.128 -0.0000298023 0.0000119209)
Layout (measured)
- container max-width:
1090px - nav: 72px fixed
Motion choreography (measured)
Load order: span.bg-chart-1 → div.flex×4 → button.group/button×2
Scroll reveal: 19 elements rest at opacity 0, translateY(28px), animate in over 1000ms.
Stagger: div ×3 — 120ms apart.
Responsive (measured)
- breakpoints: 640px · 768px · 1024px · 1280px
- mobile (390px): hero 36px · nav inline
Install it
Drop this measured system into any shadcn/Tailwind project in one command:
npx shadcn add https://mozaika.design/r/decode/flux-nextjs-template.vercel.app
Or as a Meta Astryx theme — a ready defineTheme file with the measured hover/press states baked in:
curl -o src/themes/flux-nextjs-template.theme.ts https://mozaika.design/api/astryx/decode/flux-nextjs-template.vercel.app.ts
registry item · astryx theme · or query it over MCP: get_design_system("Flux Nextjs Template")
Export: DESIGN.md
# Flux Nextjs Template — Design System > light, modern, medium, tailwind — deep decode (measured live) ## Colors | Role | Value | |------|-------| | bg | `#F6F6F6` | | surface | `#E7E7E7` | | border | `#D2D2D2` | | text | `#0A0A0A` | | text_muted | `#636363` | | primary | `#000000` | | accent | `#171717` | | link | `#000000` | | button_bg | `#171717` | | button_text | `#FAFAFA` | **Using these colors** - **Action color** `#171717` — the single interactive color; it appears only on things you click or must notice (buttons, key highlights), never on large fills or backgrounds. - `primary`, `link` are all `#000000` — one role, not several. - `accent`, `button_bg` are all `#171717` — one role, not several (your action color). - **accent** `#171717` — THE accent / action color — interactive & must-notice only (buttons, links, focus, one key highlight); never large fills or backgrounds. Scarcity is what makes it read as designed. - **Page coverage** (full-page screenshot pixels): `#F6F2F2` 78% · `#DAD7D7` 13.9% · `#979595` 8.1% ## Typography - Heading: **DM Sans** - Body: **Inter** | Role | Size / weight · line-height · tracking | |------|------------------------------------------| | hero | 72px / 500 · lh 72px · tracking -3.6px | | h2 | 60px / 500 · lh 66px · tracking -3px | | h3 | 48px / 400 · lh 48px · tracking -1.2px | | body | 14px / 500 · lh 20px | | small | 12px / 500 · lh 16px | | eyebrow | 11px / 600 · tracking 1.54px | - Weight ladder: 400 · 500 · 600 — use these exact measured weights, not the 400/600 defaults. > **Fonts —** DM Sans — free, on Google. Inter — free, on Google. ## Spacing - base unit: 8px (inferred from the measured scale) - measured scale: 6px, 8px, 10px, 12px, 14px, 16px, 24px, 32px, 40px, 56px — snap all gaps/padding to these - section rhythm: 96px top/bottom padding per section (measured) ## Radius - base: 0px - button: 3.35544e+07px - card: 6px - pill: 9999px ## Buttons | Button | Fill / text | Border | Radius | Padding | Font | Shadow | |--------|-------------|--------|--------|---------|------|--------| | primary | `lab(7.78201 -0.0000149012 0)` / `lab(98.26 0 0)` | 1px solid rgba(0, 0, 0, 0) | 3.35544e+07px | 0px 10px 0px 10px | 500 14px | rgba(0, 0, 0, 0) 0px 0px 0px 0px, rgba(0, 0, 0, 0) 0px 0px 0px 0px, rgba(0, 0, 0, 0) 0px 0px 0px 0px, rgba(0, 0, 0, 0) 0px 0px 0px 0px, rgba(0, 0, 0, 0) 0px 0px 0px 0px | | secondary | `lab(7.78201 -0.0000149012 0)` / `lab(98.26 0 0)` | 1px solid rgba(0, 0, 0, 0) | 3.35544e+07px | 0px 10px 0px 22px | 500 14px | none | **States (measured, not guessed)** - primary hover: background `oklab(0.205 -0.00000207871 0.00000478327 / 0.8)` - primary focus: border `1px solid lab(66.128 -0.0000298023 0.0000119209)` - transition: `all 0.15s cubic-bezier(0.4, 0, 0.2, 1)` ## Motion - durations: 200ms (dominant) · 150ms · 300ms - easings: `cubic-bezier(0.4, 0, 0.2, 1)` (dominant) · `linear` - animated properties: transform, translate, scale, rotate Micro-interactions use the dominant duration + easing; nothing on the page animates slower than the longest duration above — don't invent springier motion. ## Their own tokens (verbatim from :root) | Token | Value | |-------|-------| | `--background` | `lab(96.868% -.0000298023 0)` | | `--foreground` | `lab(2.75381% 0 0)` | | `--card` | `lab(100% 0 0)` | | `--card-foreground` | `lab(2.75381% 0 0)` | | `--popover` | `lab(100% 0 0)` | | `--popover-foreground` | `lab(2.75381% 0 0)` | | `--primary` | `lab(7.78201% -.0000149012 0)` | | `--primary-foreground` | `lab(98.26% 0 0)` | | `--secondary` | `lab(92.692% 0 0)` | | `--secondary-foreground` | `lab(7.78201% -.0000149012 0)` | | `--muted` | `lab(94.432% -.0000298023 0)` | | `--muted-foreground` | `lab(42% 0 0)` | _…and 81 more measured on the page._ Prefer these names when extending their system — it's the brand's actual vocabulary. ## Layout (measured) - container max 1090px - nav: 72px fixed | Section (y) | Height | Cols | Gap | Pad y | Split | |---|---|---|---|---|---| | 0 | 1400 | — | — | 256/0 | — | | 1400 | 357 | — | — | 96/96 | — | | 1756 | 1475 | — | — | 96/96 | — | | 3231 | 1344 | — | — | 96/96 | — | | 4575 | 2235 | — | — | 96/96 | — | ## Motion choreography (measured) Load order: `span.bg-chart-1` @0ms → `div.flex`×4 @1ms → `button.group/button`×2 @330ms - `span.bg-chart-1` — opacity 0.75→0 · transform none→scale(2) — 1000ms cubic-bezier(0, 0, 0.2, 1) · loops - `div.flex` ×4 — transform translate(0px)→translateX(calc(-100% - 64px)) — 20000ms · loops - stagger: `div` ×3 — 120ms apart - scroll reveal: 19 elements rest at opacity 0, translateY(28px), animate in over 1000ms (5 revealed during the drive). Rebuild the timeline, not just the durations — order, delays and staggers above are the choreography. ## Responsive (measured) - breakpoints: 640px · 768px · 1024px · 1280px - mobile (390px): hero 36px · body 16px · nav: inline ## How to apply Paste the Tailwind `@theme` (or CSS variables) as your base, then build each section to its spec — verify every color, radius, and font against these tokens. Hover/focus states, shadows and motion timings above are measured from the live page — match them exactly, don't re-guess them. --- > **Decoded with Mozaika** — measured live, not guessed. Full decoded design system + one-command install: mozaika.design/decode/flux-nextjs-template.vercel.app
An automated reading of Flux Nextjs Template's publicly-visible CSS (colors, fonts, spacing, motion) — not affiliated with flux-nextjs-template.vercel.app. No screenshots stored. Removal requests: hello@mozaika.design.