Themes
Opcodex has 15 built-in themes. Each one colors the interface, the code views and the terminal. The website’s light and dark toggle changes only this website.
Built-in themes
Section titled “Built-in themes”Choose a theme on the welcome screen, or under Settings → Theme.
| Group | Themes |
|---|---|
| Opcodex | Opcodex Graphite (dark, the default) and Opcodex Paper (light) |
| Community | GitHub Dark Dimmed, GitHub Light, VS Code Dark Modern, Dracula, Nord, One Dark, Monokai, Solarized Dark, Solarized Light, Catppuccin Mocha, Tokyo Night, Gruvbox Dark, Geist Dark |
The Community themes use the published colors of those palettes, credited on each card.
Make your own
Section titled “Make your own”- In Settings → Theme, select New theme. The editor starts from your current theme.
- Name it and choose Light or Dark.
- Pick the Interface colors: Background, Panels, Lines, Text, Accent and Warnings.
- Pick the Code colors: Keywords, Types, Functions, Variables, Strings, Numbers, Comments and Symbols.
- Select Save theme.
Your themes appear under Yours, with buttons to edit or delete them. Themes from enabled plugins appear under From plugins.
Share a theme
Section titled “Share a theme”- Export saves the current theme as a
.opcodex-theme.jsonfile. - Import adds a theme file. Opcodex accepts only hex colors such as
#1e1e2eand rejects files that are not Opcodex themes.
A theme file looks like this:
{ "format": "opcodex-theme/1", "name": "My theme", "author": "You", "kind": "dark", "colors": { "background": "#111214", "surface": "#16171a", "border": "#2a2b30", "text": "#ececee", "accent": "#5b8def", "success": "#6fbf8e", "warning": "#d9b26a", "danger": "#e07a7a" }, "code": { "keyword": "#c09ad8", "type": "#8fc3b8", "function": "#8fb3e8", "variable": "#d9d9de", "string": "#a8c79a", "number": "#d9a386", "comment": "#6b6b74", "operator": "#a1a1aa" }}Continue with Settings & shortcuts.