Initial commit
This commit is contained in:
16
src/providers/themeProvider/config/shared.ts
Normal file
16
src/providers/themeProvider/config/shared.ts
Normal file
@@ -0,0 +1,16 @@
|
||||
import type { HeadingFontWeight } from "./types";
|
||||
|
||||
/**
|
||||
* Shared component layout and styling type definitions
|
||||
*/
|
||||
export type TextboxLayout = "default" | "split" | "split-actions" | "split-description" | "inline-image";
|
||||
export type InvertedBackground = "noInvert" | "invertDefault";
|
||||
|
||||
export const headingFontWeightMap: Record<HeadingFontWeight, string> = {
|
||||
light: "300",
|
||||
normal: "400",
|
||||
medium: "500",
|
||||
semibold: "600",
|
||||
bold: "700",
|
||||
extrabold: "800",
|
||||
};
|
||||
Reference in New Issue
Block a user