Skip to content

Commit

Permalink
fix: colors casing
Browse files Browse the repository at this point in the history
  • Loading branch information
benjamin-rocks committed Feb 15, 2022
1 parent b5b7bff commit 753f4f4
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 15 deletions.
28 changes: 14 additions & 14 deletions src/prefabs/types/prefabs/theme-color.ts
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
export enum ThemeColor {
PRIMARY = 'PRIMARY',
SECONDARY = 'SECONDARY',
SUCCESS = 'SUCCESS',
INFO = 'INFO',
WARNING = 'WARNING',
DANGER = 'DANGER',
BLACK = 'BLACK',
DARK = 'DARK',
MEDIUM = 'MEDIUM',
LIGHT = 'LIGHT',
WHITE = 'WHITE',
ACCENT_1 = 'ACCENT 1',
ACCENT_2 = 'ACCENT 2',
ACCENT_3 = 'ACCENT 3',
PRIMARY = 'Primary',
SECONDARY = 'Secondary',
SUCCESS = 'Success',
INFO = 'Info',
WARNING = 'Warning',
DANGER = 'Danger',
BLACK = 'Black',
DARK = 'Dark',
MEDIUM = 'Medium',
LIGHT = 'Light',
WHITE = 'White',
ACCENT_1 = 'Accent1',
ACCENT_2 = 'Accent2',
ACCENT_3 = 'Accent3',
TRANSPARENT = 'transparent'
}
2 changes: 1 addition & 1 deletion tests/prefabs/factories/color.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ test('color builds variable option with a value', (t) => {
})('color');

const expected = {
value: 'BLACK',
value: 'Black',
key: 'color',
type: 'COLOR',
label: 'Border color (hover)',
Expand Down

0 comments on commit 753f4f4

Please sign in to comment.