@sandlada/mdk
Version:
A JavaScript library based on Material Design 3, providing data such as color, shape, shadow level, etc.
154 lines (153 loc) • 7.45 kB
JavaScript
import { Typeface } from './typeface';
export class Typescale {
static DisplayLargeFont = Typeface.Plain;
static DisplayLargeSize = `57px`;
static DisplayLargeTracking = `-0.25px`;
static DisplayLargeLineHeight = `64px`;
static DisplayLargeWeight = Typeface.WeightRegular;
static DisplayMediumFont = Typeface.Plain;
static DisplayMediumSize = `45px`;
static DisplayMediumTracking = `0px`;
static DisplayMediumLineHeight = `52px`;
static DisplayMediumWeight = Typeface.WeightRegular;
static DisplaySmallFont = Typeface.Plain;
static DisplaySmallSize = `36px`;
static DisplaySmallTracking = `0px`;
static DisplaySmallLineHeight = `44px`;
static DisplaySmallWeight = Typeface.WeightRegular;
static HeadlineLargeFont = Typeface.Plain;
static HeadlineLargeSize = `32px`;
static HeadlineLargeTracking = `0px`;
static HeadlineLargeLineHeight = `40px`;
static HeadlineLargeWeight = Typeface.WeightRegular;
static HeadlineMediumFont = Typeface.Plain;
static HeadlineMediumSize = `28px`;
static HeadlineMediumTracking = `0px`;
static HeadlineMediumLineHeight = `36px`;
static HeadlineMediumWeight = Typeface.WeightRegular;
static HeadlineSmallFont = Typeface.Plain;
static HeadlineSmallSize = `24px`;
static HeadlineSmallTracking = `0px`;
static HeadlineSmallLineHeight = `32px`;
static HeadlineSmallWeight = Typeface.WeightRegular;
static TitleLargeFont = Typeface.Plain;
static TitleLargeSize = `22px`;
static TitleLargeTracking = `0px`;
static TitleLargeLineHeight = `28px`;
static TitleLargeWeight = Typeface.WeightRegular;
static TitleMediumFont = Typeface.Plain;
static TitleMediumSize = `16px`;
static TitleMediumTracking = `0.15px`;
static TitleMediumLineHeight = `24px`;
static TitleMediumWeight = Typeface.WeightMedium;
static TitleSmallFont = Typeface.Plain;
static TitleSmallSize = `14px`;
static TitleSmallTracking = `0.1px`;
static TitleSmallLineHeight = `20px`;
static TitleSmallWeight = Typeface.WeightMedium;
static BodyLargeFont = Typeface.Plain;
static BodyLargeSize = `16px`;
static BodyLargeTracking = `0.5px`;
static BodyLargeLineHeight = `24px`;
static BodyLargeWeight = Typeface.WeightRegular;
static BodyMediumFont = Typeface.Plain;
static BodyMediumSize = `14px`;
static BodyMediumTracking = `0.25px`;
static BodyMediumLineHeight = `20px`;
static BodyMediumWeight = Typeface.WeightRegular;
static BodySmallFont = Typeface.Plain;
static BodySmallSize = `12px`;
static BodySmallTracking = `0.4px`;
static BodySmallLineHeight = `16px`;
static BodySmallWeight = Typeface.WeightRegular;
static LabelLargeFont = Typeface.Plain;
static LabelLargeSize = `14px`;
static LabelLargeTracking = `0.1px`;
static LabelLargeLineHeight = `20px`;
static LabelLargeWeight = Typeface.WeightMedium;
static LabelMediumFont = Typeface.Plain;
static LabelMediumSize = `12px`;
static LabelMediumTracking = `0.5px`;
static LabelMediumLineHeight = `16px`;
static LabelMediumWeight = Typeface.WeightMedium;
static LabelSmallFont = Typeface.Plain;
static LabelSmallSize = `11px`;
static LabelSmallTracking = `0.5px`;
static LabelSmallLineHeight = `16px`;
static LabelSmallWeight = Typeface.WeightMedium;
static EmphasizedDisplayLargeFont = Typeface.Plain;
static EmphasizedDisplayLargeSize = `57px`;
static EmphasizedDisplayLargeTracking = `-0.25px`;
static EmphasizedDisplayLargeLineHeight = `64px`;
static EmphasizedDisplayLargeWeight = Typeface.WeightMedium;
static EmphasizedDisplayMediumFont = Typeface.Plain;
static EmphasizedDisplayMediumSize = `45px`;
static EmphasizedDisplayMediumTracking = `0px`;
static EmphasizedDisplayMediumLineHeight = `52px`;
static EmphasizedDisplayMediumWeight = Typeface.WeightMedium;
static EmphasizedDisplaySmallFont = Typeface.Plain;
static EmphasizedDisplaySmallSize = `36px`;
static EmphasizedDisplaySmallTracking = `0px`;
static EmphasizedDisplaySmallLineHeight = `44px`;
static EmphasizedDisplaySmallWeight = Typeface.WeightMedium;
static EmphasizedHeadlineLargeFont = Typeface.Plain;
static EmphasizedHeadlineLargeSize = `32px`;
static EmphasizedHeadlineLargeTracking = `0px`;
static EmphasizedHeadlineLargeLineHeight = `40px`;
static EmphasizedHeadlineLargeWeight = Typeface.WeightMedium;
static EmphasizedHeadlineMediumFont = Typeface.Plain;
static EmphasizedHeadlineMediumSize = `28px`;
static EmphasizedHeadlineMediumTracking = `0px`;
static EmphasizedHeadlineMediumLineHeight = `36px`;
static EmphasizedHeadlineMediumWeight = Typeface.WeightMedium;
static EmphasizedHeadlineSmallFont = Typeface.Plain;
static EmphasizedHeadlineSmallSize = `24px`;
static EmphasizedHeadlineSmallTracking = `0px`;
static EmphasizedHeadlineSmallLineHeight = `32px`;
static EmphasizedHeadlineSmallWeight = Typeface.WeightMedium;
static EmphasizedTitleLargeFont = Typeface.Plain;
static EmphasizedTitleLargeSize = `22px`;
static EmphasizedTitleLargeTracking = `0px`;
static EmphasizedTitleLargeLineHeight = `28px`;
static EmphasizedTitleLargeWeight = Typeface.WeightMedium;
static EmphasizedTitleMediumFont = Typeface.Plain;
static EmphasizedTitleMediumSize = `16px`;
static EmphasizedTitleMediumTracking = `0.15px`;
static EmphasizedTitleMediumLineHeight = `24px`;
static EmphasizedTitleMediumWeight = Typeface.WeightBold;
static EmphasizedTitleSmallFont = Typeface.Plain;
static EmphasizedTitleSmallSize = `14px`;
static EmphasizedTitleSmallTracking = `0.1px`;
static EmphasizedTitleSmallLineHeight = `20px`;
static EmphasizedTitleSmallWeight = Typeface.WeightBold;
static EmphasizedBodyLargeFont = Typeface.Plain;
static EmphasizedBodyLargeSize = `16px`;
static EmphasizedBodyLargeTracking = `0.5px`;
static EmphasizedBodyLargeLineHeight = `24px`;
static EmphasizedBodyLargeWeight = Typeface.WeightMedium;
static EmphasizedBodyMediumFont = Typeface.Plain;
static EmphasizedBodyMediumSize = `14px`;
static EmphasizedBodyMediumTracking = `0.25px`;
static EmphasizedBodyMediumLineHeight = `20px`;
static EmphasizedBodyMediumWeight = Typeface.WeightMedium;
static EmphasizedBodySmallFont = Typeface.Plain;
static EmphasizedBodySmallSize = `12px`;
static EmphasizedBodySmallTracking = `0.4px`;
static EmphasizedBodySmallLineHeight = `16px`;
static EmphasizedBodySmallWeight = Typeface.WeightMedium;
static EmphasizedLabelLargeFont = Typeface.Plain;
static EmphasizedLabelLargeSize = `14px`;
static EmphasizedLabelLargeTracking = `0.1px`;
static EmphasizedLabelLargeLineHeight = `20px`;
static EmphasizedLabelLargeWeight = Typeface.WeightBold;
static EmphasizedLabelMediumFont = Typeface.Plain;
static EmphasizedLabelMediumSize = `12px`;
static EmphasizedLabelMediumTracking = `0.5px`;
static EmphasizedLabelMediumLineHeight = `16px`;
static EmphasizedLabelMediumWeight = Typeface.WeightBold;
static EmphasizedLabelSmallFont = Typeface.Plain;
static EmphasizedLabelSmallSize = `11px`;
static EmphasizedLabelSmallTracking = `0.5px`;
static EmphasizedLabelSmallLineHeight = `16px`;
static EmphasizedLabelSmallWeight = Typeface.WeightBold;
}