-
Notifications
You must be signed in to change notification settings - Fork 77
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
feat(slider): add component tokens #10716
Conversation
…nto dit13711/7180-add-tokens-to-slider
we are not adding tokens for outline-color and I don't think this component needs stateful tokens |
@alisonailea |
We may in the future. For now, here's a list of our tokenizable styles |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Review the component for shared design patterns. It's more important that tokens define our design patterns than match the structure of the component. Also make sure tokens can be applied in the various host states including disabled.
…nto dit13711/7180-add-tokens-to-slider
…nto dit13711/7180-add-tokens-to-slider
…nto dit13711/7180-add-tokens-to-slider
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚀
…nto dit13711/7180-add-tokens-to-slider
Related Issue: #7180
Summary
Add tokens for the slider component, e2e, and custom-theme chromatic tests. (WIP)
Slider Tokens
--calcite-slider-text-color
: Specifies the component's text color.--calcite-slider-track-color
: Specifies the component's track color.--calcite-slider-track-fill-color
: Specifies the component's fill track color.--calcite-slider-handle-fill-color
: Specifies the component's handle fill color.--calcite-slider-handle-extension-color
: Specifies the component's handle extension color.--calcite-slider-tick-color
: Specifies the component's tick color.--calcite-slider-tick-border-color
: Specifies the component's tick border color.--calcite-slider-tick-selected-color
: Specifies the component's tick color when in selected range.--calcite-slider-graph-color
: Specifies the component's graph color.