UI/chore: init typography xxs body
This commit is contained in:
@@ -15,3 +15,9 @@
|
|||||||
line-height: 132%;
|
line-height: 132%;
|
||||||
letter-spacing: 3%;
|
letter-spacing: 3%;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.fnt-body-xxs {
|
||||||
|
font-size: 0.6875rem;
|
||||||
|
line-height: 132%;
|
||||||
|
letter-spacing: 0.00688rem;
|
||||||
|
}
|
||||||
|
|||||||
@@ -24,6 +24,7 @@ interface SizeForHierarchy {
|
|||||||
body: {
|
body: {
|
||||||
default: string;
|
default: string;
|
||||||
xs: string;
|
xs: string;
|
||||||
|
xxs: string;
|
||||||
s: string;
|
s: string;
|
||||||
};
|
};
|
||||||
headline: {
|
headline: {
|
||||||
@@ -43,10 +44,9 @@ type AllowedSizes<H extends Hierarchy> = keyof SizeForHierarchy[H];
|
|||||||
const sizeHierarchyMap: SizeForHierarchy = {
|
const sizeHierarchyMap: SizeForHierarchy = {
|
||||||
body: {
|
body: {
|
||||||
default: cx("fnt-body-default"),
|
default: cx("fnt-body-default"),
|
||||||
xs: cx("fnt-body-xs"),
|
|
||||||
s: cx("fnt-body-s"),
|
s: cx("fnt-body-s"),
|
||||||
// m: cx("fnt-body-m"),
|
xs: cx("fnt-body-xs"),
|
||||||
// l: cx("fnt-body-l"),
|
xxs: cx("fnt-body-xxs"),
|
||||||
},
|
},
|
||||||
headline: {
|
headline: {
|
||||||
default: cx("fnt-headline-default"),
|
default: cx("fnt-headline-default"),
|
||||||
|
|||||||
Reference in New Issue
Block a user