Styling issues with \e[0m
devacse opened this issue · 5 comments
Check this example
I am trying to use green-text color for the entire div. But after font-bold it resets all the styles.
Its because of \e[0m. Why are we resetting all the stylings?
Check this gist => https://gist.github.com/fnky/458719343aabd01cfb17a3a4f7296797
To reset each style it has its own number (i.e bold=> \e[22m, italic => \e[23m ...)
Is there any specific reason for going with \e[0m?
This is after I used the style specific ending sequences instead of \e[0m.
@xiCO2k The above PRs examples also uses \e[0m. Not sure whether it will fix the issue or not. Anyway will wait for the PR merge.
And one more thing as per https://tailwindcss.com/docs/list-style-type the default list style for both ul & ol is none.
In termwind by default disc and decimal gets added. In case if I want no stylings for ul or ol is there any styles/classes available?