Class ScyllaEditorUSSClasses
Centralised string constants for the USS class names that the Scylla UI Toolkit
editor surfaces apply to their elements. Defined alongside their selectors in
ScyllaCommon.uss / ScyllaControls.uss; this class lets call sites
refer to them by name so a USS rename only needs to be reflected in one place.
Inherited Members
Namespace: Scylla.Core.Editor
Assembly: ScyllaCore.Editor.dll
Syntax
public static class ScyllaEditorUSSClasses
Remarks
Only the classes that appear in many call sites across the editor live here. One-off USS class literals (used in a single file) are left inline at their use site to keep the surface small.
Fields
DESCRIPTION_BOX
Styles a ScyllaDescriptionBox: a rounded panel a shade darker than what it sits on, holding explanatory prose about the section beneath it.
Declaration
public const string DESCRIPTION_BOX = "scylla-description-box"
Field Value
| Type | Description |
|---|---|
| string |
DESCRIPTION_BOX_TEXT
Styles the body text inside a ScyllaDescriptionBox. Muted and wrapping, because a description is read once and then ignored, and should not compete with the controls it introduces.
Declaration
public const string DESCRIPTION_BOX_TEXT = "scylla-description-box__text"
Field Value
| Type | Description |
|---|---|
| string |
HORIZONTAL_RULE
Renders a 1 px horizontal rule. Apply to an empty
UnityEngine.UIElements.VisualElement to produce a separator line that
stretches to fill its parent's width. Color maps to --scylla-separator-line.
Declaration
public const string HORIZONTAL_RULE = "scylla-hr"
Field Value
| Type | Description |
|---|---|
| string |
LABEL_BOLD
Renders a label at bold font weight. Applied to section titles, step headers, and any other text that requires emphasis above the editor's body font weight.
Declaration
public const string LABEL_BOLD = "scylla-label-bold"
Field Value
| Type | Description |
|---|---|
| string |
LABEL_MUTED
Renders a label in the muted (secondary) text color defined by
--scylla-text-muted. Used for property descriptions, subtitles, tooltips
shown inline, and other de-emphasized helper text.
Declaration
public const string LABEL_MUTED = "scylla-label-muted"
Field Value
| Type | Description |
|---|---|
| string |
LABEL_VALUE_LABEL
Styles the left (descriptive) column of a label-value row. Renders in the muted text color with a fixed minimum width so value columns across multiple rows align vertically.
Declaration
public const string LABEL_VALUE_LABEL = "scylla-label-value-label"
Field Value
| Type | Description |
|---|---|
| string |
LABEL_VALUE_ROW
Flex-row container for a two-column label-value pair. Sets up horizontal layout, alignment, and the gap between the label and value columns. Used by BuildLabelValue(string, string) and BuildLabelValue(string, string).
Declaration
public const string LABEL_VALUE_ROW = "scylla-label-value-row"
Field Value
| Type | Description |
|---|---|
| string |
LABEL_VALUE_VALUE
Styles the right (data) column of a label-value row. Renders in bold primary-weight text. Individual instances can override the color via an inline style (see BuildLabelValueColored(string, string, Color)).
Declaration
public const string LABEL_VALUE_VALUE = "scylla-label-value-value"
Field Value
| Type | Description |
|---|---|
| string |
LINK
Shows the hand (link) mouse cursor on hover. Applied to non-button clickable
elements such as link labels and clickable header rows. Buttons receive the hand
cursor automatically via a shared .unity-button:enabled rule. Defined in
ScyllaCommon.uss.
Declaration
public const string LINK = "scylla-link"
Field Value
| Type | Description |
|---|---|
| string |
SECTION_BOX
Visual box container with a subtle border and background tint. Applied to the outer
wrapper of section content (the container that a foldout's body content is added to).
Defined in ScyllaCommon.uss.
Declaration
public const string SECTION_BOX = "scylla-section-box"
Field Value
| Type | Description |
|---|---|
| string |
SECTION_HEADER
Renders a label as a small all-caps or lightly weighted section sub-header. Applied to the small category labels inside a section box (e.g. "Global", "Core") and to the sub-section headers added by AddSubSectionHeader(VisualElement, string, bool).
Declaration
public const string SECTION_HEADER = "scylla-section-header"
Field Value
| Type | Description |
|---|---|
| string |
TOOLBAR_LABEL
Styles a small read-only text label embedded inside a ScyllaToolbar (e.g. status text appended via AddLabel(string)). Renders at the editor's xs font size in the muted text color.
Declaration
public const string TOOLBAR_LABEL = "scylla-toolbar__label"
Field Value
| Type | Description |
|---|---|
| string |