Ground rules
Non-negotiable conventions when using Varde.
The non-negotiables
- Never use Varde's variables directly.
- Never override an internal CSS property. They start with an underscore, like
--_button-base. - Don't overuse
ink-prominent. Headings already carry a larger size and bolder weight. - Don't combine
bg-wash:hoverwith asurface-*on the same element. Setsurface-*on a parent, then use the wash for the hover effect.
Use semantic elements
<time datetime="">for time.<nav>for navigation.