Sonna
  • Home
  • Features
  • Blog
  • Changelog
  • Pricing
  • FAQ
  • Contact
DashboardSign InGet Started
DesignEngineeringMay 1, 2026

6 minute read

Theme Customizer Deep Dive

How Sonna's theme system works under the hood.

Sonna uses a CSS variable-based theme system powered by Tailwind v4 and oklch color space. Here's how it all fits together.

CSS variables

Every color in the UI is a CSS variable — --primary, --background, --border, etc. The Customizer panel updates these variables in real time.

oklch color format

Unlike HSL, oklch provides perceptually uniform lightness, meaning colors stay visually consistent across different hues when you change themes.

Theme persistence

Selected theme is stored in localStorage and applied on page load before the first paint, preventing flash of unstyled content.

More articles

ProductDeveloper

Introducing Sonna Console — Your Developer Portal

May 22, 2026
TutorialAI

Getting Started with Text to Speech on Sonna Creative

May 15, 2026
ProductDesign

One Login, Three Products — How Sonna Workspace Works

May 8, 2026

Stay updated

Get the latest updates, articles, and resources sent to your inbox weekly.

Sonna

A beautiful and comprehensive admin control panel built with React, Next.js, TypeScript, and shadcn/ui. Perfect for managing Sonna operations.

Product

  • Features
  • Pricing
  • Changelog
  • API
  • Documentation

Company

  • About
  • Blog
  • Careers
  • Press

Resources

  • Help Center
  • Community
  • Guides
  • Webinars

Legal

  • Privacy
  • Terms
  • Security
  • Status
Made withbySonna Team
•© 2026 Sonna. All rights reserved.
Privacy PolicyTerms of ServiceCookie Policy