An unofficial faithful re-implementation of Cobalt2 for JetBrains IDEs; forked from Dennis Koch's version
- IDE theming using the color palette from Wes Bos' original theme Cobalt2
- Accompanying color scheme with extended support for many languages out-of-the-box
- Adapted token colors to better accommodate languages outside of HTML/CSS/JS
This plugin is authored by personal needs, hence feature support from the theme author is only provided for select issues. You are encouraged to adapt the color scheme for missing programming languages or legibility issues yourself and to share your changes with the repository. Below are steps how to do that:
- Go to:
Settings -> Editor -> Color Scheme -> [Your desired language]
- Adapt the color scheme to your liking; The recommended color palette might help you
- Open the menu
Show Scheme Actions
by pressing the cog symbol next to theScheme
dropdown menu - Choose
Export -> (.icls)
and save the file - Rename the file, such that its extension changes from
.icls
to.xml
(e.g.Cobalt2.icls -> Cobalt2.xml
) (it's easiest to do the renaming in a JetBrains IDE) - Send a pull-request to the git repository
When designing new color schemes, this theme strives to stay close to the original material, that is Wes Bos' VSCode theme. You may deviate from the token color rules if they harm legibility (e.g. using white foreground instead of light-blue because latter would visually clash with other colors 80% of the time), however, stay to the basic token colors and keep it simple (read: don't unnecessarily introduce new colors). You may play around with italics and bold settings per token.
All available token colors can be found at Settings -> Editor -> Color Scheme -> General/Language Defaults
. Here are some of the most imporant ones:
Off-White (Default) | #E1EFFF |
(If in doubt, pick this) |
Bronze (Keywords) | #FF9D00 |
|
Gold (Function) | #FFC600 |
(Primary contrast color) |
Magenta (Interface) | #FF68B8 |
|
Pink (Constant/Literal) | #FF628C |
|
Light-Blue (Labels) | #9EFFFF |
|
Light-Green (String) | #A5FF90 |
|
Mint-Green (Misc. Identifier) | #7cfcba |
|
Dark-Green (Misc. Identifier) | #34c80f |
-
Using the IDE built-in plugin system:
Settings/Preferences > Plugins > Marketplace > Search for "Cobalt2" > Install
-
Using JetBrains Marketplace:
Go to JetBrains Marketplace and install it by clicking the Install to ... button in case your IDE is running.
You can also download the latest release from JetBrains Marketplace and install it manually using Settings/Preferences > Plugins > ⚙️ > Install plugin from disk...
-
Manually:
Download the latest release and install it manually using Settings/Preferences > Plugins > ⚙️ > Install plugin from disk...
- Colors inspired from Wes Bos' Cobalt2 theme: https://github.com/wesbos/cobalt2-vscode
- Forked from Dennis Koch's IntelliJ theme: https://github.com/pxlrbt/cobalt2-jetbrains
Plugin based on the IntelliJ Platform Plugin Template.
- Create a new IntelliJ Platform Plugin Template project.
- Get familiar with the template documentation.
- Adjust the pluginGroup and pluginName, as well as the id and sources package.
- Adjust the plugin description in
README
(see Tips) - Review the Legal Agreements.
- Publish a plugin manually for the first time.
- Set the
MARKETPLACE_ID
in the above README badges. You can obtain it once the plugin is published to JetBrains Marketplace. - Set the Plugin Signing related secrets.
- Set the Deployment Token.
- Click the Watch button on the top of the IntelliJ Platform Plugin Template to be notified about releases containing new features and fixes.