Skip to main content

Typography

Documentation and examples for typography, including global settings, headings, body text, lists, and more.

Global settings

Startkit sets basic global display, typography, and link styles. When more control is needed, check out the assets/scss/base/_typography.scss file.

  • For a more inclusive and accessible type scale, the default root font-size is 16px.
  • Use the $regular-font, $headline-font, $font-size-base, and $line-height-base attributes as our typographic base applied to the <html>.
  • Set the global link color via $link-color.
  • Use $page-bg to set a background-color on the <html> (#fff by default).

These styles can be found within _fonts.scss, and the global color variables are defined in _colors.scss. Make sure to set $font-size-base in px.

Headings

All HTML headings, <h1> through <h6>, are available.

HeadingExample
<h1></h1>h1. Heading
<h2></h2>h2. Heading
<h3></h3>h3. Heading
<h4></h4>h4. Heading
<h5></h5>h5. Heading
<h6></h6>h6. Heading
                    
<h1>h1. Heading</h1>
<h2>h2. Heading</h2>
<h3>h3. Heading</h3>
<h4>h4. Heading</h4>
<h5>h5. Heading</h5>
<h6>h6. Heading</h6>
                    
                

.h1 through .h6 classes are also available, for when you want to match the font styling of a heading but cannot use the associated HTML element.

h1. Heading

h2. Heading

h3. Heading

h4. Heading

h5. Heading

h6. Heading

                    
<p class="h1">h1. Heading</p>
<p class="h2">h2. Heading</p>
<p class="h3">h3. Heading</p>
<p class="h4">h4. Heading</p>
<p class="h5">h5. Heading</p>
<p class="h6">h6. Heading</p>
                    
                

Display headings

Traditional heading elements are designed to work best in the meat of your page content. When you need a heading to stand out, consider using a display heading—a larger, slightly more opinionated heading style.

Display 1
Display 2
Display 3
Display 4
Display 5
Display 6
                    
<h1 class="display-1">Display 1</h1>
<h1 class="display-2">Display 2</h1>
<h1 class="display-3">Display 3</h1>
<h1 class="display-4">Display 4</h1>
<h1 class="display-5">Display 5</h1>
<h1 class="display-6">Display 6</h1>
                    
                

Display headings are configured inside assets/scss/base/_typography.scss file.

Buttons

Svi button tipovi iz dizajn sistema — btn-magnetic varijante i utility dugmad.

btn-magnetic — tamna pozadina

.btn-magnetic--orange .btn-magnetic--ghost-light .btn-magnetic

btn-magnetic — svetla pozadina

.btn-magnetic .btn-magnetic--ghost .btn-magnetic--orange

btn--nav — navigacione strelice

|
.btn--nav   .btn--nav.btn--nav-light

btn--filter — filter tabs

.btn--filter   .btn--filter.is-active

btn--view — prikaz toggl

Prikaz
.btn--view   .btn--view.is-active

btn--channel — kontakt kanali

.btn--channel   .btn--channel.is-wa

btn--share — mikro / share

.btn--share

btn--zoom — zoom badge

44×44px · Orange bg · Obsidian icon
.btn--zoom
05 — Form Elements
Form na tamnoj pozadini (Consult / Contact)
Unesite broj telefona.
Success State
Hvala, Marko.
Javljamo se u roku od 24h.
Form Anatomy
Container BG: rgba(247,244,238,0.04) + backdrop-filter: blur(12px)
Container border: 1px solid rgba(255,255,255,0.1)
Container padding: 48px (desktop) · 32px 24px (mobile)
Label font: JetBrains Mono 10px · ls 0.25em · uppercase
Label color: rgba(247,244,238,0.55)
Input: transparent bg · no border · border-bottom only
Input border-bottom: rgba(255,255,255,0.2) → orange on focus
Input padding: 12px 0
Input font: Tenor Sans 15px · color: var(--ms-bone)
Error border: #ff6b3d
Error text: JetBrains Mono 10px · #ff8a5c · ls 0.15em
Grid layout: 2 columns on desktop · 1 column on mobile