@omnia/velcron 8.0.368-dev → 8.0.370-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.
|
@@ -72,8 +72,7 @@ export interface ThemeDefinitionReference {
|
|
|
72
72
|
spacing: BlueprintsReference;
|
|
73
73
|
components: BlueprintsReference;
|
|
74
74
|
}
|
|
75
|
-
export interface ResolvedThemeDefinition extends
|
|
76
|
-
colors?: ColorSchemas;
|
|
75
|
+
export interface ResolvedThemeDefinition extends ThemeDefinition<ColorSchemas> {
|
|
77
76
|
typography?: TypographyBlueprint;
|
|
78
77
|
spacing?: SpacingBlueprint;
|
|
79
78
|
components?: ComponentBlueprints;
|
|
@@ -282,11 +281,18 @@ export interface ColorSchemasReferenceId {
|
|
|
282
281
|
successId: ColorSchemaId;
|
|
283
282
|
notificationId: ColorSchemaId;
|
|
284
283
|
}
|
|
285
|
-
export interface ThemeDefinition extends ThemeBase {
|
|
286
|
-
colors?:
|
|
284
|
+
export interface ThemeDefinition<TColor = ColorSchemasReferenceId> extends ThemeBase {
|
|
285
|
+
colors?: TColor;
|
|
287
286
|
typographyId?: ThemeDefinitionId;
|
|
288
287
|
spacingId?: ThemeDefinitionId;
|
|
289
288
|
componentsId?: ThemeDefinitionId;
|
|
289
|
+
chrome?: {
|
|
290
|
+
versionLayoutId: number;
|
|
291
|
+
/**
|
|
292
|
+
* perf -> need store pulished version id to quick load version layout data by one request
|
|
293
|
+
*/
|
|
294
|
+
publishedVersionId?: number;
|
|
295
|
+
};
|
|
290
296
|
}
|
|
291
297
|
export interface ColorSchema extends ThemeBase {
|
|
292
298
|
base: ColorDefinition;
|