Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor(switch): simplify switch CSS props #8966

Merged

Conversation

jcfranco
Copy link
Member

Related Issue: #7180

Summary

Drops shadow CSS prop in favor of border for thumb border effect.

Removes the following component tokens (CSS props):

  • --calcite-switch-handle-shadow
  • --calcite-block-section-switch-handle-shadow
  • --calcite-block-section-switch-handle-shadow-hover

Stems from #8899 (comment).

@jcfranco jcfranco requested a review from a team as a code owner March 19, 2024 08:02
@jcfranco jcfranco merged commit e81013b into epic/7180-component-tokens Mar 19, 2024
2 checks passed
@jcfranco jcfranco deleted the jcfranco/7180-simplify-switch-css-props branch March 19, 2024 16:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants