Docs / Font Weight
Font Weight
vel-src: typography.css
Utilities for controlling the font weight of an element.
| Class | Properties |
|---|
| vel-font-thin | font-weight: 100 |
| vel-font-extralight | font-weight: 200 |
| vel-font-light | font-weight: 300 |
| vel-font-normal | font-weight: 400 |
| vel-font-medium | font-weight: 500 |
| vel-font-semibold | font-weight: 600 |
| vel-font-bold | font-weight: 700 |
| vel-font-extrabold | font-weight: 800 |
| vel-font-black | font-weight: 900 |
Examples
Weight scale
vel-font-thin — VeloraCSS (100)
vel-font-light — VeloraCSS (300)
vel-font-normal — VeloraCSS (400)
vel-font-medium — VeloraCSS (500)
vel-font-semibold — VeloraCSS (600)
vel-font-bold — VeloraCSS (700)
vel-font-black — VeloraCSS (900)
<div class="vel-flex vel-flex-col vel-gap-2">
<p class="vel-font-thin vel-text-lg" style="color:#e2e8f0">vel-font-thin — VeloraCSS (100)</p>
<p class="vel-font-light vel-text-lg" style="color:#e2e8f0">vel-font-light — VeloraCSS (300)</p>
<p class="vel-font-normal vel-text-lg" style="color:#e2e8f0">vel-font-normal — VeloraCSS (400)</p>
<p class="vel-font-medium vel-text-lg" style="color:#e2e8f0">vel-font-medium — VeloraCSS (500)</p>
<p class="vel-font-semibold vel-text-lg" style="color:#e2e8f0">vel-font-semibold — VeloraCSS (600)</p>
<p class="vel-font-bold vel-text-lg" style="color:#e2e8f0">vel-font-bold — VeloraCSS (700)</p>
<p class="vel-font-black vel-text-lg" style="color:#a87fff">vel-font-black — VeloraCSS (900)</p>
</div>