Css file won't apply to the component
Judith-coder opened this issue · comments
Hello,
As indicated in the docs, I installed react-colorpickr and added the css link '' into the head of my index.html file but the style won't apply to the component ColorPicker.
The css file also seems empty (only .bg-tile and .gradient-hue mentionned).
From the docs, the link to the react-colorpickr.css leds to a 404.
Am I the only one facing this issue? How is it possible to fix this ?
Thanks.
Hi! Thanks for the flag about the bad link in the docs. That CSS file as you mentioned can be found here but the example also uses a CSS framework here at Mapbox called Assembly.
The colorpicker has themeable overrides if you want to do your own thing too. Hope that helps!