Repository navigation
Release v4.57.0
Part of #158 (epic #157): the Scene model for the redesigned UI profile.
Added
RootTemplate(Template: TemplateReference, Options),ProfileAppearance(ColorScheme?, Accent?),ProfileDefaults(NewScreenTemplate?)and theColorSchemeenum (Light,Dark,System), and the optional membersUiProfile.Root,.Appearance,.Defaults- in C# (Cratis.Scene.Model) and mirrored in TypeScript (@cratis/scene.model). The root template reuses the existingTemplateReference(own or blueprint, id, blueprint, version pin).UiProfileJson(C#Cratis.Scene.Engine.Profiles) andparseUiProfile/serializeUiProfile(TypeScript engine): lenient reading, one canonical writing, byte-identical in both languages.- Shared fixture corpus
ui-profile-fixtures.json(own, blueprint + pin, options, legacy layout only, nothing new, appearance, defaults, everything, lenient enum case, non-ASCII, unknown members) run by both toolchains;scene-model-shape.jsonextended for the new types and enum. - Documentation: new
blueprints/root-template.md,layouts.mdlinks to it.
Changed
UiProfile.Layoutis documented as legacy: it stays readable and writable,Rootsupersedes it. Existing documents without the new members load and write back unchanged.