themerdev / themer

🎨 themer takes a set of colors and generates themes for your apps (editors, terminals, wallpapers, and more).
https://themer.dev
MIT License
5.52k stars 118 forks source link

Support for Jetbrains IDEs #157

Open schmkr opened 1 year ago

schmkr commented 1 year ago

New theme template request

If you are requesting theme support for a new tool or program, use this section. Otherwise, delete it and continue with "Other feature request" below. See also CONTRIBUTING.md for more information. ✅

Website

Here is a blogpost where (the then new) theming is explained: https://blog.jetbrains.com/platform/2021/10/themes-in-intellij-based-ides/

Example theme file

(taken from above blogpost):

{
 "name": "My Theme",
 "dark": true,
 "author": "JetBrains",
 "editorScheme": "/themes/my.xml",
 "colors": {
   "colorPrimary": "#3b3531",
   "colorSecondary": "#342e2b"
 },
 "ui": {
   "*": {
     "background": "colorPrimary",
     "separatorColor": "colorPrimary",
     "borderColor": "colorSecondary"
   }
 },

 "background": {
   "image": "/background.png",
   "transparency": 50,
   "fill": "plain",
   "anchor": "bottom_right"
 }
<scheme name="My Theme" version="1" parent_scheme="Darcula">
   <colors>
       <option name="CARET_ROW_COLOR" value="372513" />
       <option name="GUTTER_BACKGROUND" value="372513" />
   </colors>
   <attributes>
       <option name="TEXT">
           <value>
               <option name="FOREGROUND" value="C67E48" />
               <option name="BACKGROUND" value="291918" />
               <option name="EFFECT_TYPE" value="5" />
           </value>
       </option>
   </attributes>
</scheme>

Additional theme information

There is already https://github.com/tamzinselvi/themer-jetbrains that is a template for Jetbrains IDEs (also mentioned in #22) but at some point Jetbrains has changed the theming from the .icls files to this more complex setup that allows for styling both the UI as well as the colors for editor. In addition, that themer-jetbrains repo does not seem to be compatible with the current version of themer.