SelectionEmphasis
Style for Choice In most cases, emphasised styles are preferred, as it’s important to highlight user selections. Subtle styles are useful in contexts where the coloured selection competes in the hierarchy of nearby elements, like other emphasised elements, or coloured content within the Choice Button content.
Two different selection styles allow fine grained control of visual hierarchy.
Emphasised variants have selected states in Skapa's primary accent colour. They are used in forms and settings where the selection is the primary task. This is the recommended selection style to use in most cases.
Subtle variants are used in scenarios where the selection is secondary and should blend in with nearby surrounding components, where the accent colour may draw attention away from other primary actions.
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.