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

FluxUI Design Lab

PLATE 01 · Case Study Specification
Creator & Systems / UI Engineer

Interactive design-engineering studio built on Laravel 13 and Livewire 4 that lets developers customize Flux UI tokens, synthesize 11-step neutral ramps and contrast-safe dark schemes via OKLCH math, import daisyUI themes, and export production Tailwind v4 CSS.

Zero DB
Stateless URL & LocalStorage
OKLCH
Perceptual Color & Auto-Dark
Level 7
PHPStan Static Analysis
FluxUI Design Lab
fluxui-design-lab.jarc-developer.com ZERO-DB OKLCH ENGINE · TAILWIND V4 · PHPSTAN L7

01 // Problem Space & Architecture & 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.

Problem Space

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.

Architecture & Delivery

02 // Architecture & Engineering Highlights

Technical Deep Dive

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.

03A // 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

03B // 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

All Projects
PLATE 02 · Sports & Competition Platform lazonabasketball.com
La Zona Basketball

La Zona Basketball

Modular basketball competition & community ecosystem with leagues, brackets, court discovery, JSON-LD REST APIs, and MCP servers.

PLATE 03 · EdTech & AI Coaching Platform speakenglishcoaching.com
Speak English Coaching

Speak English Coaching

CEFR/Cambridge-aligned language coaching platform with multi-step interactive lessons, speaking/listening games, and AI voice synthesis.