HTML
<div class="copy-block prose-xl prose-red prose">
<h1>POTENTIAL MADE POSSIBLE</h1>
<p class="f">For 30 years, companies have relied on Habitat Commons to empower them to achieve their full potential by providing strategic and creative solutions for growth. We are focused on creating results through partnership, expertise and innovation.For 30 years, companies have relied on Habitat Commons to empower them to achieve their full potential by providing
strategic and creative solutions for growth. We are focused on creating results through partnership, expertise and
innovation.</p>
</div>
The color assigned to that h1 is text-gray-900 (I dont know why).
CSS
I am trying to find the best way to set up paragraphs headers etc. So this is my attempt (not working)
h1 {
@apply text-cyan;
}
that does not show up in the dom anywhere.
My stack
- angular 12
- scss
- nx workspace (nrwl)
- tailwindcss: 2.1.2
I am new to TW and I am trying to do everything the "new" way but it is very tempting just to go back to old ways.
I have two questions that could clear this up.
I am new to TW and I am trying to do everything the "new" way but it is very tempting just to go back to old ways.
- What is the recommended way to define typography sizes // line-height // font-family etc?
- where is
text-gray-900defined as header text color? (do you recommend anything to read?)