Skip to main content

Overview

Advanced theming techniques for power users who want to deeply customize Hux UI themes and create complex design systems. This guide covers Material 3 seed colors, custom theme extensions, brand-specific themes, and advanced token usage.
For basic theming, see the Theming guide.

Material 3 Seed Colors

Using Seed Colors

Hux UI automatically detects and respects Material 3 seed colors, enabling full Material 3 theming integration:

Custom Seed Color Integration

All Hux components automatically use the custom seed color when provided:

Custom Theme Extensions

Creating Theme Extensions

Extend Hux themes with custom properties:

Accessing Theme Extensions

Use custom theme extensions in your widgets:

Brand-Specific Themes

Creating Brand Themes

Create complete brand-specific theme configurations:

Multi-Brand Support

Support multiple brands in a single app:

Advanced Token Usage

Custom Token Functions

Create helper functions for complex token combinations:

Dynamic Token Calculation

Calculate tokens based on runtime values:

Theme Inheritance

Extending Base Themes

Create theme variations by extending base themes:

Conditional Theme Properties

Apply theme properties conditionally:

Advanced Color Schemes

Custom Color Palettes

Define complete custom color palettes:

Best Practices

Use Material 3 seed colors for automatic color generation:
Use theme extensions for brand-specific colors:
Always use HuxTokens for semantic colors:
Always test custom themes in both light and dark modes:

Examples

Basic Theming

Start with basic theming concepts

Customization

Learn component customization techniques

Theme Switching

See dynamic theme switching in action

Figma Library

Explore the complete design system