Vixen
02b45cc4
csharp
public static class ProfilerTheme

The stylesheet the diagnostics panels' own elements come with.

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

Remarks

A sheet after ControlTheme, AdvancedTheme and the editor's, on the terms InspectorTheme is: everything below is written against tokens those declare, and a custom property nothing declared substitutes to nothing.

⚠ The eight flame colours are the only place this sheet invents a palette, and they are here rather than as computed colours in the view for two reasons. A theme has to be able to choose its own eight — the dark set below is unreadable on a light background — and a colour a stylesheet owns is one a game team can override without a fork.

⚠ They are hues of one lightness rather than eight arbitrary colours. A chart whose bars vary in brightness reads as though the bright ones matter, which is exactly the wrong signal: colour here means "a different scope" and nothing else, so only the hue moves.

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)

  • DiagnosticsModuleVixen.Editor.Diagnostics
  • FlameChartViewTestsVixen.Editor.Profiler.Tests