Skip to content

Add opt-in raised (gradient) button faces - #13

Merged
bdbarnett merged 1 commit into
mainfrom
cursor/raised-button-faces-9cb9
Jul 23, 2026
Merged

Add opt-in raised (gradient) button faces#13
bdbarnett merged 1 commit into
mainfrom
cursor/raised-button-faces-9cb9

Conversation

@bdbarnett

Copy link
Copy Markdown
Contributor

Summary

  • Opt-in style="raised" for Button/IconButton (default flat)
  • Shared shade/lerp raised fill; pressed inverts lighting
  • Chip, Card, SegmentedControl support the same opt-in style

Test plan

  • Flat Button unchanged
  • Raised Button/IconButton press invert
  • ruff / tests.test_raised

…dControl

Introduce a shared shade/lerp raised-fill helper and style="raised" (default
remains flat). Pressed raised buttons invert lighting; labels/icons use a
transparent face so the gradient shows through.
@cursor

cursor Bot commented Jul 23, 2026

Copy link
Copy Markdown
Contributor

Bugbot is not enabled for your account, so this pull request was not reviewed.

Enable Bugbot in the Cursor dashboard to get automatic reviews on future PRs.

@bdbarnett
bdbarnett merged commit cdcfcf0 into main Jul 23, 2026
2 checks passed
@bdbarnett
bdbarnett deleted the cursor/raised-button-faces-9cb9 branch July 23, 2026 09:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants