refactor: move font variable from desk to common file
This commit is contained in:
parent
75430f73e2
commit
3dfde0e98f
2 changed files with 10 additions and 9 deletions
|
|
@ -165,6 +165,16 @@
|
|||
--bg-pink: var(--pink-50);
|
||||
--bg-cyan: var(--cyan-50);
|
||||
|
||||
//font sizes
|
||||
--text-xs: 11px;
|
||||
--text-sm: 12px;
|
||||
--text-md: 13px;
|
||||
--text-base: 14px;
|
||||
--text-lg: 16px;
|
||||
--text-xl: 18px;
|
||||
--text-2xl: 20px;
|
||||
--text-3xl: 22px;
|
||||
|
||||
--text-on-blue: var(--blue-600);
|
||||
--text-on-light-blue: var(--blue-500);
|
||||
--text-on-dark-blue: var(--blue-700);
|
||||
|
|
|
|||
|
|
@ -4,15 +4,6 @@ $input-height: 28px !default;
|
|||
|
||||
:root,
|
||||
[data-theme="light"] {
|
||||
--text-xs: 11px;
|
||||
--text-sm: 12px;
|
||||
--text-md: 13px;
|
||||
--text-base: 14px;
|
||||
--text-lg: 16px;
|
||||
--text-xl: 18px;
|
||||
--text-2xl: 20px;
|
||||
--text-3xl: 22px;
|
||||
|
||||
// breakpoints
|
||||
--xxl-width: map-get($grid-breakpoints, '2xl');
|
||||
--xl-width: map-get($grid-breakpoints, 'xl');
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue