Where can I programmatically get background color of IntelliJ IDEA code editor? - intellij-idea

I want to copy some colors from IntelliJ color scheme to my application color scheme automatically. Where can I find for example code editor background color of IntelliJ IDEA?

You can find it here, for example.
This is a file with the definition of Text colours.
Also check out this file. It defines many system colours. (like caret, gutter, selection, etc.)

Related

Changing background color of file tree + popups in IntelliJ

I'm trying to customize my IntelliJ editor and have been unable to find the config that corresponds to the background color for the file tree explorer. This same color is used throughout the editor (popups, menu bars etc) and would be nice to be able to change w/ out choosing an entirely different theme.
It can be manipulated by themes but I can't find it anywhere in settings -> appearance & behavior or settings -> editor -> color scheme etc.
Project view background color depends on the theme selected and cannot be changed without changing the theme itself. You can find that information at JetBrains' bug tracker (in several last comments):
IDEA-132299 Allow custom colors for the built-in UI themes (LAFs Darcula and Default):
Now you can develop your own theme and editor color scheme. It's been announced recently in the JetBrains blog: https://blog.jetbrains.com/idea/2019/03/brighten-up-your-day-add-color-to-intellij-idea/
So please follow the instructions in the article and create your own colors.
Certain folders and files will have different colors based on the Scopes.
Also you may use another GUI Theme. You can download custom dark themes in JetBrains' plugins repository. For example "One dark theme" took 2nd place in JetBrains' theme contest.
On contest's page you could find additional 30 dark themes:
https://plugins.jetbrains.com/contest/intellij-themes/2019

How do I change the text color of a file with a certain VCS status?

I'm using IntelliJ IDEA 2017.1. I can't seem to find the right setting to change the color of the text in the project view. Specifically the color that is used for a file that has been moved under a version-controlled project. As you can see in the image below, the text color on the Darcula background color is really difficult to read.
Is it possible to configure the color used for files with a specific status?
File status colors can be changed here:
It's possible that you are using some non-standard editor color scheme that is not inherited from one of the default schemes.

How to remove grey highlighting of xml tags in Intellij IDEA?

In IntelliJ IDEA the XML is highlighted with grey background:
Is there any way to remove it?
Go to Settings/Editor/Colors and Fonts/Language Defaults, select Markup Tag in the list and uncheck Background.
You might need to save the color scheme using Save As first, because you can't modify the default color scheme.

Change editor color scheme in nitrous.io

I don't see a way to change the color scheme in the nitrous.io editor but the white code text is a little harsh on my eyes.
How do I change the color scheme in the nitrous.io editor?
There is not a way to change the color scheme at this time. If you are looking to use a text editor with your own customizations then take a look at Nitrous Desktop. With the desktop app you will be able to sync locally and use a text editor such as Sublime Text.

Intellij idea darcula theme font size disabled

I have the following situation:
I started to use Intellij Idea as the main ide and I am also using Darcula theme. I like everything about it except the annoying small font and annoying line spacing. However, when I try to change those values like with any other theme, I am not able to do that, because both font size and line spacing fields are disabled.
Do you know how to modify Intellij idea's darcula theme default font size?
Save current theme as Your theme, then you will be able to change font size and other options in code editor.
Also if you want change GUI's fonts mark checkbox "Override default font by" in Appearance section.