Styled Unordered Lists
use marker: to add colored discs
The skinny on elegant lists:

To provided colored bullets, and indented list items use the following classes on the UL element;
<ul class="ml-4 space-y-4 list-disc marker:text-red-700">
ml-4
to indent the (default) list-outside so that the bullets align with the left of the paragraph
space-y-4
to add vertical spacing between all the ul
children
marker:text-red-700
sets the color of the disc element
Last updated
Was this helpful?