Writrospect Design System

A soft, neomorphic design language built for calm and focus

Color Palette

Background

--background

Foreground

--foreground

Shadow Light

--shadow-light

Shadow Dark

--shadow-dark

Accent

--accent

Accent Soft

--accent-soft

Accent Primary

--accent-primary

Accent Border

--accent-border

Typography

Heading Font: Comfortaa

Heading 1

Heading 2

Heading 3

Heading 4

Body Font: Nunito

Large body text for emphasis and introductions.

Regular body text for general content and paragraphs.

Small text for secondary information and captions.

Extra small text for metadata and timestamps.

Neomorphic Shadow System

Subtle

--neu-shadow-subtle

Default

--neu-shadow

Large

--neu-shadow-lg

Inset Small

--neu-shadow-inset-sm

Inset

--neu-shadow-inset

Small

--neu-shadow-sm

Spacing & Alignment

Use one text alignment line for headings, descriptions, labels and the text inside controls. Soft surfaces extend around that line.

Settings

A little room to settle in before the next section.

About You

This description follows the same line as the title and fields.

Helper text follows the same alignment.

Page and sections

Leave 48 px below a page heading on desktop and 32 px on mobile. Keep 32 px between the section menu and the focal area.

layout-page-gap · layout-column-gap

Fields and copy

Use an 18 px text inset, 8 px from a label to its control, and 24 px between field groups. Match descriptions and helper text to the writing line.

layout-reading-rail · layout-form-stack

Reuse the templates

PageHeader, Modal and form cards use the same text line. List rows keep titles and descriptions together; nested goals keep their hierarchy. Input, Select and Textarea include the shared field alignment. Checkbox rows keep copy on the 18 px reading line, with the control on the right, a 16 px gap and 6 px between title and description. Keep decorative icons after the heading so they do not shift the text.

layout-page-header · layout-modal-heading · layout-list-row

Button Hierarchy & Gradients

Use soft surface for secondary actions and filled buttons for primary actions. The first example shows the default pairing; the other treatments are here for comparison.

Default pairing

Filled for primary actions. Soft surface for secondary actions.

Soft surface

The default secondary treatment, shown on both example buttons.

Soft tint

An alternative with a little more palette color, kept here for reference.

Try hover, press and keyboard focus to compare the treatments.

Checkbox Rows

Segmented Pills

One soft surface for related choices. Select any combination of days; each segment toggles independently.

Use a single gradient and shadow around the group, gentle separators, and filled selected segments. Arrow keys move focus; Space or Enter toggles a segment.

Availability Calendars

Keep minutes and weekly frequency on one line. Place an OR divider before the secondary builder button. Use a focused modal with a scrollable week, continuous filled windows, and visible save controls.

Buttons

Variants

Sizes

With Icons

States

Cards

Raised Card

Default neomorphic card with soft shadows

Cards float above the background with dual-tone shadows creating depth.

Pressed Card

Inset shadow for a recessed appearance

Pressed cards sink into the background using inset shadows.

Accent Card

With accent border highlight

Accent cards feature a subtle left border that draws attention.

Form Elements

We'll never share your email

Supports markdown formatting

Badges

DefaultSecondarySuccessWarningDangerInfo

Loading States

Small

Medium

Large

Tooltips

Modal

Page Header

Example Page

List Items

Used for tasks, commitments, goals, and other list-based content

Complete project review

Due tomorrow

Pending

Weekly team meeting

Completed yesterday

Done

Review documentation

No deadline

Skeleton Loading

Basic Skeletons

Building blocks for loading states

Text lines

Single element

Skeleton Card

Pre-composed card placeholder

Toast Notifications

Toasts provide feedback for user actions with auto-dismiss and optional actions

Animations

Interactive Feedback

Framer Motion spring physics combined with neomorphic shadow transitions

Button Component

Combines scale animation with shadow transitions

<Button />

Card Component

Subtle 1.01x scale on hover

Hover me

<Card hover />

How it works:

  • Hover: Element scales up slightly (1.02x) with spring physics, shadow intensifies
  • Press: Element scales down (0.98x), shadow inverts from raised to inset
  • Release: Springs back to hover state with natural bounce

Stagger Animation

List items animate in sequence

First item
Second item
Third item
Fourth item

Enter/Exit Animation

Smooth mount and unmount transitions

Animated element

Theme Picker

Theme contrast checks · light mode

Image colors are adjusted for readable text before the theme is applied. Saved themes are checked again when loaded.

Body text
5.81:1 · Pass
Secondary text
4.56:1 · Pass
Labels
4.56:1 · Pass
Links and accents
4.58:1 · Pass
Text on accent fills
4.82:1 · Pass
Control outlines
3.03:1 · Pass

Lowest ratio across checked solid surfaces: 4.5:1 for text, 3:1 for control outlines. Photos, transparency, gradients, and final text size need separate checks.

Custom Banner

Upload your own image

Writrospect Design System