Css
API reference › Debug Core › Theme › Css
Publishes the debugger’s shared CSS class vocabulary.
The stylesheet ships in this package while framework adapters render into it, so every class name spelled at a call
site is a cross-repository contract that the language cannot check. Names used by more than one renderer, or by an
adapter, belong here; names private to a single renderer stay at their call site and are covered by
npm run check:css-vocabulary, which compares every emitted name against the stylesheet sources.
Methods
Section titled “Methods”| Method | Description | Defined by |
|---|---|---|
badge() static | Returns the class list of a status chip rendered in the requested tone. | Css |
callout() static | Returns the class list of a callout paragraph rendered in the requested tone. | Css |
fileType() static | Returns the class list of a file-kind pill rendered in the requested tone. | Css |
hero() static | Returns the class list of a hero whose accent takes the requested tone. | Css |
row() static | Returns the tinted row class for a status variant. | Css |
stat() static | Returns the class list of a stat tile rendered in the requested tone. | Css |
status() static | Returns the status-pill class for an HTTP status class. | Css |
summaryStat() static | Returns the tinted class of a summary-strip statistic. | Css |
verb() static | Returns the method-chip class for an HTTP verb. | Css |
Constants
Section titled “Constants”| Constant | Value | Description | Defined by |
|---|---|---|---|
BADGE | 'yii-debug-badge' | Status chip carrying a semantic tone. | Css |
CALLOUT | 'yii-debug-callout' | Paragraph promoted to a semantic callout. | Css |
CARD_GRID | 'yii-debug-card-grid' | Grid laying out a set of entity cards. | Css |
CELL_MONO | 'yii-debug-cell-mono' | Grid cell rendered in the monospace face. | Css |
CELL_MORE | 'yii-debug-cell-more' | Collapsible clamp wrapping an overlong grid cell. | Css |
CELL_MORE_BODY | 'yii-debug-cell-more-body' | Clamped body revealed by the cell expand toggle. | Css |
CELL_MORE_TOGGLE | 'yii-debug-cell-more-toggle' | Expand and collapse control of a clamped cell. | Css |
CELL_NOWRAP | 'yii-debug-cell-nowrap' | Grid cell kept on a single line. | Css |
CELL_NUMERIC | 'yii-debug-cell-numeric' | Grid cell aligning digits across rows. | Css |
CELL_PAYLOAD | 'yii-debug-cell-payload' | Grid cell holding serialized payload text. | Css |
CELL_PILL | 'yii-debug-cell-pill' | Grid cell presenting its content as a compact pill. | Css |
DISCLOSURE | 'yii-debug-disclosure' | Collapsible section built on <details>. | Css |
DISCLOSURE_BODY | 'yii-debug-disclosure-body' | Body revealed when a collapsible section expands. | Css |
DISCLOSURE_HINT | 'yii-debug-disclosure-hint' | Expand and collapse affordance shown in a disclosure summary. | Css |
DISCLOSURE_SUMMARY | 'yii-debug-disclosure-summary' | Summary row of a collapsible section. | Css |
DISCLOSURE_TITLE | 'yii-debug-disclosure-title' | Heading text inside a disclosure summary. | Css |
EMPTY_STATE | 'yii-debug-empty-state' | Card shown when a panel captured nothing for the request. | Css |
ENTITY | 'yii-debug-entity' | Card presenting one entity of a panel’s inventory. | Css |
ENTITY_BODY | 'yii-debug-entity-body' | Body laying out the titled columns of an entity card. | Css |
ENTITY_COLUMN | 'yii-debug-entity-column' | Titled column of an entity card body. | Css |
ENTITY_COLUMN_TITLE | 'yii-debug-entity-column-title' | Title of an entity card column. | Css |
ENTITY_HEAD | 'yii-debug-entity-head' | Header row of an entity card. | Css |
ENTITY_ICON | 'yii-debug-entity-icon' | Glyph identifying an entity card. | Css |
ENTITY_META | 'yii-debug-entity-meta' | Chip row summarizing an entity at the end of its header. | Css |
ENTITY_NAME | 'yii-debug-entity-name' | Headline name of an entity. | Css |
ENTITY_SUBTITLE | 'yii-debug-entity-subtitle' | Qualifier shown under the name of an entity. | Css |
ENTITY_TITLE | 'yii-debug-entity-title' | Name and subtitle pair of an entity header. | Css |
EXT_PILL | 'yii-debug-ext-pill' | Chip reporting an extension name and its state. | Css |
EXT_PILL_DOT | 'yii-debug-ext-pill-dot' | Status LED of an extension pill. | Css |
EXT_PILL_LABEL | 'yii-debug-ext-pill-label' | Extension name inside an extension pill. | Css |
EXT_PILL_STATE | 'yii-debug-ext-pill-state' | State text inside an extension pill. | Css |
EXT_STRIP | 'yii-debug-ext-strip' | Strip laying out a row of status pills. | Css |
FACT | 'yii-debug-fact' | One label and value pair of a fact strip. | Css |
FACT_LABEL | 'yii-debug-fact-label' | Name of a fact. | Css |
FACT_STRIP | 'yii-debug-fact-strip' | Compact strip laying out label and value pairs. | Css |
FACT_VALUE | 'yii-debug-fact-value' | Recorded value of a fact. | Css |
FILE | 'yii-debug-file' | One entry of a file list. | Css |
FILE_LIST | 'yii-debug-file-list' | List of the files an entity contributes. | Css |
FILE_NAME | 'yii-debug-file-name' | Path or URL of a file entry. | Css |
FILE_TYPE | 'yii-debug-file-type' | Kind pill of a file entry. | Css |
FILTER_INPUT | 'yii-debug-filter-input' | Search input narrowing the rows of its filter scope. | Css |
GAUGE | 'yii-debug-gauge' | Micro-gauge rail drawn behind a numeric readout. | Css |
GAUGE_BAR | 'yii-debug-gauge-bar' | Filled portion of a micro-gauge. | Css |
GAUGE_VALUE | 'yii-debug-gauge-value' | Readout text of a micro-gauge. | Css |
GRID_SUMMARY | 'yii-debug-grid-summary' | Summary strip above a panel’s content blocks. | Css |
GRID_SUMMARY_SEP | 'yii-debug-grid-summary-sep' | Separator between two summary-strip metrics. | Css |
HERO_HEADER | 'yii-debug-hero-header' | Header row of a hero, holding its identity and its status. | Css |
HERO_IDENTITY | 'yii-debug-hero-identity' | Mark and title group of a hero header. | Css |
HERO_MARK | 'yii-debug-hero-mark' | Avatar tile carrying the short mark before the hero title. | Css |
HERO_METRIC | 'yii-debug-hero-metric' | One label and value pair of the hero metric row. | Css |
HERO_METRICS | 'yii-debug-hero-metrics' | Metric row under the hero header. | Css |
HERO_STATUS | 'yii-debug-hero-status' | Status slot opposite the hero title. | Css |
HERO_SUBTITLE | 'yii-debug-hero-subtitle' | Qualifier shown under the hero title. | Css |
HERO_TEXT | 'yii-debug-hero-text' | Title and subtitle stack of a hero. | Css |
HERO_TITLE | 'yii-debug-hero-title' | Subject name of a hero. | Css |
LINK_PILL | 'yii-debug-link-pill' | Pill-shaped cross-reference of a link strip. | Css |
LINK_STRIP | 'yii-debug-link-strip' | Labeled strip of cross-references. | Css |
LINK_STRIP_LABEL | 'yii-debug-link-strip-label' | Name of a link strip. | Css |
LINK_STRIP_LIST | 'yii-debug-link-strip-list' | Wrapper laying out the pills of a link strip. | Css |
MANIFEST | 'yii-debug-manifest' | Vendor-grouped package roster card. | Css |
MANIFEST_COUNT | 'yii-debug-manifest-count' | Package tally shown at the end of a manifest header. | Css |
MANIFEST_GRID | 'yii-debug-manifest-grid' | Dense multi-column grid holding the manifest entries. | Css |
MANIFEST_HEAD | 'yii-debug-manifest-head' | Header naming the vendor a manifest groups. | Css |
MANIFEST_ITEM | 'yii-debug-manifest-item' | One package entry of a manifest. | Css |
MANIFEST_NAME | 'yii-debug-manifest-name' | Package name inside a manifest entry. | Css |
MANIFEST_VERSION | 'yii-debug-manifest-version' | Resolved version inside a manifest entry. | Css |
MUTED | 'yii-debug-muted' | De-emphasized text the reader can usually skip. | Css |
NOT_SET | 'yii-debug-not-set' | Placeholder standing in for a value the capture did not record. | Css |
PANEL_GROUP | 'yii-debug-panel-group' | Labeled section grouping a panel’s content blocks. | Css |
READOUT_CARD | 'yii-debug-readout-card' | Headline card carrying one metric of a readout row. | Css |
READOUT_GRID | 'yii-debug-readout-grid' | Row of headline readout cards. | Css |
READOUT_LABEL | 'yii-debug-readout-label' | Metric name of a readout card. | Css |
READOUT_META | 'yii-debug-readout-meta' | Qualifier shown under the value of a readout card. | Css |
READOUT_VALUE | 'yii-debug-readout-value' | Headline value of a readout card. | Css |
SECTION | 'yii-debug-section' | Titled content section of a panel. | Css |
SECTION_COUNT | 'yii-debug-section-count' | Tally shown at the end of a section title. | Css |
SECTION_HEADER | 'yii-debug-section-header' | Header strip introducing a content section. | Css |
SECTION_MARK | 'yii-debug-section-mark' | Glyph shown before a section title. | Css |
SECTION_TITLE | 'yii-debug-section-title' | Title of a content section. | Css |
SR_ONLY | 'yii-debug-sr-only' | Content exposed to assistive technology only. | Css |
STAT | 'yii-debug-stat' | Tile carrying one headline metric of a stat strip. | Css |
STAT_ICON | 'yii-debug-stat-icon' | Glyph of a stat tile. | Css |
STAT_LABEL | 'yii-debug-stat-label' | Metric name of a stat tile. | Css |
STAT_STRIP | 'yii-debug-stat-strip' | Row of stat tiles. | Css |
STAT_VALUE | 'yii-debug-stat-value' | Headline value of a stat tile. | Css |
TAB | 'yii-debug-tab' | Single entry of a tab list. | Css |
TAB_CONTENT | 'yii-debug-tab-content' | Container holding every tab panel. | Css |
TAB_LINK | 'yii-debug-tab-link' | Control selecting a tab. | Css |
TAB_PANEL | 'yii-debug-tab-panel' | Content region a tab reveals. | Css |
TABLE | 'yii-debug-table' | Data grid shell. | Css |
TABLE_MONO | 'yii-debug-table-mono' | Data grid rendered in the monospace face. | Css |
TABLE_OVERVIEW | 'yii-debug-table-overview' | Data grid laid out as a label and value overview. | Css |
TABLE_WRAP | 'yii-debug-table-wrap' | Horizontal scroll wrapper around a data grid. | Css |
TABS | 'yii-debug-tabs' | Tab list. | Css |
TRACE | 'yii-debug-trace' | List of captured source frames. | Css |
Method details
Section titled “Method details”badge()
Section titled “badge() ”public static function badge(PHPForge\Debug\Tone $tone): stringReturns the class list of a status chip rendered in the requested tone.
Parameters
| Parameter | Type | Description |
|---|---|---|
$tone | PHPForge\ | Semantic tone of the chip. |
Returns
string: Base and variant classes of the chip.
callout()
Section titled “callout() ”public static function callout(PHPForge\Debug\Tone $tone): stringReturns the class list of a callout paragraph rendered in the requested tone.
Only the accent border varies by tone, so the muted variant deliberately carries no rule of its own and reads as the neutral base.
Parameters
| Parameter | Type | Description |
|---|---|---|
$tone | PHPForge\ | Semantic tone of the callout. |
Returns
string: Base and variant classes of the callout.
fileType()
Section titled “fileType() ”public static function fileType(PHPForge\Debug\Tone $tone): stringReturns the class list of a file-kind pill rendered in the requested tone.
Parameters
| Parameter | Type | Description |
|---|---|---|
$tone | PHPForge\ | Semantic tone of the pill. |
Returns
string: Base and variant classes of the pill.
hero()
Section titled “hero() ”public static function hero(PHPForge\Debug\Tone $tone): stringReturns the class list of a hero whose accent takes the requested tone.
The tone sets the hue the accent rail, the mark, and the status chip share, so the muted variant deliberately carries no rule of its own and reads as the neutral base.
Parameters
| Parameter | Type | Description |
|---|---|---|
$tone | PHPForge\ | Semantic tone of the hero status. |
Returns
string: Base and variant classes of the hero.
row()
Section titled “row() ”public static function row(string $variant): stringReturns the tinted row class for a status variant.
Parameters
| Parameter | Type | Description |
|---|---|---|
$variant | string | Row variant: danger, info, success, or warning. |
Returns
string: Row class carrying the variant tint.
stat()
Section titled “stat() ”public static function stat(PHPForge\Debug\Tone $tone): stringReturns the class list of a stat tile rendered in the requested tone.
Only the glyph takes the tone, so the muted variant keeps the panel accent and reads as the neutral base.
Parameters
| Parameter | Type | Description |
|---|---|---|
$tone | PHPForge\ | Semantic tone of the tile. |
Returns
string: Base and variant classes of the tile.
status()
Section titled “status() ”public static function status(string $variant): stringReturns the status-pill class for an HTTP status class.
Parameters
| Parameter | Type | Description |
|---|---|---|
$variant | string | Status class produced by Vocabulary::statusClass(): 2xx, 3xx, 4xx, 5xx, or none. |
Returns
string: Status-pill class carrying the variant hue.
summaryStat()
Section titled “summaryStat() ”public static function summaryStat(string $variant): stringReturns the tinted class of a summary-strip statistic.
Parameters
| Parameter | Type | Description |
|---|---|---|
$variant | string | Statistic variant: an HTTP status class (2xx to 5xx) or a severity (danger, info, trace, warn). |
Returns
string: Summary-statistic class carrying the variant hue.
verb()
Section titled “verb() ”public static function verb(string $verb): stringReturns the method-chip class for an HTTP verb.
Parameters
| Parameter | Type | Description |
|---|---|---|
$verb | string | Verb suffix produced by Vocabulary::verb(): delete, get, other, post, or put. |
Returns
string: Method-chip class carrying the verb hue.