Customize Workspace Theme
Eidos allows you to fully customize your workspace appearance by defining custom CSS variables. Themes are managed per-space, allowing you to have different looks for different projects.
Theme Structure
Section titled “Theme Structure”A theme consists of a folder containing a theme.css file. It must define CSS variables for both light and dark modes.
Required CSS Blocks
Section titled “Required CSS Blocks”Your theme.css must follow this structure to be correctly parsed by Eidos:
:root { /* Light mode variables */ --background: hsl(0 0% 100%); --foreground: hsl(224 71.4% 4.1%); --primary: hsl(262 83% 58%); --radius: 0.5rem; /* ... other variables */}
.dark { /* Dark mode variables */ --background: hsl(224 71.4% 4.1%); --foreground: hsl(0 0% 100%); --primary: hsl(263 70% 50%); /* ... other variables */}Creating a Custom Theme
Section titled “Creating a Custom Theme”-
Open Space Storage
On Eidos Desktop, you can access your space’s root directory via your system’s file explorer.
-
Create Theme Directory
Navigate to the hidden
.eidosfolder in your space root, then to thethemesdirectory. Create a new folder with your theme’s name:~/.eidos/themes/my-custom-theme/ -
Add theme.css
Create a
theme.cssfile inside that folder and add your custom styles. You can refer to the Common Variables section for key values. -
Apply Your Theme
Open Settings (
Cmd/Ctrl + ,) → Space Settings → Appearance. Your custom theme should appear in the “Installed” or “Local” list. Click Apply Theme to see the changes.
Common Variables
Section titled “Common Variables”The following variables are the most commonly used to style the Eidos interface:
| Variable | Description |
|---|---|
--background | Main background color of the workspace |
--foreground | Main text color |
--primary | Primary action color (buttons, active states) |
--primary-foreground | Text color when placed on primary background |
--muted | Secondary background (tabs, sidebar, etc.) |
--muted-foreground | Secondary text color |
--accent | Hover and highlight background |
--border | Border color for components |
--radius | Corner roundness (e.g., 0.5rem or 0px) |
Sharing Your Theme
Section titled “Sharing Your Theme”If you’d like to share your theme with other Eidos users, you can contribute it to the Official Theme Registry.
- Create a public GitHub repository for your theme.
- Ensure
theme.cssand ascreenshot.pngare in the root directory. - Submit a Pull Request to the registry repo adding your theme’s metadata.