(queryColor: string, fontColor?: string)
| 51 | }; |
| 52 | |
| 53 | export const generateAutoByTime = (queryColor: string, fontColor?: string) => { |
| 54 | if (queryColor === "timeAuto") return randomizedByTime(pallete, fontColor); |
| 55 | // else 'timeGradient' |
| 56 | return randomizedByTime(gradient, fontColor); |
| 57 | }; |
| 58 | |
| 59 | export const checkThemeColor = (stats: string) => { |
| 60 | return pallete_theme[stats]; |
no test coverage detected