Skip to content

@freshgemui/monoplinth · 12 neutral steps · 4 brand themes · 20 components

Monoplinth

Monoplinth is a numbers-driven React design system by FreshGemUI. An Obsidian to Alabaster 12-step monochrome base carries 90% of the interface, with one brand hue on top.

Obsidian to Alabaster plinth

Active mode: dark · scale: obsidian (hue 220°)

Twelve neutral steps progress from app backgrounds at step 1 to primary text at step 12. Toggle dark or light mode in the top bar to repaint every step and update its HSL readout.

  1. Step 1--obsidian-1

    hsl(220, 6%, 5%)

    App background

  2. Step 2--obsidian-2

    hsl(220, 6%, 8%)

    Subtle background

  3. Step 3--obsidian-3

    hsl(220, 5%, 12%)

    Component background (default)

  4. Step 4--obsidian-4

    hsl(220, 5%, 16%)

    Component background (hover)

  5. Step 5--obsidian-5

    hsl(220, 5%, 20%)

    Component background (pressed)

  6. Step 6--obsidian-6

    hsl(220, 5%, 25%)

    Subtle border

  7. Step 7--obsidian-7

    hsl(220, 5%, 33%)

    Default border

  8. Step 8--obsidian-8

    hsl(220, 5%, 46%)

    Strong border / focus

  9. Step 9--obsidian-9

    hsl(220, 6%, 90%)

    Solid fill (default)

  10. Step 10--obsidian-10

    hsl(220, 6%, 96%)

    Solid fill (hover)

  11. Step 11--obsidian-11

    hsl(220, 5%, 68%)

    Secondary text

  12. Step 12--obsidian-12

    hsl(220, 6%, 95%)

    Primary text

60-30-10 proportion

Monochrome steps 1 through 8 carry 90% of every screen. The active brand theme supplies the remaining 10% for primary actions and focus indicators.

60%
30%
10%

60% neutral base

hsl(220, 6%, 5%)

--background (--obsidian-1), --muted (--obsidian-2)

Steps 1 and 2 carry app and subtle backgrounds across the viewport.

30% structural surfaces

hsl(220, 5%, 12%)

--card (--obsidian-3) to --input (--obsidian-8)

Steps 3 through 8 frame cards, popovers, controls, and hairlines.

10% brand accent

hsl(220, 6%, 90%)

--primary (--obsidian-9), --primary-hover (--obsidian-10)

Steps 9 and 10 from Obsidian (220°) highlight primary actions, active markers, and focus rings.

Closed numeric scales

Every dimension and duration comes from a typed scale in tokens/scales.ts. Tailwind CSS arbitrary values outside these steps are disabled at build time.

  1. 01Spacing12 steps
  2. 02Type10 steps
  3. 03Radius7 steps
  4. 04Motion5 durations

Spacing (12 steps)

01

Steps 4px through 48px space components; steps 64px through 128px pace sections.

TokenpxremBand
--space-14px0.25remComponent
--space-28px0.5remComponent
--space-312px0.75remComponent
--space-416px1remComponent
--space-624px1.5remComponent
--space-832px2remComponent
--space-1040px2.5remComponent
--space-1248px3remComponent
--space-1664px4remSection
--space-2080px5remSection
--space-2496px6remSection
--space-32128px8remSection

Typography (10 steps)

02

UI steps climb by √φ from 16px, while homepage headlines step by full φ (88px → 52px → 32px).

TokenSize (320px → 1920px)Line height
--text-caption12px16px
--text-body16px24px
--text-body-lg20px28px
--text-h620px28px
--text-h520px → 24px28px → 32px
--text-h424px → 32px32px → 40px
--text-h332px → 40px40px → 48px
--text-h232px → 52px40px → 60px
--text-h140px → 68px48px → 76px
--text-display52px → 88px60px → 96px

Radius (7 steps)

03

Radii pair with control heights and surface containers. Nested shapes follow outer radius = inner radius + padding.

TokenValueUse
--radius-none0px (0rem)Architectural edges, tables
--radius-xs2px (0.125rem)Badges, tags
--radius-sm4px (0.25rem)24px to 32px controls
--radius-md8px (0.5rem)40px to 48px controls, inputs
--radius-lg16px (1rem)Cards
--radius-xl24px (1.5rem)Sheets, dialogs
--radius-full9999px (624.9375rem)Pills, avatars

Motion (5 durations)

04

Durations step by φ from 100ms to 686ms with three cubic-bezier curves (standard cubic-bezier(0.2, 0, 0, 1), enter cubic-bezier(0, 0, 0.2, 1), exit cubic-bezier(0.4, 0, 1, 1)).

TokenDurationRole
--duration-100100msInstant micro-feedback and hero stage 1 delay
--duration-162162msDefault color and state transitions; hero stage 2 delay
--duration-262262msAccordion panels, popovers, and hero stage 3 delay
--duration-424424msDialogs, sheets, tooltip delay, and hero entrance
--duration-686686msScroll-driven section reveals and hero plinth entrance

20 live component specimens

Every v1 component renders below from @freshgemui/monoplinth using semantic tokens and WCAG 2.2 AA target sizes. Follow any path link to inspect its props, states, and rationale.

Five semantic variants across four control heights (24px to 48px).

Single-line text control with 1px --input border and 2px focus ring.

Multi-line text field locked to 16px body text to prevent iOS zoom.

Associates label, description, and error messages with form controls.

Applied to CSS variables.

Radix Select popup aligned to trigger width with keyboard navigation.

Checked, unchecked, and indeterminate states with >= 24px row height.

Single-choice group with roving focus and step-shifted indicators.

Color mode

Binary toggle track that disables thumb translation on reduced motion.

30% band surface (--card) with radius-lg (16px) and 4 elevation tiers.

Surface step 3

1px border in dark mode; shadow in light mode.

--card-radius: 1rem (16px)

Compact status and category tags using radius-xs (2px) and tabular numerals.

NeutralBrand344 passed

Callout banner pairing functional feedback colors with required icons and text.

Contrast verified
160 primitive and 344 semantic pairs pass.

1px structural hairline divider in horizontal or vertical orientation.

60%
30%
10%

Tabbed panels marked by a 4px architectural active rule (--border-width-4).

4px · 8px · 12px · 16px · 24px · 32px

Collapsible disclosure panels with 262ms height transitions.

Centered modal window at z-modal (40) with focus trap and radius-xl (24px).

Edge-anchored drawer panel supporting top, right, bottom, and left sides.

Non-modal floating surface at z-dropdown (20) with 8px side offset.

Keyboard and pointer hint that opens after 424ms and dismisses on Escape.

Action menu supporting items, checkboxes, radio groups, and keyboard shortcuts.

Non-blocking notification queue at z-toast (50) reachable via F8.

    Install

    Install the package from npm, import the Tailwind CSS v4 token bridge in your root stylesheet, and import components or typed token scales from the package root.

    1. Package

    npm i @freshgemui/monoplinth

    2. Stylesheet

    @import "tailwindcss";
    @import "@freshgemui/monoplinth/tokens/theme.css";
    @source "../node_modules/@freshgemui/monoplinth/dist";