0
Fork 0
mirror of https://github.com/logto-io/logto.git synced 2024-12-23 20:33:16 -05:00
logto/packages/toolkit/core-kit/scss/_fonts.scss
Charles Zhao e9c2c9a6de
feat(toolkit): add new font tokens in core-kit (#4065)
* feat(toolkit): add new font tokens in core-kit

* chore: code clean-up
2023-06-21 14:48:34 +08:00

33 lines
1.1 KiB
SCSS

$font-family:
-apple-system,
system-ui,
'BlinkMacSystemFont',
'Segoe UI',
'Roboto',
'Helvetica Neue',
'Helvetica',
'Arial',
sans-serif,
'Apple Color Emoji';
:root {
--font-family: #{$font-family};
--font-display-1: 700 48/56px #{$font-family};
--font-display-2: 700 40px/48px #{$font-family};
--font-display-3: 700 32px/40px #{$font-family};
--font-headline-1: 600 32px/40px #{$font-family};
--font-headline-2: 600 28px/36px #{$font-family};
--font-headline-3: 600 24px/32px #{$font-family};
--font-title-1: 600 20px/28px #{$font-family};
--font-title-2: 600 16px/24px #{$font-family};
--font-title-3: 600 14px/20px #{$font-family};
--font-label-1: 500 16px/24px #{$font-family};
--font-label-2: 500 14px/20px #{$font-family};
--font-label-3: 500 12px/16px #{$font-family};
--font-body-0: 400 18px/26px #{$font-family};
--font-body-1: 400 16px/24px #{$font-family};
--font-body-2: 400 14px/20px #{$font-family};
--font-body-3: 400 12px/16px #{$font-family};
--font-section-head-1: 700 12px/16px #{$font-family};
--font-section-head-2: 700 10px/16px #{$font-family};
}