-
Notifications
You must be signed in to change notification settings - Fork 82
themes
Muximux uses a CSS custom properties system for theming. You can choose from built-in themes, create your own through the Settings panel, or edit theme CSS files directly.
The active theme is stored in your config.yaml:
theme:
family: default # Theme family: default, nord, dracula, etc.
variant: system # dark, light, systemThis is the authoritative source of truth and syncs across all browsers and devices. The browser also caches the current theme in localStorage for instant application on page load (avoiding a flash of unstyled content), but the server config always takes precedence when loaded.
Muximux ships with two built-in themes:
- Dark -- Deep charcoal background with teal accents. This is the default theme.
- Light -- Clean and bright with subtle shadows for depth.
Built-in themes cannot be deleted.
Each theme supports three variant modes:
- Dark -- Always use the dark variant of the selected theme.
- Light -- Always use the light variant of the selected theme.
-
System -- Automatically follow your operating system's preference. This uses the
prefers-color-schememedia query, so switching your OS between light and dark mode will update Muximux in real time.
- Open Settings (click the gear icon or press
Ctrl+,). - Go to the Appearance tab.
- Select a theme family and a variant mode.
Changes apply instantly and are saved to config.yaml when you click Save. No restart is needed.
You can also select a theme during the onboarding wizard when setting up Muximux for the first time.
You can create fully custom themes through the Settings panel:
- Open Settings > Appearance.
- Click "New Theme".
- Use the theme editor to customize colors, backgrounds, borders, and other visual properties.
- Save the theme.
Custom themes are stored as CSS files in the data/themes/ directory. When you create a theme, Muximux generates a CSS file that overrides the default CSS custom properties (variables) with your chosen values.
Themes control the visual appearance through CSS custom properties defined on :root. The key variable groups include:
- Background colors -- Page background, surface, elevated surface
- Text colors -- Primary, secondary, muted
- Accent/brand colors -- Used for highlights, active states, and interactive elements
- Border colors and radii -- Controls the look and roundness of UI elements
- Shadow definitions -- Drop shadows for depth and layering
- Navigation-specific colors -- Background, text, and active state colors for the navigation bar
You do not need to override every variable. Any variable you omit will fall back to the base theme's default.
Themes are plain CSS files, which makes sharing straightforward:
-
Import: Copy a
.csstheme file into thedata/themes/directory. It will appear in Settings automatically on the next page load. -
Export/Share: Copy a theme file from
data/themes/and share it with others or transfer it to another Muximux installation. - Manual editing: You can open any theme CSS file in a text editor for fine-grained control over individual variables.
To delete a custom theme:
- Open Settings > Appearance.
- Find the custom theme card.
- Click the delete button on the theme card.
If the deleted theme was active, Muximux will revert to the default dark theme. Built-in themes cannot be deleted.