blob: ec93b79061fc394fb396986e0f19cd63dc18c8a3 [file] [log] [blame]
/*******************************************************************************
* Copyright (c) 2014, 2022 Andrea Guarinoni and others.
* All rights reserved. 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
*
* Contributors:
* Andrea Guarinoni - initial API and implementation
* Fabio Zadrozny - Bug 465672 - EGit staging view and commit page are not properly styled
* Lars Vogel <Lars.Vogel@vogella.com> - Bug 466486
*******************************************************************************/
/* ############################## EGIT preferences ############################## */
/* See bug 466075 about the pseudo-selector ":org-eclipse-egit-ui" */
IEclipsePreferences#org-eclipse-ui-workbench:org-eclipse-egit-ui {
preferences:
'org.eclipse.egit.ui.CommitMessageCommentColor=128,128,128'
'org.eclipse.egit.ui.DiffAddBackgroundColor=11,121,90'
'org.eclipse.egit.ui.DiffAddForegroundColor=216,254,245'
'org.eclipse.egit.ui.DiffHeadlineBackgroundColor=71,71,71'
'org.eclipse.egit.ui.DiffHeadlineForegroundColor=242,242,242'
'org.eclipse.egit.ui.DiffHunkBackgroundColor=53,97,113'
'org.eclipse.egit.ui.DiffHunkForegroundColor=233,242,254'
'org.eclipse.egit.ui.DiffRemoveBackgroundColor=117,2,36'
'org.eclipse.egit.ui.DiffRemoveForegroundColor=255,232,237'
'org.eclipse.egit.ui.IgnoredResourceBackgroundColor=47,47,47'
'org.eclipse.egit.ui.IgnoredResourceForegroundColor=120,120,120'
'org.eclipse.egit.ui.UncommittedChangeBackgroundColor=47,47,47'
'org.eclipse.egit.ui.UncommittedChangeForegroundColor=114,157,186'
}
/*
* The default e4_dark_partstyle.css has .MPart Composite > StyledText with a lighter background.
* Override this with a more specific selector.
*/
.MPart Composite > StyledText.org-eclipse-egit-ui-CommitAndDiffComponent {
background-color: inherit;
color: inherit;
}
/*
* Use a darker background for the tables in the Git history page. The default dark theme assigns
* a slightly lighter background otherwise; we want the default background color as is used for
* other views (#2F2F2F; decimal 47,47,47).
*/
Table.org-eclipse-egit-ui-GitHistoryPage {
background-color: inherit;
}
/*
* Same for the staged/unstaged tree viewers in the staging view.
*/
.MPart Section Tree.org-eclipse-egit-ui-StagingView {
background-color: inherit;
}