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

feat(time-slider): improve time slider #461

Merged
merged 3 commits into from
Aug 12, 2020
Merged

Conversation

pwambach
Copy link
Contributor

closes #428

@pwambach pwambach requested a review from KatvonRivia August 12, 2020 09:01
@@ -29,8 +29,8 @@ const TimeSliderRange: FunctionComponent<Props> = ({

return {
left: `${tickPosition}%`,
backgroundColor: isSelected ? 'white' : undefined, // eslint-disable-line no-undefined
transform: isSelected ? 'translateX(-50%) scale(2)' : undefined // eslint-disable-line no-undefined
backgroundColor: isSelected ? '#00AE9D' : undefined, // eslint-disable-line no-undefined
Copy link
Member

Choose a reason for hiding this comment

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

Is it possible to use the color variables here 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.

unfortunately not, the stylus variables are not accessible from javascript :(

@pwambach pwambach merged commit 8bb6d44 into develop Aug 12, 2020
@pwambach pwambach deleted the feat/time-slider-changes branch August 12, 2020 13: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.

Timeslider: fixes/tweaks
2 participants