Themes and styling

Apply a shared theme and adjust design tokens within the required scope.

Style scope#

Add a custom class to the themed region. Check colors and text contrast in every state, and reuse the same tokens for shared styles across screens.

HTML
<div class="sy-theme sy-theme-light brand-theme">
  <sy-button variant="primary">Button with brand colors</sy-button>
</div>

Prefer public properties, classes, and tokens over selectors that depend on a component's internal HTML structure.