Skip to content

igrmk/helsing

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

85 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

 Helsing

Downloads

This is a dark color theme for JetBrains products for working under the sunlight. It is designed to be visible even in enormously bright environment.

Installation

Open Settings of your IDE and install the plugin from Plugins dialog. Or install it from here https://plugins.jetbrains.com/plugin/12553-helsing.

Tips for Working on Plain Air

  1. Wear dark. Your screen will reflect your bright clothes. Even a matte display won't help if the sun will be shining on your white T-shirt.
  2. Try to find a shadow. But try to not use trees. A lot of trees produce tiny drops of a resin. They are hard to clean from your screen.
  3. Set the brightness level to the maximum.
  4. Have a cleaning cloth with you. A dust is very distracting in the sun.
  5. Try garlic theme for GNOME Terminal and kitty. Also try hull theme for Vim.

Build

The page at https://plugins.jetbrains.com/docs/intellij/setting-up-theme-environment.html describes how to set up an environment for theme development. Here are some additional details to address potential questions:

  1. When adding the JDK as described in the page above, use JetBrains Runtime 17.
  2. As a JetBrains Toolbox user on macOS, my correct path to the IntelliJ Platform Plugin SDK is /Users/igrmk/Applications/IntelliJ IDEA Community Edition.app/Contents. The SDK should be added to the project, not the module. You can do this via File > Project Structure > Project Settings > Project > SDK. The module SDK is set to the Project SDK by default and should remain unchanged.

To build the plugin, select Build > Prepare Plugin Module 'Helsing' For Deployment. After doing so, locate the Helsing.jar file in the project directory. This is the file to publish.

Some Helpful Development Tips

Use UI Inspector

The UI Inspector displays extensive information for UI elements, similar to the Elements panel in Google Chrome Developer Tools. To enable it, follow these steps:

  1. Enable internal mode: https://plugins.jetbrains.com/docs/intellij/enabling-internal.html

  2. Use the shortcut from here: https://plugins.jetbrains.com/docs/intellij/internal-ui-inspector.html

Useful Tables

Here are the possible values for the FONT_TYPE attribute:

Value Interpretation
0 Normal
1 Bold
2 Italics
3 Bold italics

Here are the possible values for the EFFECT_TYPE attribute:

Value Interpretation
0 No effects
1 Underscored
2 Underwaved
3 Strikeout
4 Bold underscored
5 Dotted line

JSON Schema for Themes

You can find an up-to-date description of theme attributes at this link: metadata. The available keys are likely merged from all files in this directory. Actually, the parent directory has many helpful examples as well. Clone the repository and use those files as practical guidance.

Thanks To

JetBrains

About

Color theme for JetBrains IDEs for working under the sunlight

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages