I am currently using arbitrary values inside a component files, using it in inline class, and repeated it. So the code is now spammed with *-[...] things. I don't want this. What i want is, it has registred as class by extending to the tailwindcss.config.cjs config file.
I have bg-[#ACACAC], when i need it on another element, I don't want to repeat the same way. Copying this code and paste it inside another class="...". I want this thing is registred as new class and using it like bg-my-own-grey so it can be more readable by newbies or people that only understanding css and it's syntax.
I will fix this issue when i want but if anyone is interested in helping, feel free. Just fork, made your changes, and send a PR.
I am currently using arbitrary values inside a component files, using it in inline class, and repeated it. So the code is now spammed with
*-[...]
things. I don't want this. What i want is, it has registred as class by extending to thetailwindcss.config.cjs
config file.I have
bg-[#ACACAC]
, when i need it on another element, I don't want to repeat the same way. Copying this code and paste it inside anotherclass="..."
. I want this thing is registred as new class and using it likebg-my-own-grey
so it can be more readable by newbies or people that only understanding css and it's syntax.I will fix this issue when i want but if anyone is interested in helping, feel free. Just fork, made your changes, and send a PR.