Skip to main content

Theme Studio

Wisej.NET 4.2.0+

Theme Studio edits Wisej.NET themes: .theme files and .mixin.theme mixins. Every change shows at once in a preview of real Wisej.NET controls in all their states, can be undone, and is checked against the framework before Save writes the file. The agent can do the work for you ("make the buttons rounder", "use our brand purple"), or you edit by hand.

Open it from Extensions → Wisej.NET → AI Theme Studio, by right-clicking a Wisej.NET project or folder and choosing New Wisej.NET Theme..., or with a .theme file selected in Solution Explorer. Its start page creates a copy of a theme that ships with Wisej.NET, an empty theme, or a mixin.

Theme Studio with the colour tokens and the appearances on the left, the Buttons page of the preview in the middle and the inspector on the right Theme Studio in light mode: tokens and appearances on the left, the preview by control family in the middle, the inspector on the right.

The parts​

PanelWhat it holds
TokensThe theme's Colors, Settings, Fonts and Images, searchable. Change a colour and every appearance that uses it follows.
AppearancesEvery appearance of the theme (button, checkbox, datefield, …) and the ones that inherit from them.
PreviewReal controls grouped as Forms, Buttons, Text, Pickers, Lists, Data, Containers, Chrome, Indicators, Feedback and States, each shown default, hovered, pressed, focused, checked and disabled. Click a control to inspect it.
InspectorThe token, appearance or state that is selected, and its properties to edit.

The toolbar has undo and redo, the count of validation problems, the theme's JSON, and Save.

Things to know​

  • The preview and the validation use the client files of the Wisej-4 package found on the computer, the newest stable version in the NuGet cache. Restore a Wisej.NET project at least once so the package is there; that version can differ from the one your project references.
  • A mixin changes only what it names and is applied on top of a theme; see Theme Mixins in the Theme Builder manual.
  • The Theme Builder, the standalone application, edits the same files and is still available.