Repository navigation
Custom CSS
Updainium supports two kinds of CSS customization: complete themes, and a single styles.css file for quick changes. This page covers the color variables used by both, and how styles.css is loaded.
styles.css is an optional file in Updainium's configuration folder. Updainium loads it when the app starts and applies its rules after the active theme, so rules in styles.css win when they conflict with a theme.
To create or edit it, open the Command Palette and run Open styles.css. If the file does not exist yet, Updainium creates it and opens it in your default text editor.
body {
font-family: monospace;
}
.snackbar {
border-radius: 4px;
}Use styles.css for small adjustments, such as fonts or corner radius. Use a theme when you want to change the whole color scheme.
Colors come from nine variables. Set them on :root in a theme or in styles.css:
| Variable | Used for |
|---|---|
--up-bg |
Main background of the window |
--up-surface |
Cards, panels, and lists |
--up-surface-raised |
Raised elements such as hover cards and dialogs |
--up-surface-muted |
Muted surfaces, chips, and sub-elements |
--up-text |
Primary text |
--up-muted |
Secondary text |
--up-subtle |
Subtle text, icons, and placeholders |
--up-border |
Borders and dividers |
--up-accent |
Buttons, links, and highlights |
For example, this sets the accent color:
:root {
--up-accent: #bd93f9;
}Updainium also maps older variable names, such as --page, --surface, --text, and --accent, onto these --up-* variables. This keeps the interface consistent when a theme changes them.
The theme layer also styles common interface elements directly, including .app-shell, .topbar, .system-card, and .primary-button, so theme colors reach these elements without extra rules. Overrides for other selectors depend on the current interface markup.
When you run Updainium with npm run tauri dev, it can also read styles.css and themes from the project root. Release builds read them from the configuration folder only.
Home · Discussions · Report a Bug · Contribute
Found something missing or outdated? Help improve this manual. Every contribution makes Updainium easier to use.
Made with ❤️ by the Updainium community.
Getting Started
User Guide
- Application Library
- Adding Applications
- Managing Applications
- Release Information
- Downloads and Verification
- Backups and Restore
- Settings and Preferences
Customization
Platform Guides
Developer Documentation
- Architecture Overview
- Supported Providers
- Plugin Development
- Configuration Reference
- Deep Links
- Security Model
- Contributing
Reference and Support