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

Style update #11

Merged
merged 8 commits into from
Dec 8, 2020
Merged

Style update #11

merged 8 commits into from
Dec 8, 2020

Conversation

jhrcook
Copy link
Owner

@jhrcook jhrcook commented Dec 8, 2020

Update the style of buttons, the spinner, the spinner pointer, the starting WelcomeView.

- new ViewModifiers, ButtonStyles, and Buttons to keep the styling
  of buttons consistent throughout the UI
- if there is only 1 heart rate data point, the graph is not
  interesting and can have strange problems, so it is only
  available if there are multiple data points
- if a segment of the HR graph only has 1 datum, the scaling would
  return `nan` for the width, causing a purple runtime warning in
  XCode for invalid frame dimensions; solution to have width of
  rectangle be 1 if only 1 data point is available
- Done button style with stronger rounding of corners (pill shape)
- in EditExerciseView, reduce Save opacity when disabled
- Color extension to take HEX
- Color extension with different shadings of workoutRed
- WelcomeView invert button color (colored background, white text)
@jhrcook jhrcook added the enhancement New feature or request label Dec 8, 2020
@jhrcook jhrcook merged commit 93a0a86 into master Dec 8, 2020
@jhrcook jhrcook deleted the style-update branch December 8, 2020 10:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant