Skip to content

Commit

Permalink
Removed the gre-rgb color which is kind of redundant and also fixed t…
Browse files Browse the repository at this point in the history
…he name of the gray-color
  • Loading branch information
svilenvelikov committed Sep 14, 2023
1 parent 1d8bcd0 commit f81d024
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion docs/developers-guide.md
Original file line number Diff line number Diff line change
Expand Up @@ -219,7 +219,7 @@ PluginRegistry.add('themes', {
'tertiary-color-lightness': '33.5%',
// A color used for the font/svg icons when placed on a primary color background.
'icon-on-primary-color': 'rgba(255, 255, 255, 0.8)',
'grey-color': '#97999C',
'gray-color': '#97999C',
// Colors for the toastr notifications in any of their four states.
'color-danger-dark': '#a41424',
'color-success-dark': '#005934',
Expand Down
4 changes: 2 additions & 2 deletions src/css/clustermanagement.css
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ path.link {

.node {
cursor: pointer;
fill: var(--grey-color);
fill: var(--gray-color);
stroke: black;
}

Expand All @@ -64,7 +64,7 @@ path.link {
}

.node.other {
fill: var(--grey-color)
fill: var(--gray-color)
}

#node-group.legend .node {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ export const clusterColors = {
ontoOrange: 'var(--primary-color)',
ontoBlue: 'var(--secondary-color)',
ontoGreen: 'var(--tertiary-color)',
ontoGrey: 'var(--grey-color)'
ontoGrey: 'var(--gray-color)'
};

export function createClusterSvgElement(element) {
Expand Down
4 changes: 2 additions & 2 deletions src/js/angular/core/services/theme-service.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ const ThemeDefinitionModel = {
'tertiary-color-saturation': null,
'tertiary-color-lightness': null,
'icon-on-primary-color': null,
'grey-color': null,
'gray-color': null,
'color-danger-dark': null,
'color-success-dark': null,
'color-warning-dark': null,
Expand Down Expand Up @@ -213,7 +213,7 @@ function ThemeService(workbenchSettingsStorageService, $translate, toastr) {
--icon-on-primary-color: ${themeDefinition['icon-on-primary-color']};
--grey-color: ${themeDefinition['grey-color']};
--gray-color: ${themeDefinition['gray-color']};
--color-danger-dark: ${themeDefinition['color-danger-dark']};
--color-success-dark: ${themeDefinition['color-success-dark']};
Expand Down
2 changes: 1 addition & 1 deletion src/themes/default/plugin.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ PluginRegistry.add('themes', {
'tertiary-color-lightness': '33.5%',
// A color used for the font/svg icons when placed on a primary color background.
'icon-on-primary-color': 'rgba(255, 255, 255, 0.8)',
'grey-color': '#97999C',
'gray-color': '#97999C',
// Colors for the toastr notifications in any of their four states.
'color-danger-dark': '#a41424',
'color-success-dark': '#005934',
Expand Down
2 changes: 1 addition & 1 deletion src/themes/onto-original/plugin.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ PluginRegistry.add('themes', {
'tertiary-color-saturation': '97.7%',
'tertiary-color-lightness': '33.5%',
'icon-on-primary-color': 'rgba(255, 255, 255, 0.8)',
'grey-color': '#97999C',
'gray-color': '#97999C',
'color-danger-dark': '#bd362f',
'color-success-dark': '#51a351',
'color-warning-dark': '#f89406',
Expand Down

0 comments on commit f81d024

Please sign in to comment.