@omnia/velcron 8.0.532-dev → 8.0.535-dev
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -2,6 +2,7 @@ import { guid } from "../Guid";
|
|
|
2
2
|
import { FillDefinition } from "./ThemeDefinition";
|
|
3
3
|
import { ThemeBase } from "./ThemeBase";
|
|
4
4
|
import { VariantBlueprints } from "./Blueprints";
|
|
5
|
+
import { MultilingualString } from "../MultilingualString";
|
|
5
6
|
export interface TypographyFontDefinition extends ThemeBase {
|
|
6
7
|
family: string;
|
|
7
8
|
cdn?: string;
|
|
@@ -120,6 +121,15 @@ export interface ThemedTextStyleValue {
|
|
|
120
121
|
italic?: boolean;
|
|
121
122
|
bold?: boolean;
|
|
122
123
|
}
|
|
124
|
+
export interface TextStyleConfiguration {
|
|
125
|
+
id: guid;
|
|
126
|
+
title: MultilingualString;
|
|
127
|
+
builtin?: boolean;
|
|
128
|
+
isDefault?: boolean;
|
|
129
|
+
role?: "text" | "h1" | "h2" | "h3" | "h4" | "h5" | "h6";
|
|
130
|
+
textStyle: TextStyleValue;
|
|
131
|
+
disabled?: boolean;
|
|
132
|
+
}
|
|
123
133
|
export type TextStyleValue = TextStyleDefinition | ThemedTextStyleValue;
|
|
124
134
|
export type TextStyleBreakpointType = "lg" | "md" | "sm";
|
|
125
135
|
export type TextStyleSize = keyof typeof TextStyleSizes;
|