Skip to content

Commit

Permalink
[Themes] Support native high contrast theme part 2
Browse files Browse the repository at this point in the history
- Add a stylesheet for the high contrast theme so theme colours and fonts can be set
  • Loading branch information
Phillipus committed Oct 23, 2024
1 parent 74cd30c commit 8e6f271
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 0 deletions.
6 changes: 6 additions & 0 deletions com.archimatetool.editor.themes/plugin.xml
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,12 @@
refid="org.eclipse.e4.ui.css.theme.e4_classic">
</themeid>
</stylesheet>
<stylesheet
uri="themes/eclipse/css/archi-high-contrast.css">
<themeid
refid="org.eclipse.e4.ui.css.theme.high-contrast">
</themeid>
</stylesheet>
<stylesheet
uri="themes/eclipse/css/dark/archi-dark-styling.css">
<themeid
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
/*******************************************************************************
* Styling for Archi that over-rides some Eclipse stylings
*******************************************************************************/

@import url("platform:/plugin/com.archimatetool.editor.themes/themes/archi/css/common/archi-globalstyle.css");

/* Theme colors */

ColorDefinition#com-archimatetool-editor-VIEW_BACKGROUND {
color: '#COLOR_WIDGET_BACKGROUND';
}

ColorDefinition#com-archimatetool-editor-VISUALISER_BACKGROUND {
color: '#COLOR_WIDGET_BACKGROUND';
}

0 comments on commit 8e6f271

Please sign in to comment.