Typography
The default font for texts in Neptune CSS is Open Sans. Poppins is the font for headlines.
Headlines
You can use the h1
...h6
tags or the .headline-1
... .headline-6
classes to make a headline with Neptune CSS.
Class | Font size | Font weight | Line height |
---|---|---|---|
| 56px | 900 | 72px |
| 40px | 800 | 56px |
| 28px | 800 | 40px |
| 26px | 700 | 32px |
| 22px | 700 | 32px |
| 20px | 600 | 28px |
Sizes
There are 3 different sizes for <p>
, <a>
and <span>
tags: .text-s
, .text-m
, .text-l
Class | Font size | Font weight | Line height |
---|---|---|---|
| 12px | 400 | 16px |
| 14px | 400 | 20px |
| 16px | 400 | 27px |
Align
Text Align Classes |
---|
|
|
|
|
|
|
Styles
Text Style Classes |
---|
|
|
|
|
|
|
|
|
Highlighting
Text Class | Color Variable |
---|---|
| |
| |
|
Last updated