SYSTEM_UI

Surface Interaction

This DIALOG references surface1.

The BACKGROUND references
--overlay-main
--glass-blur.

These are controlled via the Overlay & Blur settings in the sidebar.

BRAND_LOGO

Surface 2

Surface 1 - Everything you see here is mapped to CSS variables.

INFO
CONFIRM
SUCCESS
WARN
DANGER
Status Text
--text-main
   
--text-muted
   
--text-highlight
   
--text-on-accent

--fontsize-tiny
--fontsize-small
--fontsize-main
--fontsize-large
--bg-header --bg-header
Hover over me! click me!
--bg-table-hover--bg-table-hover


THEEMA - by TurnerWorks
Close
Surfaces
Defaults
#
#
#
#
#
#
Brand & Accents
Defaults
#
#
#
#
#
#
Borders
Defaults
#
#
Overlay & Blur
Defaults
#
Status Colors
Defaults
#
#
#
#
#
#
#
#
#
#
Typography
Defaults
#
#
#
#
#
Shadow Config
Defaults
#
Size & Spacing
Defaults
🎨

Color Settings

Opacity 100%
Hex Color
RGBA String (Paste or Edit)
90°


CSS String:

🚀 Export Theme

Instructions:

Export your theme for use in any project. Copy the CSS and JavaScript to integrate your styles. These examples show how to map your UI elements to the variables and build a working theme switcher.

1. Root Variables (CSS)

Copy the CSS Root variables, and paste at the top of your CSS file in your project (includes light and dark)


2. Example Usage (CSS Style)

Reference the CSS root variables in your styles, for example on body tag:


3. Toggle Button (HTML)

Add a button somewhere in your project that listens for the light/dark switch - or copy this example:


4. Logic (JavaScript)

Paste this javascript in your project to listen for the light/dark switch and apply the appropriate theme!

💡

Help & Documentation

Advanced CSS Theme Generator

This tool lets you design a pair of themes (light/dark or any two sets) controlled by CSS Root Variables. Instead of hard-coding colors, you define Tokens that automatically adapt when switching themes using javascript.

Then export the code to use in other projects.


How to Use
  • Design: Use the sidebar to adjust colors, gradients, and typography.
    You can also click elements in the preview website to jump to the corresponding controls.

  • Preview: The preview website updates in real-time to show how components look.

  • Export: Use the "Export" button to get a full CSS variable set and the JS logic.

  • Demo: Download a ThemeDemo.html to see a standalone working example.
Integration Logic

The exported code looks for a data-theme attribute on your <html> tag. The provided JavaScript handles the toggle and saves the user's choice to LocalStorage so the theme persists on page refresh.

💡

Reset Theme?

This will restore factory defaults.
This action cannot be undone.