Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStephan Wahlbrink2021-08-03 17:28:54 +0000
committerStephan Wahlbrink2021-08-03 18:27:20 +0000
commit6665015d5ba28f44fbd5e9d79ac6e5649d7961f7 (patch)
tree73096aa8dfd0ce24edd94309612c74b38208a995
parentfe392c69888986fd40d11ad18ef51f33bd95f27a (diff)
downloadorg.eclipse.statet-ltk-6665015d5ba28f44fbd5e9d79ac6e5649d7961f7.tar.gz
org.eclipse.statet-ltk-6665015d5ba28f44fbd5e9d79ac6e5649d7961f7.tar.xz
org.eclipse.statet-ltk-6665015d5ba28f44fbd5e9d79ac6e5649d7961f7.zip
Bug 575176: [Doc-View] Add default colors for dark theme
-rw-r--r--ltk/org.eclipse.statet.ltk.ui/css/e4_dark.css20
-rw-r--r--ltk/org.eclipse.statet.ltk.ui/plugin.xml8
2 files changed, 28 insertions, 0 deletions
diff --git a/ltk/org.eclipse.statet.ltk.ui/css/e4_dark.css b/ltk/org.eclipse.statet.ltk.ui/css/e4_dark.css
new file mode 100644
index 0000000..716ac12
--- /dev/null
+++ b/ltk/org.eclipse.statet.ltk.ui/css/e4_dark.css
@@ -0,0 +1,20 @@
+/*
+ #=============================================================================#
+ # Copyright (c) 2005, 2021 Stephan Wahlbrink and others.
+ #
+ # This program and the accompanying materials are made available under the
+ # terms of the Eclipse Public License 2.0 which is available at
+ # https://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0
+ # which is available at https://www.apache.org/licenses/LICENSE-2.0.
+ #
+ # SPDX-License-Identifier: EPL-2.0 OR Apache-2.0
+ #
+ # Contributors:
+ # Stephan Wahlbrink <sw@wahlbrink.eu> - initial API and implementation
+ #=============================================================================*/
+
+IEclipsePreferences#org-eclipse-ui-workbench:org-eclipse-statet-ltk {
+ preferences:
+ 'org.eclipse.statet.workbench.themes.DocViewBackgroundColor=52,57,61'
+ 'org.eclipse.statet.workbench.themes.DocViewColor=238,238,238'
+}
diff --git a/ltk/org.eclipse.statet.ltk.ui/plugin.xml b/ltk/org.eclipse.statet.ltk.ui/plugin.xml
index f51472b..8cfc621 100644
--- a/ltk/org.eclipse.statet.ltk.ui/plugin.xml
+++ b/ltk/org.eclipse.statet.ltk.ui/plugin.xml
@@ -1172,6 +1172,14 @@
</colorOverride>
</theme>
</extension>
+ <extension
+ point="org.eclipse.e4.ui.css.swt.theme">
+ <stylesheet
+ uri="css/e4_dark.css">
+ <themeid
+ refid="org.eclipse.e4.ui.css.theme.e4_dark"/>
+ </stylesheet>
+ </extension>
<extension
point="org.eclipse.core.runtime.preferences">

Back to the top