From cb1228180c6b8db9e379e8fb14d846fa9c5c42f3 Mon Sep 17 00:00:00 2001 From: Jonah Graham Date: Tue, 25 Jan 2022 14:48:25 -0500 Subject: [PATCH] Bug 578367: Add missing dark color definitions for autotools and makefiles The colors chosen were based where possible on the colors of the CDT main editor (org.eclipse.cdt.ui/css/e4-dark_cdt.css) for similar syntax/semnatic elements. Change-Id: Iea6ccb481b8d1b16aa2d6dda16e44b2512662fa0 --- .../css/e4-dark_autotools.css | 28 +++++++++++++++++++ .../org.eclipse.cdt.autotools.core/plugin.xml | 9 ++++++ .../css/e4-dark_make.css | 21 ++++++++++++++ build/org.eclipse.cdt.make.ui/plugin.xml | 9 ++++++ 4 files changed, 67 insertions(+) create mode 100644 build/org.eclipse.cdt.autotools.core/css/e4-dark_autotools.css create mode 100644 build/org.eclipse.cdt.make.ui/css/e4-dark_make.css diff --git a/build/org.eclipse.cdt.autotools.core/css/e4-dark_autotools.css b/build/org.eclipse.cdt.autotools.core/css/e4-dark_autotools.css new file mode 100644 index 00000000000..8283c9ad772 --- /dev/null +++ b/build/org.eclipse.cdt.autotools.core/css/e4-dark_autotools.css @@ -0,0 +1,28 @@ +/******************************************************************************* + * Copyright (c) 2022 Kichwa Coders Canada Inc. and others. + * + * This program and the accompanying materials + * are made available under the terms of the Eclipse Public License 2.0 + * which accompanies this distribution, and is available at + * https://www.eclipse.org/legal/epl-2.0/ + * + * SPDX-License-Identifier: EPL-2.0 + ******************************************************************************/ + +IEclipsePreferences#org-eclipse-cdt-autotools-core:org-eclipse-cdt-autotools-core { + preferences: + "org.eclipse.cdt.autotools.ui.autoconf.editor.comment=98,98,98" + "org.eclipse.cdt.autotools.ui.autoconf.editor.keyword=221,40,103" + "org.eclipse.cdt.autotools.ui.autoconf.editor.var_ref=121,171,255" + "org.eclipse.cdt.autotools.ui.autoconf.editor.var_set=255,191,38" + "org.eclipse.cdt.autotools.ui.autoconf.editor.acmacro=13,64,209" + "org.eclipse.cdt.autotools.ui.autoconf.editor.ammacro=13,209,64" + "org.eclipse.cdt.autotools.ui.autoconf.editor.codeseq=18,144,195" + "org.eclipse.cdt.autotools.ui.autoconf.editor.default=200,200,200" + "org.eclipse.cdt.autotools.ui.automake.editor.comment=98,98,98" + "org.eclipse.cdt.autotools.ui.automake.editor.keyword=221,40,103" + "org.eclipse.cdt.autotools.ui.automake.editor.macro_ref=121,171,255" + "org.eclipse.cdt.autotools.ui.automake.editor.macro_def=255,191,38" + "org.eclipse.cdt.autotools.ui.automake.editor.function=18,144,195" + "org.eclipse.cdt.autotools.ui.automake.editor.default=200,200,200" +} diff --git a/build/org.eclipse.cdt.autotools.core/plugin.xml b/build/org.eclipse.cdt.autotools.core/plugin.xml index 27493675eeb..09bbe747b2e 100644 --- a/build/org.eclipse.cdt.autotools.core/plugin.xml +++ b/build/org.eclipse.cdt.autotools.core/plugin.xml @@ -656,4 +656,13 @@ prefer-non-shared="true"> + + + + + + diff --git a/build/org.eclipse.cdt.make.ui/css/e4-dark_make.css b/build/org.eclipse.cdt.make.ui/css/e4-dark_make.css new file mode 100644 index 00000000000..e9694f42dce --- /dev/null +++ b/build/org.eclipse.cdt.make.ui/css/e4-dark_make.css @@ -0,0 +1,21 @@ +/******************************************************************************* + * Copyright (c) 2022 Kichwa Coders Canada Inc. and others. + * + * This program and the accompanying materials + * are made available under the terms of the Eclipse Public License 2.0 + * which accompanies this distribution, and is available at + * https://www.eclipse.org/legal/epl-2.0/ + * + * SPDX-License-Identifier: EPL-2.0 + ******************************************************************************/ + +IEclipsePreferences#org-eclipse-cdt-make-ui:org-eclipse-cdt-make-ui { + preferences: + "org.eclipse.cdt.make.ui.editor.comment=98,98,98" + "org.eclipse.cdt.make.ui.editor.keyword=221,40,103" + "org.eclipse.cdt.make.ui.editor.macro_ref=121,171,255" + "org.eclipse.cdt.make.ui.editor.macro_def=255,191,38" + "org.eclipse.cdt.make.ui.editor.function=18,144,195" + "org.eclipse.cdt.make.ui.editor.default=200,200,200" + "org.eclipse.cdt.make.ui.editor.matching.brackets.color=170,170,170" +} diff --git a/build/org.eclipse.cdt.make.ui/plugin.xml b/build/org.eclipse.cdt.make.ui/plugin.xml index 76e21adb9d2..69eaf7532e3 100644 --- a/build/org.eclipse.cdt.make.ui/plugin.xml +++ b/build/org.eclipse.cdt.make.ui/plugin.xml @@ -658,4 +658,13 @@ tabClass="org.eclipse.cdt.make.internal.ui.MakeBuildSettingsTab"> + + + + + +