feat: Condense color extraction logic and improve fallback (#7347)
* refactor: move getColor to src * refactor useColor to use getColor function * remove consts * refactor files * clean up color convert fn * move getColor test and import test images * hardcode array buffers for images * add invalid png
Showing
src/constants/tokenColors.ts
0 → 100644
src/test-utils/images.ts
0 → 100644
src/utils/getColor.test.ts
0 → 100644
Please register or sign in to comment