({
theme,
mode,
}: {
theme: InternalTheme;
mode: CardMode;
})
| 96 | }; |
| 97 | |
| 98 | export const getCardColors = ({ |
| 99 | theme, |
| 100 | mode, |
| 101 | }: { |
| 102 | theme: InternalTheme; |
| 103 | mode: CardMode; |
| 104 | }) => { |
| 105 | const isMode = (modeToCompare: CardMode) => { |
| 106 | return mode === modeToCompare; |
| 107 | }; |
| 108 | |
| 109 | return { |
| 110 | backgroundColor: getBackgroundColor({ |
| 111 | theme, |
| 112 | isMode, |
| 113 | }), |
| 114 | borderColor: getBorderColor({ theme }), |
| 115 | }; |
| 116 | }; |
no test coverage detected
searching dependent graphs…