Skip to content

StyleRule

Class | orca.core

A single style rule that maps a class name (with optional pseudo-class) to property overrides.

Overview

Properties

Property Type Description
ClassName string Base class name without leading dot (e.g., "button" for a rule matching nodes with class "button").
PseudoClass string Colon-separated pseudo-state qualifiers (e.g., "hover" or "hover:focus"). Empty string means the rule applies to all states.