one-dark / jetbrains-one-dark-theme

One Dark theme for JetBrains.
https://plugins.jetbrains.com/plugin/11938-one-dark-theme
ISC License
588 stars 65 forks source link

The currently open file is not recognizable in the project tree or in the open tabs #339

Open andrew-sol opened 5 months ago

andrew-sol commented 5 months ago

Look at the screenshots and try to find the currently open file in the project tree visually (the focus is on the editor pane). It's barely possible because it's grey on grey. The same applies to the open tabs. And those colors are not configurable.

I have the "Always select opened file" setting enabled to be able to find the sibling files to the current one quickly and I always get stuck with this theme.

Please make the colors configurable (maybe via a project file like .onedark) or make those colors more vivid. What I want to achieve is to find the current file in the project tree within 0.5s or faster.

Environment

Screenshots

Screenshot 2024-05-22 at 10 51 51

Screenshot 2024-01-18 at 11 20 42

andrew-sol commented 5 months ago

The workaround I discovered:

  1. Open /Users/<USERNAME>/Library/Application Support/JetBrains/PhpStorm2024.1/plugins/one-dark-theme/lib
  2. Extract the one-dark-theme-5.11.0.jar file
  3. Open one-dark-theme-5.11.0/themes/one_dark_vivid.theme.json (I use the "vivid" theme variant, open one_dark.theme.json if you use the default one)
  4. Find the "ui.Tree" section
  5. Add "selectionInactiveBackground": "#4d78cc"
  6. Save the file
  7. Go back to the .../plugins/one-dark-theme/lib folder, run in terminal:
    jar cf one-dark-theme-5.11.0.jar -C one-dark-theme-5.11.0 .
  8. Restart the IDE

Now the inactive selection has the same bright color as the active one. But will have to repeat the actions after each plugin update.