@dxos/ui-theme
    Preparing search index...

    Function buttonValence

    • Classes for a Button rendered inside a Banner.Root that should inherit the banner's valence color. Banner.Root sets --dx-valence-bg / --dx-valence-bg-hover / --dx-valence-text on its DOM node. Pass variant='valence' to the Button so button.css reads those variables.

      Parameters

      • Optional_valence: MessageValence

      Returns string