import { PropType } from "vue" type TextScheme = | "display-lg" | "display-md" | "display-sm" | "heading-lg" | "heading-md" | "heading-sm" | "body-md" | "body-sm" | "button-md" | "button-sm" | "label-lg" | "label-md" | "label-sm" | "caption" | "breadcrumb-underlined" | "breadcrumb-italic" type TextColorScheme = | "primary" | "primary-50" | "primary-75" | "primary-80" | "secondary" | "soft" | "hard" | "muted" | "pale-gray" export const textStyleProps = { textScheme: { type: String as PropType, required: false, validator: function (value: string) { return [ "display-lg", "display-md", "display-sm", "heading-lg", "heading-md", "heading-sm", "body-md", "body-sm", "button-md", "button-sm", "label-lg", "label-md", "label-sm", "caption", "breadcrumb-underlined", "breadcrumb-italic", ].includes(value) }, }, colorScheme: { type: String as PropType, required: false, validator: function (value: string) { return [ "primary", "primary-50", "primary-75", "primary-80", "secondary", "soft", "hard", "muted", "pale-gray", ].includes(value) }, }, textColor: { type: String as PropType, required: false, }, fontSize: { type: [String, Number] as PropType, required: false, }, fontWeight: { type: [String, Number] as PropType, required: false, }, lineHeight: { type: [String, Number] as PropType, required: false, }, letterSpacing: { type: [String, Number] as PropType, required: false, }, textAlign: { type: String as PropType<"left" | "right" | "center" | "justify" | "initial" | "inherit">, required: false, }, textTransform: { type: String as PropType< "none" | "capitalize" | "uppercase" | "lowercase" | "initial" | "inherit" >, required: false, }, textDecoration: { type: String as PropType< "none" | "underline" | "overline" | "line-through" | "initial" | "inherit" >, required: false, }, }