windows 10 custom title bar color - windows-10

Microsoft Apps such as Word, Excel use custom colors in the window title bar. IntelliJ and BeyondCompare have chosen similar colored icons so to takes a few more of MY cycles to select the correct window when I am changing tasks.
Is there a way to tailor installed applications to have a specific title bar color perhaps using registry entries and themes. This would speed up task switches which I do continuously in development mode.
As a second choice, I am not adverse to creating an IntelliJ plugin that would zap the color if that would do the job but am not sure if there is a way to easily zap the title bar color in the Windows-10 API.

Related

How do you set the svg foreground color in .NET Maui splash screen

I know when setting the color for a FontImageSource you can use things like:
Color="#512BD4"
to change the color of the icon, but how do you apply the same logic to the splash screen setting as this:
<MauiSplashScreen Include="Resources\Splash\popup_splash.svg" Color="#512BD4" BaseSize="256,256" />
only seems to set the background color of the screen. The icon defaults to black and there aren't any hints in the designer.
You can try to set the TintColor attribute to your MauiSplashScreen like below:
<MauiSplashScreen Include="Resources\Splash\popup_splash.svg" TintColor="#512BD4"/>
Use an image editor that can edit .svg files, to set the color of the foreground shape(s).
[OPINION] IMHO, there is no option to "set foreground color" because there can be MULTIPLE colors in an .svg.
Also, for cross-platform compatibility, Maui converts the .svg into a .png, when building the app for each platform. That is what gets displayed on the device. This conversion is done without any knowledge of that XAML (that later displays the splash screen image on top of the colored background).
Because Maui runs on multiple platforms, expect to see functionality that is easy to implement on all the platforms, and is in high demand by app developers. [OPINION] Being able to dynamically "colorize" a splash screen while the app starts up is not likely to be a high priority "wish" for many app developers.
The "background color" is different, because that simply fills in behind any transparent areas of the image. Easily done on all platforms that Maui targets.

Visual Studio 2019 Color Theme Editor - How to make background color of Solution Explorer transparent?

Goal: I'm using a VS extension called "ClaudiaIDE" that enables you to set an image as a background to Visual Studio 2019. I set the background to a wood grain wallpaper (it looks amazing). It makes the code editor background and main window background transparent so you can see the image, but not anything else. I then started using Color Theme Editor to add transparency to other sections of the VS IDE so it's mostly showing the background image. I want the right side windows (like solution explorer) to be transparent as well.
Two stackoverflow answers say the color value is stored under "treeview". I changed the "treeview" background using the wizard but it made no difference (despite other SO comments saying it worked). Likely due to the old answers being for VS 2017 or earlier.
I then changed the "treeview" color manually in the CustomTheme.vstheme file and I successfully made the grey color transparent, but now there is an absolute black blackground, which was perhaps there to give a shadow effect. The code I edited is below (The opacity is intentional):
<Category Name="TreeView" GUID="{92ecf08e-8b13-4cf4-99e9-ae2692382185}">
<Color Name="Background">
<Background Type="CT_RAW" Source="00252526" />
<Foreground Type="CT_RAW" Source="FFF1F1F1" />
</Color>
I searched for every reference of "#FF000000" and for testing made them all fully transparent: "#00000000". This made no difference, solution explorer retained its "#FF000000" (by observation only, I don't know where the code is). I know the hex is right because I copied a screenshot into paint.net and grabbed the color.
I then changed my Microsoft Windows settings so that it didn't use the dark background, in case it was applying that to the VS windows. No change.
If anyone has any ideas on how to access the black underlying background for windows like "solution explorer" i would greatly appreciate it. It must be getting that value from somewhere.
Install this:
https://marketplace.visualstudio.com/items?itemName=VisualStudioPlatformTeam.VisualStudio2019ColorThemeEditor
Top menu:
Tool=>Customize Colors => choose theme
Show All Elements button (same row with save icon)
Search for (there is search box):
Environment → ToolWindowFloatingFrameInactive
Environment → ToolWindowFloatingFrame
Tool Window → Tab → Background
TreeView → Background

Android Studio where is color picker for Flutter plugin

In Android Studio, we have color picker when developing in Java/Kotlin (natively) like this.
But while developing for Flutter, I can't see any options to pick my own color. Is there some plugin required to do that?
The color picker is not clickable in Android Studio running Flutter( Dart code), see picture below. But i found a work around using the Color class and manually opening color picker. Then pick a color and copy/paste it like this:
Here is how i do it:
1. Double tap shift to run search
2. Type Color or Picker
3. Open Color Picker from the search list
4. Copy/paste the HEX color code into your color class.
Expert tip:
Add color picker to a keyboard shortcut. You can find the settings for Keymap, under File > Settings > Keymap
You must have heard of the materials.io website from google, which provides many materials like designs, icons, tools, resources and components for easy developing. Now Color Tool is also available. You must add the website to your browsers shortcut if you are a developer. Here's the link for chosing color : https://www.material.io/resources/color/#!/?view.left=0&view.right=0&primary.color=E91E63
Another way I found is :
Type 'Colors.' and press control+space to see the available colors.
Select the color using arrow or mouse.
Press control+Q for the quick documentation.
And on the documentation windows, click on the edit button which opens the
'colors.dart' file.
Here all the colors with all shades are available. These shortcuts are for windows.
Once you open the file, you can always come back here to chose the next shade. But will not be the comfortable method like android project.
Hope a easier way to do this will come with the later update.

Android Studio IDE - how to change focused tab color

I realized my currently focused tab is hard to distinguish:
So my question is how to change currently focused tab's color (Either foreground or background will help) ? I search around in the settings but can't found.
My platform is android studio version 2.1, Linux Fedora 21, gnome 3.14.0.
Your shown tabs are hard to distinguish because in Darcula theme, the test class background is unfortunatelly very hard to distinguish from non selected test tabs. You can see, that you can distinguish MainActivity.java just fine.
How to change color for tests is described in this question:
How to change the active tab header's color in IntelliJ 14.1.4?

Tile/live tile change color when windows change theme UWP

In my UWP application in tile I set black color of background, and icon has transperent background, it's look very well. But then i change theme in windows 10(desktop) to white and my tile change background color to white. Why is it happend, when i set color - black in manifest of application. Like in this application.
Best regards, Dmitry
I can't add a comment but if you mean the high contrast setting I do not believe this is possible since the tile settings cannot be changed at runtime and there is no other way to set the color outside of the apps manifest. You can create override the styles for other controls but not for the tiles properties.
"Note It’s possible to override the system color resources for high-contrast color and accent color by creating resources with the same names, but it’s a best practice to respect the user’s color choices, especially for high-contrast settings. Xaml Theme Resources
More on high contrast themes here: High Contrast Themes - MSDN
I would instead try setting the image background to not be transparent and take up the whole space of the tile. You won't be able to change it but it appears you want it always black anyways. I am not certain this will work in your scenario though since you are using a live tile and not just an image.
You may also want to look at using a secondary tile: Theme Resources

Resources