psychic-ui 0.0.0
Loading...
Searching...
No Matches
psychic_ui::Typography Struct Reference

#include <Theme.hpp>

Public Attributes

Font regular {.name = "Inter", .path = "res/fonts/Inter/Inter-Regular.ttf"}
Font medium {.name = "Inter Medium", .path = "res/fonts/Inter/Inter-Medium.ttf"}
Font semiBold {.name = "Inter SemiBold", .path = "res/fonts/Inter/Inter-SemiBold.ttf"}
TextStep xxs {.size = 10, .leading = 14}
TextStep xs {.size = 11, .leading = 16}
TextStep sm {.size = 12, .leading = 18}
TextStep base {.size = 13, .leading = 20}
TextStep md {.size = 14, .leading = 20}
TextStep xl {.size = 18, .leading = 26}
TextStep xxl {.size = 20, .leading = 28}

Detailed Description

Inter 4.1 (res/fonts/Inter, OFL 1.1), Pivotal's typeface, in the weights it uses (400, 500, 600), and its scale: body text is sm, inputs and menu rows base, labels and metadata xs


The documentation for this struct was generated from the following file: