/** * Copyright 2004-2016 Riccardo Solmi. All rights reserved. * This file is part of the Whole Platform. * * The Whole Platform is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * The Whole Platform is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public License * along with the Whole Platform. If not, see <http://www.gnu.org/licenses/>. */ package org.whole.lang.ui.figures; import org.eclipse.swt.graphics.Color; import org.eclipse.swt.graphics.Font; /** * @author Riccardo Solmi */ public class FigureConstants { //TODO make customizable ??? public static Color brightBlueColor = new Color(null, 180, 213, 255); public static Color blueColor = new Color(null, 112, 158, 230); public static Color lightBlueColor = new Color(null, 194, 212, 243); public static Color yellowColor = new Color(null, 255, 181, 21); public static Color lightGray = new Color(null, 233, 233, 233); public static Color darkRed = new Color(null, 127, 0, 0); public static Color darkOrange = new Color(null, 127, 98, 0); //TODO make customizable ??? public static Color deleteBackgroundColor = new Color(null, 255, 221, 221); public static Color addBackgroundColor = new Color(null, 222, 253, 223); public static Color deleteColor = new Color(null, 253, 170, 171); public static Color addColor = new Color(null, 112, 195, 74); public static Color add2Color = new Color(null, 181, 225, 181); public static Color collapseBackgroundColor = new Color(null, 248, 248, 255); public static Color collapseColor = new Color(null, 188, 208, 249); public static Color reviewCommentBackgroundColor = new Color(null, 255, 250, 233); public static Color reviewCommentColor = new Color(null, 222, 162, 97); //TODO make customizable ??? public static int templateLanguageAlpha = 130; public static int hostLanguageAlpha = 30; public static Font monospaceFontSmall; public static Font monospaceFontRegular; public static Font monospaceFontMedium; public static Font monospaceFontLarge; public static Font sanserifFontSmall; public static Font sanserifFontRegular; public static Font sanserifFontMedium; public static Font sanserifFontLarge; public static Font serifFontSmall; public static Font serifFontRegular; public static Font serifFontMedium; public static Font serifFontLarge; public static Font symbolFontSmall; public static Font symbolFontRegular; public static Font symbolFontMedium; public static Font symbolFontLarge; public static Color selectionColor; public static Color matchingSelectionColor; public static Color hostLanguageColor; public static Color templateLanguageColor; public static Color modulesColor; public static Font modulesFont; public static Color declarationsColor; public static Font declarationsFont; public static Color relationsColor; public static Font relationsFont; public static Color keywordsColor; public static Font keywordsFont; public static Color identifiersColor; public static Font identifiersFont; public static Color literalsColor; public static Font literalsFont; public static Color errorsColor; public static Font errorsFont; public static Color contentColor; public static Font contentFont; public static Color contentDarkColor; public static Font contentDarkFont; public static Color contentLightColor; public static Font contentLightFont; public static Color contentLighterColor; public static Font contentLighterFont; }