Vixen
02b45cc4
csharp
public static class AssetEditorTheme

The stylesheet the asset editors' own elements come with.

No guide page documents this yet — the page shows what the code says about itself.

Remarks

A fifth user-agent sheet, after ControlTheme, AdvancedTheme, EditorTheme and InspectorTheme, and written against the tokens they declare. What is here is only the elements this assembly adds — the matrix, the ladder, the fact rows, the group list, the preview panes. Everything a drawer or a code editor builds is already styled by the sheets above.

⚠ All four of those have to be loaded first. Every colour below is a var(--…) against a token one of them declares, and a custom property nothing declared substitutes to nothing.

⚠ Every flex-direction: column below that looks redundant is load-bearing. CSS's initial direction is row and LayoutStyleBuilder starts from CSS's initial values, so an element nothing styles lays its children out side by side — which for a settings panel means every section beside the one before it.

Fields and properties (1)

  • public static string Css

    The stylesheet's text, for a caller that wants to read or amend it.

Methods (1)

  • public static int Install(UiDocument document)

    Loads the theme into a document.

Used by (2)

  • EditorApplicationVixen.Editor.App
  • ViewHarnessVixen.Editor.AssetEditors.Tests