Skip to content

Commit

Permalink
add needed icons
Browse files Browse the repository at this point in the history
  • Loading branch information
elevatebart committed Aug 25, 2023
1 parent 3cfadc4 commit f867e5e
Show file tree
Hide file tree
Showing 5 changed files with 38 additions and 0 deletions.
8 changes: 8 additions & 0 deletions components/StatusIcon/constants/src/constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,14 @@ const constStatuses = {
// <tw-keep fillColor="gray-100" />
secondaryColor: 'gray-100',
},
failing: {
// <tw-keep strokeColor="red-400" />
color: 'red-400',
use: 'Runs, specs, groups, test results',
variants: ['outline'],
// <tw-keep fillColor="gray-100" />
secondaryColor: 'gray-100',
},
passed: {
// <tw-keep strokeColor="jade-400" />
color: 'jade-400',
Expand Down
9 changes: 9 additions & 0 deletions components/StatusIcon/constants/src/outline-imports.ts
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,8 @@ import {
cyStatusRunningOutlineX24,
cyStatusRunningSimpleX4,
cyStatusRunningSimpleX8,
cyStatusFailingOutlineX16,
cyStatusFailingOutlineX24,
cyStatusPlaceholderSolidX12,
cyStatusPlaceholderSolidX16,
cyStatusPlaceholderSolidX24,
Expand All @@ -56,6 +58,13 @@ export const statuses: Record<string, IconSet> = {
size16Icon: cyStatusRunningOutlineX16,
size24Icon: cyStatusRunningOutlineX24,
},
failing: {
size4Icon: cyStatusRunningSimpleX4,
size8Icon: cyStatusRunningSimpleX8,
size12Icon: cyStatusRunningOutlineX12,
size16Icon: cyStatusFailingOutlineX16,
size24Icon: cyStatusFailingOutlineX24,
},
passed: {
size4Icon: cyStatusPassedSimpleX4,
size8Icon: cyStatusPassedSimpleX8,
Expand Down
8 changes: 8 additions & 0 deletions icon-registry/icons/status-failing-outline_x12.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
5 changes: 5 additions & 0 deletions icon-registry/icons/status-failing-outline_x4.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
8 changes: 8 additions & 0 deletions icon-registry/icons/status-failing-outline_x8.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit f867e5e

Please sign in to comment.