({
color,
isDark,
isV3,
}: BaseProps & { color: string })
| 50 | }; |
| 51 | |
| 52 | export const getAppbarColor = ({ |
| 53 | color, |
| 54 | isDark, |
| 55 | isV3, |
| 56 | }: BaseProps & { color: string }) => { |
| 57 | if (typeof color !== 'undefined') { |
| 58 | return color; |
| 59 | } |
| 60 | |
| 61 | if (isDark) { |
| 62 | return white; |
| 63 | } |
| 64 | |
| 65 | if (isV3) { |
| 66 | return undefined; |
| 67 | } |
| 68 | |
| 69 | return black; |
| 70 | }; |
| 71 | |
| 72 | export const getAppbarBorders = ( |
| 73 | style: |
no outgoing calls
no test coverage detected
searching dependent graphs…