Logo Dynamic Framework UI

Typography

SourceĀ® Sans 3, Google's open source typeface family. It is a sans serif typeface intended to work well in user interfaces.

To understand in more detail the font usage take a look to the following documentation:

It's recommended to use the variables as defined, in order to have the benefits of RFS with responsive designs and avoid definitions for each breakpoint already provided by bootstrap.

Our fonts configuration works the same as bootstrap, however, the values are in css variables directly in the :root using rfs and media queries instead of being directly in each tag.

Based on this, the following variables are found in the.

:root --bs-rfs-display-1 --bs-rfs-display-2 --bs-rfs-display-3 --bs-rfs-display-4 --bs-rfs-display-5 --bs-rfs-display-6 --bs-rfs-fs-1 --bs-rfs-fs-2 --bs-rfs-fs-3 --bs-rfs-fs-4 --bs-rfs-fs-5 --bs-rfs-fs-6 --bs-rfs-fs-small --bs-fs-body-large --bs-fs-body-medium --bs-fs-body-normal --bs-fs-body-small --bs-fs-body-tiny

Which are used in each tag using a reference variable:

    
      --bs-fs-display-1: var(--bs-rfs-display-1);
      --bs-fs-display-2: var(--bs-rfs-display-2);
      --bs-fs-display-3: var(--bs-rfs-display-3);
      --bs-fs-display-4: var(--bs-rfs-display-4);
      --bs-fs-display-5: var(--bs-rfs-display-5);
      --bs-fs-display-6: var(--bs-rfs-display-6);
      --bs-fs-1: var(--bs-rfs-fs-1);
      --bs-fs-2: var(--bs-rfs-fs-2);
      --bs-fs-3: var(--bs-rfs-fs-3);
      --bs-fs-4: var(--bs-rfs-fs-4);
      --bs-fs-5: var(--bs-rfs-fs-5);
      --bs-fs-6: var(--bs-rfs-fs-6);
      --bs-fs-small: var(--bs-rfs-fs-small);
      --bs-fs-body-large: var(--bs-rfs-fs-body-large);
      --bs-fs-body-medium: var(--bs-rfs-fs-body-medium);
      --bs-fs-body-normal: var(--bs-rfs-fs-body-normal);
      --bs-fs-body-small: var(--bs-rfs-fs-body-small);
      --bs-fs-body-tiny: var(--bs-rfs-fs-body-tiny);
    
  

as:

    
      h1, .h1 {
        font-size: var(--bs-fs-1);
      }

      .fs-3 {
        font-size: var(--bs-fs-3) !important;
      }

      .display-2 {
        --bs-display-font-size: var(--bs-fs-display-2);
      }

      .fs-body-small {
        --bs-fs-body-font-size: var(--bs-fs-body-small);
      }
    
  

Heading

Heading 1

Font size: 48px / 3rem
Line height: 1.2
Font weight: Regular | Bold
Mobile (375px): 30.675px / 1.9171875rem
Classes: .h1, .fs-1
Tag: h1

Text

Text


Heading 2

Font size: 40px / 2.5rem
Line height: 1.2
Font weight: Regular | Bold
Mobile (375px): 27.625px / 1.7265625rem
Classes: .h2, .fs-2
Tag: h2

Text

Text


Heading 3

Font size: 32px / 2rem
Line height: 1.2
Font weight: Regular | Bold
Mobile (375px): 25.575px / 1.5984375rem
Classes: .h3, .fs-3
Tag: h3

Text

Text


Heading 4

Font size: 24px / 1.5rem
Line height: 1.2
Font weight: Regular | Bold
Mobile (375px) 21.525px / 1.3453125rem
Classes: .h4, .fs-4
Tagh4

Text

Text


Heading 5

Font size: 20px / 1.25rem
Line height: 1.2
Font weight: Regular | Bold
Mobile (375px): 20px / 1.25rem
Classes: .h5, .fs-5
Tag: h5
Text
Text

Heading 6

Font size: 16px / 1rem
Line height: 1.2
Font weight: Regular | Bold
Mobile (375px): 16px / 1rem
Classes: .h6, .fs-6
Tag: h6
Text
Text

Body

Large

Font size: 24px / 1.5rem
Line height: 1.5
Font weight: Regular | Bold
Mobile (375px): 21.525px / 1.3453125rem
Classes: .fs-body-large

Text

Text


Medium

Font size: 20px / 1.25rem
Line height: 1.5
Font weight: Regular | Bold
Mobile (375px): 20px / 1.25rem
Classes: .fs-body-medium

Text

Text


Normal

Font size: 16px / 1rem
Line height: 1.5
Font weight: Regular | Bold
Mobile (375px): 16px / 1rem
Classes: .fs-body-normal

Text

Text


Small

Font size: 14px / 0.875rem
Line height: 1.5
Font weight: Regular | Bold
Mobile (375px): 14px / 0.875rem
Classes: .fs-body-small

Text

Text


Tiny

Font size: 13px / 0.8125rem
Line height: 1.5
Font weight: Regular | Bold
Mobile (375px): 13px / 0.8125rem
Classes: .fs-body-tiny

Text

Text

Paragraph

Font size: 16px / 1rem
Line height: 1.5
Font weight: Regular | Bold

Text

Text


Small

Font size: 14px / .875rem
Line height: 1.5
Font weight: Regular | Bold
Classes: .small
Tag: small
Text
Text

Display

Display 1

Font size: 96px / 6rem
Line height: 1.2
Font weight: Regular | Bold
Mobile (375px): 48.975px / 3.0609375rem
Classes: .display-1
Text
Text

Display 2

Font size: 88px / 5.5rem
Line height: 1.2
Font weight: Regular | Bold
Mobile (375px): 45.925px / 2.8703125rem
Classes: .display-2
Text
Text

Display 3

Font size: 80px / 5rem
Line height: 1.2
Font weight: Regular | Bold
Mobile (375px): 42.875px / 2.6796875rem
Classes: .display-3
Text
Text

Display 4

Font size: 72px / 4.5rem
Line height: 1.2
Font weight: Regular | Bold
Mobile (375px): 39.825px / 2.4890625rem
Classes: .display-4
Text
Text

Display 5

Font size: 64px / 4rem
Line height: 1.2
Font weight: Regular | Bold
Mobile (375px): 36.775px / 2.2984375rem
Classes: .display-5
Text
Text

Display 6

Font size: 56px / 3.5rem
Line height: 1.2
Font weight: Regular | Bold
Mobile (375px): 33.725px / 2.1078125rem
Classes: .display-6
Text
Text