Skip to content

Commit

Permalink
change highlight color to new primary color
Browse files Browse the repository at this point in the history
  • Loading branch information
hofstef committed Nov 26, 2024
1 parent 7635657 commit 138fab4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/app/tools/replay/domain/replayConstants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@ export const NUMBER_BACKGROUND_COLOR = 'white';
export const NUMBER_COLOR = 'black';
export const STROKE_WIDTH = '1.5';

export const HIGHLIGHT_NUMBER_BACKGROUNG_COLOR = '#43acbf';
export const HIGHLIGHT_NUMBER_BACKGROUND_COLOR = '#a4d7e1';
export const HIGHLIGHT_NUMBER_COLOR = 'black';
export const HIGHLIGHT_STROKE_WIDTH = '4';
4 changes: 2 additions & 2 deletions src/app/tools/replay/services/dom-manipulation.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import { ElementRegistryService } from 'src/app/domain/services/element-registry
import { ElementTypes } from 'src/app/domain/entities/elementTypes';
import { StorySentence } from 'src/app/tools/replay/domain/storySentence';
import {
HIGHLIGHT_NUMBER_BACKGROUNG_COLOR,
HIGHLIGHT_NUMBER_BACKGROUND_COLOR,
HIGHLIGHT_NUMBER_COLOR,
HIGHLIGHT_STROKE_WIDTH,
NUMBER_BACKGROUND_COLOR,
Expand Down Expand Up @@ -137,7 +137,7 @@ export class DomManipulationService {
const { numberBackgroundDom, numberTextDom } =
this.getNumberDomForActivity(activityDomObject);
if (numberTextDom && numberBackgroundDom) {
numberBackgroundDom.style.fill = HIGHLIGHT_NUMBER_BACKGROUNG_COLOR;
numberBackgroundDom.style.fill = HIGHLIGHT_NUMBER_BACKGROUND_COLOR;
numberTextDom.style.fill = HIGHLIGHT_NUMBER_COLOR;
}
}
Expand Down

0 comments on commit 138fab4

Please sign in to comment.