Skip to content

Commit 20081ee

Browse files
author
Conrad Chan
authored
feat(highlights): Change highlight to bdlYellow (#561)
1 parent 7bb178e commit 20081ee

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/highlight/HighlightCanvas.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import * as React from 'react';
2-
import { bdlYellorange, black, white } from 'box-ui-elements/es/styles/variables';
2+
import { bdlYellow, black, white } from 'box-ui-elements/es/styles/variables';
33
import { Rect } from '../@types';
44
import './HighlightCanvas.scss';
55

@@ -107,7 +107,7 @@ export default class HighlightCanvas extends React.PureComponent<Props> {
107107
context.save();
108108

109109
// Draw the highlight rect
110-
context.fillStyle = bdlYellorange;
110+
context.fillStyle = bdlYellow;
111111
context.globalAlpha = isActive ? 0.66 : 0.33;
112112
this.roundRect(context, x1, y1, rectWidth, rectHeight, 5, true, false);
113113
context.restore();

0 commit comments

Comments
 (0)