WindowWidthSizeClass
Defines width-based size classes to support responsive layouts in the OUDS design system.
This classification is inspired by Material 3's window size class but introduces a custom EXTRA_COMPACT category for more granular control on the smallest screens. The theme uses this class to select the appropriate token values (e.g., typography, spacing) based on the available window width.
The active class is determined by the WindowWidthSizeClass.compute function.
See also
Entries
Properties
Functions
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
Returns an array containing the constants of this enum type, in the order they're declared.