DesignSeptember 18, 2026•11 MIN READ

Quiet Luxury in Code: Sharing a Tokenized Design System Across Flutter & Next.js

How we mirrored Veloura’s warm cream, espresso, and rose-gold palette between a Flutter Material 3 app and a dark-mode Next.js portfolio without leaking styles or failing WCAG AA contrast.

Ehsan Taghavi
Ehsan Taghavi
@EhsanTgv
Case Study: Velouraarrow_outward
bolt

Key Engineering Takeaways

  • 01.A single semantic token vocabulary (`cream`, `espresso`, `taupe`, `rose`, `gold-ink`) keeps the Flutter `ColorScheme` and Next.js Tailwind CSS `@theme` in 1:1 parity.
  • 02.Accent gold (`#C9A96E`) only hits 2.1:1 contrast on warm cream, so we introduced a darkened `gold-ink` (`#8A6B33`) token specifically for small eyebrow typography while keeping metallic gold for hairline rules and icons.
  • 03.Scoping light-theme islands (`.veloura`, `.feeljournal`, `.parcella`) inside a dark portfolio lets each product speak in its own brand voice without CSS collisions.

Why Skincare Apps Shouldn’t Look Like Fitness Trackers

Most habit and routine apps borrow the visual language of workout trackers: neon progress rings, high-contrast dark surfaces, and aggressive streak warnings. For Veloura—a daily skincare and self-care companion—that aesthetic felt completely wrong. A routine at 10:30 PM should feel like stepping into a quiet spa, not checking a server monitoring dashboard.

We built Veloura around a warm, tactile palette: a soft cream canvas (`#FFF8F5`), deep espresso ink (`#3D2B1F`), muted dusty rose (`#E8B4B8`) for primary actions, and warm gold (`#C9A96E`) used strictly as a seasoning—hairline dividers, tiny milestone icons, and the Diamond tier badge.

Bridging Flutter `ColorScheme` and Tailwind v4 `@theme`

When it came time to build Veloura’s dedicated web landing page inside this Next.js portfolio—which uses a dark "Neon Architect" theme (`#0E0E0E` background, `#81ECFF` cyan accents)—fighting the global dark tokens would have been a maintenance nightmare.

Instead, we mirrored the Flutter app’s exact color tokens in `app/globals.css` under a scoped `--color-vl-*` namespace and wrapped the route in a `.veloura` root class. Every component in `components/veloura/` consumes semantic classes like `bg-vl-cream`, `text-vl-espresso`, and `border-vl-divider`—not a single component file contains a hardcoded hex string.

app/globals.csscss
@theme {
  /* Mirrored 1:1 from Veloura's Flutter theme */
  --color-vl-cream: #fff8f5;
  --color-vl-blush: #fff3ee;
  --color-vl-rose: #e8b4b8;
  --color-vl-gold: #c9a96e;
  --color-vl-gold-ink: #8a6b33; /* 4.7:1 AA contrast on cream */
  --color-vl-espresso: #3d2b1f;
  --color-vl-taupe: #6f5a44;    /* Darkened from #8B7355 for body copy AA */
  --color-vl-plum: #18121a;     /* Dark Diamond tier & footer band */
}
ACCESSIBILITY DETAIL

Luxury palettes love low-contrast champagne and taupe tones, which often fail WCAG AA on light backgrounds. Splitting `--color-vl-gold` (decorative borders/icons) from `--color-vl-gold-ink` (text labels) preserved the aesthetic while passing 4.5:1 contrast checks.

Engineering the Pearl → Sapphire → Diamond Ladder

Rather than nagging users with "Don’t break your chain!" alerts, Veloura models consistency as a three-stone jewellery ladder: Pearl (days 1–7), Sapphire (days 8–29), and Diamond (day 30+), paired with eleven quiet milestones.

Both the Flutter app and the interactive CSS phone mockups on the web render the exact same tier state machine. By expressing each tier’s surface tint, border luminance, and typography in shared design tokens, the web preview feels indistinguishable from the native build running on physical hardware.

Featured Product in This Article

Veloura

A luxury self-care companion with personalized morning/evening rituals and a Pearl-to-Diamond streak ladder.

Explore Velouraarrow_forward

Want to build something like this?

Let's talk about mobile architecture, Flutter, or native Android/iOS engineering.

mail