JR jarc-developer.com
Toggle sidebar
Download CV (EN)
Back to Projects
PLATE 01 Open-Source Design Token Studio

FluxUI Design Lab

Creator & Systems / UI Engineer

Zero-database open-source theme generator, OKLCH color engine, and @theme CSS compiler for Flux UI and Tailwind CSS v4.

Zero DB
Stateless URL & LocalStorage
OKLCH
Perceptual Color & Auto-Dark
Level 7
PHPStan Static Analysis
Visit Live Site

01 // Problem & Delivery

The Challenge

Crafting cohesive custom themes for Flux UI and Tailwind CSS v4 requires balancing accent tokens, 11 neutral zinc steps (50–950), corner radii, and accessible dark-mode contrast without forcing users to create accounts or store state in a database.

What We Built

Built a stateless, zero-database theme studio powered by a pure-PHP OKLCH perceptual color engine, automatic contrast-checked dark-mode synthesis, compressed ?theme=... shareable URLs, private browser localStorage bookmarks, live multi-tab component previews, and an Artisan theme:export CLI.

02 // Architecture & Engineering Highlights

Pure-PHP OKLCH Perceptual Color Engine

ARCH-01

Custom Color, Palette, DarkScheme, and ThemeScheme domain classes calibrated to Tailwind CSS v4 lightness curves for one-click neutral ramp tinting and contrast-verified dark inversion.

Zero-Database Stateless URL Codec

ARCH-02

Compact ThemeCodec serialization encoding complete token states into shareable ?theme=... query parameters paired with private browser localStorage bookmarks.

daisyUI Interoperability & CSS Compiler

ARCH-03

DaisyThemeMapper translates external palettes cleanly into Flux UI tokens with explicit drop reporting, while ThemeCompiler outputs ready-to-paste @theme CSS blocks.

Strict Engineering Quality & CLI Tooling

ARCH-04

Engineered on Laravel 13 and Livewire 4 with PHPStan Level 7 static analysis, PHPUnit 12 test coverage, Pint formatting, and a php artisan theme:export command.

03 // Technical Specification

Technology Stack

PHP 8.4 Laravel 13 Livewire 4 Flux UI Pro 2.20 Tailwind CSS 4 OKLCH Color Math PHPStan Level 7 PHPUnit 12 Vite 8

Key Modules & Capabilities

ThemeTokens OKLCH Color & Palette DarkScheme Synthesis DaisyThemeMapper ThemeCodec (?theme=...) ThemeCompiler (@theme CSS) Artisan theme:export Live Multi-Tab Preview

04 // Explore Other Projects