Skip to content

Commit dbc7103

Browse files
tjguptamergify[bot]
authored andcommitted
feat: default task icons to $bdl-box-blue (#1509)
1 parent cfec5e1 commit dbc7103

File tree

5 files changed

+8
-8
lines changed

5 files changed

+8
-8
lines changed

src/icons/two-toned/IconTaskApproval.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import * as React from 'react';
33

44
import AccessibleSVG from '../accessible-svg';
55
import type { TwoTonedIcon } from '../flowTypes';
6-
import { bdlYellorange, white } from '../../styles/variables';
6+
import { bdlBoxBlue, white } from '../../styles/variables';
77

88
const IconTaskApproval = ({ className = '', height = 24, title, width = 24 }: TwoTonedIcon) => (
99
<AccessibleSVG
@@ -14,7 +14,7 @@ const IconTaskApproval = ({ className = '', height = 24, title, width = 24 }: Tw
1414
width={width}
1515
>
1616
<g fill="none" fillRule="nonzero">
17-
<circle className="background-color" fill={bdlYellorange} cx="16" cy="16" r="16" />
17+
<circle className="background-color" fill={bdlBoxBlue} cx="16" cy="16" r="16" />
1818
<g transform="translate(8 5.333)" className="foreground-color" fill={white}>
1919
<path d="M11.267 6.51c-1.133 2.242-1.669 4.276-1.614 6.102.006.213-.177.388-.405.388H6.752c-.228 0-.41-.175-.405-.388.055-1.826-.481-3.86-1.614-6.102C2.953 2.986 4.557 0 8 0s5.047 2.986 3.267 6.51z" />
2020
<rect y="14.337" width="16" height="3.353" rx="1.676" />

src/icons/two-toned/IconTaskGeneral.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import * as React from 'react';
33

44
import AccessibleSVG from '../accessible-svg';
55
import type { TwoTonedIcon } from '../flowTypes';
6-
import { bdlGreenLight, white } from '../../styles/variables';
6+
import { bdlBoxBlue, white } from '../../styles/variables';
77

88
const IconTaskGeneral = ({ className = '', height = 24, title, width = 24 }: TwoTonedIcon) => (
99
<AccessibleSVG
@@ -14,7 +14,7 @@ const IconTaskGeneral = ({ className = '', height = 24, title, width = 24 }: Two
1414
width={width}
1515
>
1616
<g fillRule="nonzero" fill="none">
17-
<circle className="background-color" fill={bdlGreenLight} cx="16.162" cy="16.162" r="16" />
17+
<circle className="background-color" fill={bdlBoxBlue} cx="16.162" cy="16.162" r="16" />
1818
<path
1919
d="M11.717 8.162v.889c0 1.472.995 2.666 2.222 2.666h4.445c1.227 0 2.222-1.194 2.222-2.666v-.89h1.281c.766 0 1.386.62 1.386 1.386v13.23c0 .764-.62 1.385-1.386 1.385H10.436c-.765 0-1.385-.62-1.385-1.386V9.546c0-.764.62-1.384 1.385-1.384h1.281zm6.463 6.503l-2.741 2.924-1.354-1.203a.889.889 0 1 0-1.18 1.329l2 1.778c.36.32.909.295 1.238-.057l3.334-3.555a.889.889 0 1 0-1.297-1.216zm-4.981-6.503h5.926v.889c0 .49-.332.888-.741.888h-4.445c-.409 0-.74-.398-.74-.888v-.89z"
2020
className="foreground-color"

src/icons/two-toned/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ const icons = [
118118
}
119119
120120
.icon-task-general-example .background-color {
121-
fill: #0061d5;
121+
fill: #26c281;
122122
}
123123
`}
124124
</style>
@@ -140,7 +140,7 @@ const icons = [
140140
}
141141
142142
.icon-task-approval-example .background-color {
143-
fill: #0061d5;
143+
fill: #f5b31b;
144144
}
145145
`}
146146
</style>

src/icons/two-toned/__tests__/__snapshots__/IconTaskApproval-test.js.snap

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ exports[`icons/general/IconTaskApproval should correctly render default icon 1`]
1515
className="background-color"
1616
cx="16"
1717
cy="16"
18-
fill="#f5b31b"
18+
fill="#0061d5"
1919
r="16"
2020
/>
2121
<g

src/icons/two-toned/__tests__/__snapshots__/IconTaskGeneral-test.js.snap

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ exports[`icons/general/IconTaskGeneral should correctly render default icon 1`]
1515
className="background-color"
1616
cx="16.162"
1717
cy="16.162"
18-
fill="#26c281"
18+
fill="#0061d5"
1919
r="16"
2020
/>
2121
<path

0 commit comments

Comments
 (0)