Vixen
02b45cc4
csharp
public static class AdvancedTheme

The stylesheet the advanced controls come with.

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

Remarks

A second sheet rather than more rules in ControlTheme, because the two assemblies ship separately: an application that wants a button and not a docking host should not carry three hundred lines of CSS about splitters. Both load as UserAgent and both are written against the same tokens, so recolouring the root recolours everything either of them draws.

⚠ Install loads this and not the base theme. An application needs both, in that order — this sheet reads --surface, --border and the rest, and a custom property that nothing declared substitutes to nothing.

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 (9)

  • ShellHelloUi
  • AdvancedFixtureVixen.Ui.Controls.Advanced.Tests
  • ConsoleViewTestsVixen.Editor.Ui.Tests
  • EditorShellVixen.Editor.Ui
  • FlameChartViewTestsVixen.Editor.Profiler.Tests
  • InspectorFixtureVixen.Editor.Inspector.Tests
  • ViewFixtureVixen.Editor.NodeGraph.Tests
  • ViewHarnessVixen.Editor.AssetEditors.Tests
  • WorkspaceTestsVixen.Editor.Ui.Tests