@finos/legend-application
Version:
Legend application core
51 lines • 2.32 kB
JavaScript
/**
* Copyright (c) 2020-present, Goldman Sachs
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
export var LEGEND_APPLICATION_COLOR_THEME;
(function (LEGEND_APPLICATION_COLOR_THEME) {
LEGEND_APPLICATION_COLOR_THEME["DEFAULT_DARK"] = "default-dark";
LEGEND_APPLICATION_COLOR_THEME["LEGACY_LIGHT"] = "legacy-light";
LEGEND_APPLICATION_COLOR_THEME["HIGH_CONTRAST_LIGHT"] = "hc-light";
})(LEGEND_APPLICATION_COLOR_THEME || (LEGEND_APPLICATION_COLOR_THEME = {}));
export const DEFAULT_DARK_COLOR_THEME = {
name: 'Default Dark (default)',
key: LEGEND_APPLICATION_COLOR_THEME.DEFAULT_DARK,
TEMPORARY__globalCSSClassName: 'theme__default-dark',
colors: {
'data-access-overview.chart.access-granted': '#6a9955',
'data-access-overview.chart.access-approved': '#007acc',
'data-access-overview.chart.access-requested': '#fbbc05',
'data-access-overview.chart.access-not-granted': '#ea4646',
'data-access-overview.chart.unsupported-access': '#2d2d2d',
},
};
export const LEGACY_LIGHT_COLOR_THEME = {
name: 'Legacy Light',
key: LEGEND_APPLICATION_COLOR_THEME.LEGACY_LIGHT,
TEMPORARY__globalCSSClassName: 'theme__legacy-light',
};
export const HIGH_CONTRAST_LIGHT_COLOR_THEME = {
name: 'High-Contrast Light',
key: LEGEND_APPLICATION_COLOR_THEME.HIGH_CONTRAST_LIGHT,
TEMPORARY__globalCSSClassName: 'theme__hc-light',
colors: {
'data-access-overview.chart.access-granted': '#52a31d',
'data-access-overview.chart.access-approved': '#3d8df5',
'data-access-overview.chart.access-requested': '#f5c518',
'data-access-overview.chart.access-not-granted': '#fa5343',
'data-access-overview.chart.unsupported-access': '#e1e7ea',
},
};
//# sourceMappingURL=LegendApplicationColorTheme.js.map