feat: support strings for fontSize in Typography
Signed-off-by: Thomas Cooper <57812123+coopernetes@users.noreply.github.com>
This commit is contained in:
@@ -124,32 +124,38 @@ export type BackstageTypography = {
|
||||
htmlFontSize: number;
|
||||
fontFamily: string;
|
||||
h1: {
|
||||
fontSize: number;
|
||||
fontFamily?: string;
|
||||
fontSize: number | string;
|
||||
fontWeight: number;
|
||||
marginBottom: number;
|
||||
};
|
||||
h2: {
|
||||
fontSize: number;
|
||||
fontFamily?: string;
|
||||
fontSize: number | string;
|
||||
fontWeight: number;
|
||||
marginBottom: number;
|
||||
};
|
||||
h3: {
|
||||
fontSize: number;
|
||||
fontFamily?: string;
|
||||
fontSize: number | string;
|
||||
fontWeight: number;
|
||||
marginBottom: number;
|
||||
};
|
||||
h4: {
|
||||
fontSize: number;
|
||||
fontFamily?: string;
|
||||
fontSize: number | string;
|
||||
fontWeight: number;
|
||||
marginBottom: number;
|
||||
};
|
||||
h5: {
|
||||
fontSize: number;
|
||||
fontFamily?: string;
|
||||
fontSize: number | string;
|
||||
fontWeight: number;
|
||||
marginBottom: number;
|
||||
};
|
||||
h6: {
|
||||
fontSize: number;
|
||||
fontFamily?: string;
|
||||
fontSize: number | string;
|
||||
fontWeight: number;
|
||||
marginBottom: number;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user