How do I contribute a user configuration point for my extension's panel's background color? - visual-studio-code

I am creating my own VScode color theme, and I would like to know what to add in my json file so that the user can choose the background color (e.g. dark or light) when activating the extension.
For the moment I define the color with this line:
"editor.background" : "#413838",
but this makes it so that there is only one possible choice.

Related

vscode theme color settings

I'm developing my own theme for vscode and the only color I'm not able to change is the background of codes displayed in the extensions as shown in the image.
Does anyone know what configuration I should add?
background of codes displayed in the extensions

Visual Studio Code ignoring text mate theme in settings.json

So I have a color theme set as Github Dark default right now, before I had it set as Monokai pro where I went into Setting.json and change some settings for textmate scopes and change their colors, it worked when I had the previous theme setup but when I changed the theme the settings don't take effect and uses the themes default color scheme. I don't know why that's happening.
Like I have this in my settings.json for the color of a function name
But instead I don't see the changes in this method in one of my java files. It should show up as green for the function call but instead it shows up as purple. And it should show purple Variable names but it's gray.

how to change theme mode & theme color based on both system dark mode or onclick event in flutter

Color ThemeMode is based on 2 different ways,
The first is that the color theme is change based on the system theme. (if the user selects the dark mode from the device then my app color theme is also changed with dark mode.)
The second is that the color theme is based on the onClick Event from the application.
I want to create these two tasks with a single variable, like, if the system mode is on light mode but the user changes the mode of application in dark mode...and also if the system is on dark mode then the application is automatically converted into dark mode.
There's a plugin for that on pub.dev called theme_provider. Have you tried it? You can add it to your pubspec.yaml file.

How to make Eclipse's tab's background color changed when use dark theme?

I am trying to make my Eclipse cooler like IntelliJ's darcular theme. Everything is fine now except the tab's background's color. It's white and I can't see the words clearly.
Just like the picture below.
Oh, I don't know why it can be seen in the screenshot.
But what I want like this:
By TWiStErRob's comment I found where to change it for me, which also had bright tabs when switching to dark theme.
Below the steps how I changed my tabs:
Go in the top menu to window, then preferences.
Then drill down to General > Appearance > colors and fonts
There is a list with multiple background begin, background end options. If you select an option you can use the edit button to change the color.
Default you only get the basic colors. By clicking the *Define Custom Colors >>** button you can use a color picker or the hex/hsl editor fields to enter your own preferred colors. I changed them all (all the background begin/background end options) from their bright colors to darker colors.
The end result.
Thanks to TWiStErRob for giving the pointer where to find the setting.

Set eclipse hyperlink color under KDE

I have dark eclipse theme (Moonrise) and also dark theme for native widgets set in KDE. The problem is that dar blue hyperlink are not very legible so I would like them to be of different color. In the picture there is not that dark theme used, but with darker colors the link cannot be read.
Even thoughtI was setting the hyperlink color in every possible settings menu I could think of, I have not been able to set eclipse hyperlink color. It seems that Eclipse ignored the Appearance -> Colors and fonts settings.
It would make somehow sense if the native GUI settings would be to have dark blue hyperlink color. But I cannot see, that this would be the case in Application Appearance -> Colors section.
Is there a way to change the color of hyperlink? Why is it still dark blue? I am not interested in settings the tooltip background as is often suggested in this case- I have already set it to lighter color so the hyperlinks are readable.
Go to Window > Preferences and change the current theme restart eclipse. Refer picture below.
Install eclipse colour theme plugin then you will get lots of options to change the theme. See here.
Note that in different themes the colour of active and visited link will be different.
Edit
After looking at your comment, you may get some clues from here
GNOME settings
KDE settings
Eclipse on Ubuntu