Bug 432710 - [Themes] Base color for Workspace
Summary: [Themes] Base color for Workspace
Status: NEW
Alias: None
Product: Platform
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 4.3.2   Edit
Hardware: All All
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: Platform UI Triaged CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-04-14 04:12 EDT by Jens Reimann CLA
Modified: 2014-04-14 14:11 EDT (History)
1 user (show)

See Also:


Attachments
Screenshot of what I had in mind (367.96 KB, image/png)
2014-04-14 04:12 EDT, Jens Reimann CLA
no flags Details
Changind hues using an older version of Jeeeyul's Themes plugin (75.64 KB, image/png)
2014-04-14 14:11 EDT, Timo Kinnunen CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jens Reimann CLA 2014-04-14 04:12:50 EDT
Created attachment 241945 [details]
Screenshot of what I had in mind

Since E4 is fully styleable it would be nice to have a "base color" for each workspace.

Since I regularly  have more than one Eclipse instance running it sometimes takes a closer look which one is the right instance.

Having a base color which is stored with the workspace would allow one to apply a subtle color theme to the workspace and find it easier ("yellow is documentation", or whatever the user comes up with).

I know that I can change numerous color constants of different element. But 1) I did not find a setting to change the base color of the theme. 2) There are so many, and this would require some prominent setting, easily locatable and only showing "Workspace base color".
Comment 1 Andrea Guarinoni CLA 2014-04-14 05:19:34 EDT
For a limited number of colors, this can be easily achieved with new Color & Fonts bridge.
Just need to use the correct constants in the stylesheet of the default theme, then a user can change the value of those base colors from the Preferences panel.

(If you want to set a single base color and derive all the UI colors from that, instead, you should wait for a wider patch, your use-case is not very common for the IDE but it seems exactly what JavaFX 'derive' function does)
Comment 2 Timo Kinnunen CLA 2014-04-14 14:11:40 EDT
Created attachment 241981 [details]
Changind hues using an older version of Jeeeyul's Themes plugin

This used to be almost simple using a previous version of Jeeyul's Themes plugin and its Adjust colors globally. In the screenshot I've additionally linked more CSS colors to the ones that normally get adjusted to make all of it controlled from a single slider.

A derive function would be a more elegant way to get the same results.