Skip to content

Commit

Permalink
Create Color Definition for Reuse
Browse files Browse the repository at this point in the history
  • Loading branch information
BeckerWdf committed Oct 29, 2024
1 parent 845377a commit 138db6c
Show file tree
Hide file tree
Showing 5 changed files with 87 additions and 78 deletions.
50 changes: 25 additions & 25 deletions bundles/org.eclipse.ui.themes/css/e4_preview_gtk.css
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,10 @@
@import url("platform:/plugin/org.eclipse.ui.themes/css/e4_basestyle_preview.css");

ColorDefinition#org-eclipse-ui-workbench-ACTIVE_UNSELECTED_TABS_COLOR_START {
color: #F8F8F8;
color: #F8F8F8; /* same as '#org-eclipse-ui-workbench-SECONDARY_BACKGROUND' cannot use '#org-eclipse-ui-workbench-SECONDARY_BACKGROUND' directly*/
}

ColorDefinition#org-eclipse-ui-workbench-ACTIVE_UNSELECTED_TABS_COLOR_END {
ColorDefinition#org-eclipse /* same as '#org-eclipse-ui-workbench-SECONDARY_BACKGROUND' cannot use '#org-eclipse-ui-workbench-SECONDARY_BACKGROUND' directly*/-ui-workbench-ACTIVE_UNSELECTED_TABS_COLOR_END {
color: #F8F8F8;
}

Expand All @@ -33,11 +33,11 @@ ColorDefinition#org-eclipse-ui-workbench-ACTIVE_TAB_OUTLINE_COLOR {
}

ColorDefinition#org-eclipse-ui-workbench-INACTIVE_UNSELECTED_TABS_COLOR_START {
color: #F8F8F8;
color: #F8F8F8; /* same as '#org-eclipse-ui-workbench-SECONDARY_BACKGROUND' cannot use '#org-eclipse-ui-workbench-SECONDARY_BACKGROUND' directly*/
}

ColorDefinition#org-eclipse-ui-workbench-INACTIVE_UNSELECTED_TABS_COLOR_END {
color: #F8F8F8;
color: #F8F8F8; /* same as '#org-eclipse-ui-workbench-SECONDARY_BACKGROUND' cannot use '#org-eclipse-ui-workbench-SECONDARY_BACKGROUND' directly*/
}

ColorDefinition#org-eclipse-ui-workbench-INACTIVE_TAB_OUTER_KEYLINE_COLOR {
Expand All @@ -53,35 +53,35 @@ ColorDefinition#org-eclipse-ui-workbench-INACTIVE_TAB_OUTLINE_COLOR {
}

ColorDefinition#org-eclipse-ui-workbench-INACTIVE_TAB_BG_START {
color: #F8F8F8;
color: #F8F8F8; /* same as '#org-eclipse-ui-workbench-SECONDARY_BACKGROUND' cannot use '#org-eclipse-ui-workbench-SECONDARY_BACKGROUND' directly*/
}

ColorDefinition#org-eclipse-ui-workbench-INACTIVE_TAB_BG_END {
color: #F8F8F8;
color: #F8F8F8; /* same as '#org-eclipse-ui-workbench-SECONDARY_BACKGROUND' cannot use '#org-eclipse-ui-workbench-SECONDARY_BACKGROUND' directly*/
}

ColorDefinition#org-eclipse-ui-workbench-ACTIVE_TAB_BG_START{
color: #f8f8f8;
color: #f8f8f8; /* same as '#org-eclipse-ui-workbench-SECONDARY_BACKGROUND' cannot use '#org-eclipse-ui-workbench-SECONDARY_BACKGROUND' directly*/
}

ColorDefinition#org-eclipse-ui-workbench-ACTIVE_TAB_BG_END {
color: #f8f8f8;
color: #f8f8f8; /* same as '#org-eclipse-ui-workbench-SECONDARY_BACKGROUND' cannot use '#org-eclipse-ui-workbench-SECONDARY_BACKGROUND' directly*/
}

ColorDefinition#org-eclipse-ui-workbench-INACTIVE_NOFOCUS_TAB_BG_START {
color: #f8f8f8;
color: #f8f8f8; /* same as '#org-eclipse-ui-workbench-SECONDARY_BACKGROUND' cannot use '#org-eclipse-ui-workbench-SECONDARY_BACKGROUND' directly*/
}

ColorDefinition#org-eclipse-ui-workbench-INACTIVE_NOFOCUS_TAB_BG_END {
color: #F8F8F8;
color: #F8F8F8; /* same as '#org-eclipse-ui-workbench-SECONDARY_BACKGROUND' cannot use '#org-eclipse-ui-workbench-SECONDARY_BACKGROUND' directly*/
}

ColorDefinition#org-eclipse-ui-workbench-ACTIVE_NOFOCUS_TAB_BG_START {
color: #F8F8F8;
color: #F8F8F8; /* same as '#org-eclipse-ui-workbench-SECONDARY_BACKGROUND' cannot use '#org-eclipse-ui-workbench-SECONDARY_BACKGROUND' directly*/
}

ColorDefinition#org-eclipse-ui-workbench-ACTIVE_NOFOCUS_TAB_BG_END {
color: #F8F8F8;
color: #F8F8F8; /* same as '#org-eclipse-ui-workbench-SECONDARY_BACKGROUND' cannot use '#org-eclipse-ui-workbench-SECONDARY_BACKGROUND' directly*/
}

ColorDefinition#org-eclipse-ui-workbench-ACTIVE_NOFOCUS_TAB_TEXT_COLOR {
Expand Down Expand Up @@ -113,24 +113,24 @@ ColorDefinition#org-eclipse-ui-workbench-INACTIVE_TAB_TEXT_COLOR {
}

CTabFolder.MArea {
background-color: #f8f8f8;
swt-selected-tab-fill: #f8f8f8;
swt-unselected-tabs-color: #f8f8f8;
swt-outer-keyline-color: #f8f8f8;
swt-inner-keyline-color: #f8f8f8;
background-color: '#org-eclipse-ui-workbench-SECONDARY_BACKGROUND';
swt-selected-tab-fill: '#org-eclipse-ui-workbench-SECONDARY_BACKGROUND';
swt-unselected-tabs-color: '#org-eclipse-ui-workbench-SECONDARY_BACKGROUND';
swt-outer-keyline-color: '#org-eclipse-ui-workbench-SECONDARY_BACKGROUND';
swt-inner-keyline-color: '#org-eclipse-ui-workbench-SECONDARY_BACKGROUND';
swt-tab-outline: #ffffff;
}

CTabFolder Canvas {
background-color: #f8f8f8;
background-color: '#org-eclipse-ui-workbench-SECONDARY_BACKGROUND';
}

.MTrimBar#org-eclipse-ui-main-toolbar {
background-color: #f8f8f8;
background-color: '#org-eclipse-ui-workbench-SECONDARY_BACKGROUND';
}

.MTrimBar#org-eclipse-ui-trim-status {
background-color: #f8f8f8;
background-color: '#org-eclipse-ui-workbench-SECONDARY_BACKGROUND';
}

.View Composite,
Expand All @@ -153,15 +153,15 @@ CTabFolder Canvas {
.View Canvas,
.View FigureCanvas
{
background-color: #f8f8f8;
background-color: '#org-eclipse-ui-workbench-SECONDARY_BACKGROUND';
}

.View TitleRegion{
background-color:#f8f8f8;
background-color:'#org-eclipse-ui-workbench-SECONDARY_BACKGROUND';
}

.MPartStack.active .View TitleRegion{
background-color:#f8f8f8;
background-color:'#org-eclipse-ui-workbench-SECONDARY_BACKGROUND';
}

.View Button[style~='SWT.CHECK']{
Expand Down Expand Up @@ -198,7 +198,7 @@ CTabFolder Canvas {
/* text color and background color of unselected tabs in editor*/
#org-eclipse-ui-editorss CTabItem{
color: #000000;
background-color: #f8f8f8;
background-color: '#org-eclipse-ui-workbench-SECONDARY_BACKGROUND';
}

/*text color and background color of selected tab in editor */
Expand Down Expand Up @@ -227,7 +227,7 @@ CTabFolder Canvas {
}

Composite.MPartSashContainer{
background-color: #f8f8f8;
background-color: '#org-eclipse-ui-workbench-SECONDARY_BACKGROUND';
}

Composite.MArea{
Expand Down
58 changes: 29 additions & 29 deletions bundles/org.eclipse.ui.themes/css/e4_preview_mac.css
Original file line number Diff line number Diff line change
Expand Up @@ -15,19 +15,11 @@
@import url("platform:/plugin/org.eclipse.ui.themes/css/e4_basestyle_preview.css");

ColorDefinition#org-eclipse-ui-workbench-ACTIVE_UNSELECTED_TABS_COLOR_START {
color: #F8F8F8;
color: #f8f8f8; /* same as '#org-eclipse-ui-workbench-SECONDARY_BACKGROUND' cannot use '#org-eclipse-ui-workbench-SECONDARY_BACKGROUND' directly*/
}

ColorDefinition#org-eclipse-ui-workbench-ACTIVE_UNSELECTED_TABS_COLOR_END {
color: #F8F8F8;
}

ColorDefinition#org-eclipse-ui-workbench-INACTIVE_UNSELECTED_TABS_COLOR_START {
color: #F8F8F8;
}

ColorDefinition#org-eclipse-ui-workbench-INACTIVE_UNSELECTED_TABS_COLOR_END {
color: #F8F8F8;
color: #f8f8f8; /* same as '#org-eclipse-ui-workbench-SECONDARY_BACKGROUND' cannot use '#org-eclipse-ui-workbench-SECONDARY_BACKGROUND' directly*/
}

ColorDefinition#org-eclipse-ui-workbench-ACTIVE_TAB_OUTER_KEYLINE_COLOR {
Expand All @@ -38,12 +30,12 @@ ColorDefinition#org-eclipse-ui-workbench-ACTIVE_TAB_OUTLINE_COLOR {
color: #EAEAEA;
}

ColorDefinition#org-eclipse-ui-workbench-ACTIVE_TAB_BG_START {
color: #f8f8f8;
ColorDefinition#org-eclipse-ui-workbench-INACTIVE_UNSELECTED_TABS_COLOR_START {
color: #f8f8f8; /* same as '#org-eclipse-ui-workbench-SECONDARY_BACKGROUND' cannot use '#org-eclipse-ui-workbench-SECONDARY_BACKGROUND' directly*/
}

ColorDefinition#org-eclipse-ui-workbench-ACTIVE_TAB_BG_END {
color: #f8f8f8;
ColorDefinition#org-eclipse-ui-workbench-INACTIVE_UNSELECTED_TABS_COLOR_END {
color: #f8f8f8; /* same as '#org-eclipse-ui-workbench-SECONDARY_BACKGROUND' cannot use '#org-eclipse-ui-workbench-SECONDARY_BACKGROUND' directly*/
}

ColorDefinition#org-eclipse-ui-workbench-INACTIVE_TAB_OUTER_KEYLINE_COLOR {
Expand All @@ -54,20 +46,28 @@ ColorDefinition#org-eclipse-ui-workbench-INACTIVE_TAB_OUTLINE_COLOR {
color: #EAEAEA;
}

ColorDefinition#org-eclipse-ui-workbench-ACTIVE_TAB_BG_START {
color: #f8f8f8; /* same as '#org-eclipse-ui-workbench-SECONDARY_BACKGROUND' cannot use '#org-eclipse-ui-workbench-SECONDARY_BACKGROUND' directly*/
}

ColorDefinition#org-eclipse-ui-workbench-ACTIVE_TAB_BG_END {
color: #f8f8f8; /* same as '#org-eclipse-ui-workbench-SECONDARY_BACKGROUND' cannot use '#org-eclipse-ui-workbench-SECONDARY_BACKGROUND' directly*/
}

ColorDefinition#org-eclipse-ui-workbench-INACTIVE_TAB_BG_START {
color: #F8F8F8;
color: #F8F8F8; /* same as '#org-eclipse-ui-workbench-SECONDARY_BACKGROUND' cannot use '#org-eclipse-ui-workbench-SECONDARY_BACKGROUND' directly*/
}

ColorDefinition#org-eclipse-ui-workbench-INACTIVE_TAB_BG_END {
color: #F8F8F8;
color: #f8f8f8; /* same as '#org-eclipse-ui-workbench-SECONDARY_BACKGROUND' cannot use '#org-eclipse-ui-workbench-SECONDARY_BACKGROUND' directly*/
}

ColorDefinition#org-eclipse-ui-workbench-ACTIVE_NOFOCUS_TAB_BG_START {
color: #F8F8F8;
color: #f8f8f8; /* same as '#org-eclipse-ui-workbench-SECONDARY_BACKGROUND' cannot use '#org-eclipse-ui-workbench-SECONDARY_BACKGROUND' directly*/
}

ColorDefinition#org-eclipse-ui-workbench-ACTIVE_NOFOCUS_TAB_BG_END {
color: #F8F8F8;
color: #f8f8f8; /* same as '#org-eclipse-ui-workbench-SECONDARY_BACKGROUND' cannot use '#org-eclipse-ui-workbench-SECONDARY_BACKGROUND' directly*/
}

ColorDefinition#org-eclipse-ui-workbench-ACTIVE_NOFOCUS_TAB_TEXT_COLOR {
Expand All @@ -83,23 +83,23 @@ ColorDefinition#org-eclipse-ui-workbench-INACTIVE_TAB_TEXT_COLOR {
}

.MTrimmedWindow {
background-color: #f8f8f8;
background-color: '#org-eclipse-ui-workbench-SECONDARY_BACKGROUND';
}

.MTrimBar {
background-color: #f8f8f8;
background-color: '#org-eclipse-ui-workbench-SECONDARY_BACKGROUND';
}

.MTrimBar#org-eclipse-ui-main-toolbar {
background-color: #f8f8f8;
background-color: '#org-eclipse-ui-workbench-SECONDARY_BACKGROUND';
}

CTabFolder Canvas {
background-color: #f8f8f8;
background-color: '#org-eclipse-ui-workbench-SECONDARY_BACKGROUND';
}

.MTrimBar#org-eclipse-ui-trim-status {
background-color: #f8f8f8;
background-color: '#org-eclipse-ui-workbench-SECONDARY_BACKGROUND';
}

.View Composite,
Expand All @@ -121,15 +121,15 @@ CTabFolder Canvas {
.View Canvas,
.View FigureCanvas
{
background-color: #f8f8f8;
background-color: '#org-eclipse-ui-workbench-SECONDARY_BACKGROUND';
}

.View TitleRegion{
background-color:#f8f8f8;
background-color:'#org-eclipse-ui-workbench-SECONDARY_BACKGROUND';
}

.MPartStack.active .View TitleRegion{
background-color:#f8f8f8;
background-color:'#org-eclipse-ui-workbench-SECONDARY_BACKGROUND';
}

.View Button[style~='SWT.CHECK']{
Expand All @@ -146,7 +146,7 @@ CTabFolder Canvas {


.View Composite Tree[swt-lines-visible=false]{
background-color: #f8f8f8;
background-color: '#org-eclipse-ui-workbench-SECONDARY_BACKGROUND';
}

.View Composite PrependingAsteriskFilteredTree,
Expand All @@ -171,7 +171,7 @@ CTabFolder Canvas {
/* text color of unselected tabs in editor*/
#org-eclipse-ui-editorss CTabItem{
color: #000000;
background-color: #f8f8f8;
background-color: '#org-eclipse-ui-workbench-SECONDARY_BACKGROUND';
}

/*text color and background color of selected tab in editor */
Expand Down Expand Up @@ -200,7 +200,7 @@ CTabFolder Canvas {
}

Composite.MPartSashContainer{
background-color: #f8f8f8;
background-color: '#org-eclipse-ui-workbench-SECONDARY_BACKGROUND';
}

Composite.MArea{
Expand Down
Loading

0 comments on commit 138db6c

Please sign in to comment.