Update color object map to match new theme

pull/12/head
J M Rossy 2 years ago
parent 9611f69ce3
commit 164f7ab2c4
  1. 4
      src/styles/Color.ts

@ -5,7 +5,7 @@ export enum Color {
primaryGray = '#6B7280',
primaryBlue = '#025AA1',
primaryBeige = '#F1EDE9',
primaryRed = '#D2372D',
primaryRed = '#BF1B15',
}
// Useful for cases when using class names isn't convenient
@ -14,7 +14,7 @@ export function classNameToColor(className) {
switch (className) {
case 'bg-blue-500':
return Color.primaryBlue;
case 'bg-red-600':
case 'bg-red-500':
return Color.primaryRed;
case 'bg-gray-500':
return Color.primaryGray;

Loading…
Cancel
Save