Skip to content

Pogodaanton/cobalt2-intellij

Repository files navigation

Cobalt2 Theme (Reshaded) for IntelliJ

Build Version Downloads

An unofficial faithful re-implementation of Cobalt2 for JetBrains IDEs; forked from Dennis Koch's version

Key features:

  • 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

Contribution and Support

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:

  1. Go to: Settings -> Editor -> Color Scheme -> [Your desired language]
  2. Adapt the color scheme to your liking; The recommended color palette might help you
  3. Open the menu Show Scheme Actions by pressing the cog symbol next to the Scheme dropdown menu
  4. Choose Export -> (.icls) and save the file
  5. 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)
  6. Send a pull-request to the git repository

Color Palette and Consistency

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

Installation

  • 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...

Credits


Plugin based on the IntelliJ Platform Plugin Template.

Template ToDo list