(brandColor: string)
| 199 | //when it is not focused and the brand color is dark the font color should be white |
| 200 | |
| 201 | const fontColor = (brandColor: string) => { |
| 202 | if (isFocused) return 'black'; |
| 203 | //gray-100 |
| 204 | //gray-900 |
| 205 | return pickTextColorBasedOnBgColor(brandColor, '#f3f4f6', '#111827'); |
| 206 | }; |
| 207 | |
| 208 | return ( |
| 209 | <div |
no test coverage detected