0
Fork 0
mirror of https://github.com/logto-io/logto.git synced 2025-02-17 22:04:19 -05:00

style(ui): add new font styling

add new font styling
`
This commit is contained in:
simeng-li 2022-10-21 11:02:15 +08:00
parent b8916adea9
commit c12c2005fc
No known key found for this signature in database
GPG key ID: 14EA7BB1541E8075

View file

@ -0,0 +1,27 @@
/* Typography Foundation */
$font-family:
-apple-system,
system-ui,
'BlinkMacSystemFont',
'Segoe UI',
'Roboto',
'Arial',
sans-serif;
@mixin fonts {
--font-headline-1: 600 28px/32px #{$font-family};
--font-headline-2: 600 24px/32px #{$font-family};
--font-title-1: 600 20px/28px #{$font-family};
--font-title-2: 600 18px/26px #{$font-family};
--font-title-3: 600 16px/24px #{$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-1: 400 16px/24px #{$font-family};
--font-body-2: 400 14px/20px #{$font-family};
--font-body-3: 400 12px/16px #{$font-family};
}