Skip to content

Infra/ designTokens disabled Slider #2033

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

Merged
merged 1 commit into from
May 8, 2022

Conversation

lidord-wix
Copy link
Contributor

Description

Fix disabled slider border color - design tokens

Changelog

Fix disabled slider border color - design tokens

@@ -621,6 +622,9 @@ const styles = StyleSheet.create({
shadowRadius: SHADOW_RADIUS,
elevation: 2
},
disabledThumb: {
borderColor: Colors.$backgroundElevated
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why this token is only for the disabled thumb? The active one is white (as defined in line 618), shouldn't it be tokenized as well?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

For the active slider, the thumb should be white for both dark and light modes.
For the disabled slider, it should be elevated (white in light mode and grey1 in dark)

@Inbal-Tish Inbal-Tish merged commit cc31e6f into master May 8, 2022
@lidord-wix lidord-wix deleted the infra/designTokens_disabled_slider branch May 16, 2022 08:54
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