public static class EditorThemeThe stylesheet the editor's own chrome comes with.
No guide page documents this yet — the page shows what the code says about itself.
Remarks
A third user-agent sheet after ControlTheme and AdvancedTheme, on the same terms and for the same reason: it draws what those two do not — the shell, the toolbar, the status bar, the palette and the notification list — and it is written entirely against their tokens, so recolouring the root recolours all three.
⚠ Install loads this and neither of the others. An editor needs all three, in order, because this sheet reads --surface, --border and the rest, and a custom property nothing declared substitutes to nothing.
⚠ It also overrides the control set's tokens, which the control set is built to allow. An application shipping a button gets the neutral palette ControlTheme declares; a tool window is a different room, and a set of values on the root is exactly the mechanism its own remarks nominate for saying so. Nothing in ControlTheme or AdvancedTheme is edited, so a game that never installs this sheet is untouched — and every screenshot of a bare control still shows what a game gets.
What it is trying to look like. Two things, deliberately: the near-black neutral density of a 3D tool, where a panel is a working surface and chrome gets out of the way; and the layered, rounded, softly-lit materiality of a modern audio workstation, where a field is a well you type into and a floating thing is visibly floating. The join is the desk — the workspace is the darkest thing on screen and the panels are cards laid on it, which is what gives depth without a single gradient.
⚠ Depth comes from luminance steps, not from borders. Four surfaces — --workspace, --surface-sunken, --surface, --surface-raised — and a hairline that is barely there. A tool window that separates everything with visible lines is the look this is getting away from, and it is why the borders below are one step from invisible while the fills are not.
Fields and properties (1)
public static string CssThe sheet's text, for a caller that wants to read or amend it.
Methods (1)
public static int Install(UiDocument document)Loads the sheet into a document.
Used by (4)
- ConsoleViewTestsVixen.Editor.Ui.Tests
- EditorShellVixen.Editor.Ui
- ServiceTestsVixen.Editor.Ui.Tests
- TaskCenterTestsVixen.Editor.Ui.Tests