@glance-networks/agent-plugin
Version:
Glance Networks Agent Plugin
74 lines (73 loc) • 2.02 kB
TypeScript
export declare const TAGS: readonly ["h1", "h2", "h3", "h4", "h5", "h6", "p", "span", "div", "cite", "label", "legend"];
export type Tag = typeof TAGS[number];
export declare enum TYPOGRAPHY_ALIGNMENTS {
'left' = "left",
'center' = "center",
'right' = "right",
'justify' = "justify",
'inherit' = "inherit"
}
export declare enum TYPOGRAPHY_WEIGHTS {
'regular' = "regular",
'medium' = "medium",
'semibold' = "semibold"
}
export declare enum TYPOGRAPHY_VARIANTS {
'body05' = "body05",
'body10' = "body10",
'body20' = "body20",
'body30' = "body30",
'body40' = "body40",
'body50' = "body50",
'capital05' = "capital05",
'capital10' = "capital10",
'capital20' = "capital20",
'caption10' = "caption10",
'caption20' = "caption20",
'h1' = "h1",
'h2' = "h2",
'h3' = "h3",
'h4' = "h4",
'h5' = "h5",
'h6' = "h6",
'display1' = "display1",
'display2' = "display2",
'display3' = "display3",
'subtitle1' = "subtitle1",
'subtitle2' = "subtitle2",
'subtitle3' = "subtitle3",
link20 = "link20",
link30 = "link30"
}
export declare const TYPOGRAPHY_VARIANTS_MAP: {
h1: string;
h2: string;
h3: string;
h4: string;
h5: string;
h6: string;
body05: string;
body10: string;
body20: string;
body30: string;
body40: string;
body50: string;
link20: string;
link30: string;
subtitle1: string;
subtitle2: string;
subtitle3: string;
display1: string;
display2: string;
display3: string;
capital05: string;
capital10: string;
capital20: string;
caption10: string;
caption20: string;
inherit: string;
};
export declare const isValidTag: (tag: string | undefined) => boolean;
export declare const TYPOGRAPHY_DEFAULT_VARIANT = TYPOGRAPHY_VARIANTS['body20'];
export declare const TYPOGRAPHY_DEFAULT_ALIGN = TYPOGRAPHY_ALIGNMENTS['left'];
export declare const TYPOGRAPHY_DEFAULT_WEIGHT = TYPOGRAPHY_WEIGHTS['regular'];