0
Fork 0
mirror of https://github.com/logto-io/logto.git synced 2025-03-17 22:31:28 -05:00

feat(toolkit): add new font tokens in core-kit (#4065)

* feat(toolkit): add new font tokens in core-kit

* chore: code clean-up
This commit is contained in:
Charles Zhao 2023-06-21 14:48:34 +08:00 committed by GitHub
parent 3a0944444a
commit e9c2c9a6de
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 9 additions and 2 deletions

View file

@ -0,0 +1,5 @@
---
"@logto/core-kit": patch
---
Add new font tokens in core-kit

View file

@ -1,5 +1,4 @@
@use '@/scss/underscore' as _;
@use '@logto/core-kit/scss/console-themes' as themes;
.app {
position: absolute;

View file

@ -340,7 +340,6 @@
--color-env-tag-staging: rgba(235, 153, 24, 36%);
--color-env-tag-production: rgba(104, 190, 108, 36%);
// Shadows
--shadow-1: 0 4px 8px rgba(0, 0, 0, 8%);
--shadow-2: 0 4px 12px rgba(0, 0, 0, 12%);

View file

@ -12,6 +12,9 @@ $font-family:
: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};
@ -21,6 +24,7 @@ $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};