name: Button - Over Background status: Verified description: 'When a button needs to be placed on top of a colored background or a visual, use the over background button. In order to implement this button, you must set the CSS color property of a parent element to the same value as the background the button is placed against.' SpectrumSiteSlug: https://spectrum.adobe.com/page/button/#Over-background sections: - name: Migration Guide description: | ### T-shirt sizing Button now supports t-shirt sizing and requires that you specify the size of button by adding a `.spectrum-Button--size*` class. ### Change workflow icon size Previously, all Buttons used `.spectrum-Icon--sizeS`. This has changed: | Button classname | Workflow icon classname | | -------------------------- | --------------------------------- | | `.spectrum-Button--sizeS` | `.spectrum-Icon--sizeS` | | `.spectrum-Button--sizeM` | `.spectrum-Icon--sizeM` | | `.spectrum-Button--sizeL` | `.spectrum-Icon--sizeL` | | `.spectrum-Button--sizeXL` | `.spectrum-Icon--sizeXL` | examples: - id: button-over-background name: Over background markup: |