decrease font size of CategoryPill #581
Closed
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Fixes #155. Make category pill text size slightly smaller so we can have more on a single line on the event details screen.
Note: This will also affect the filter screen pill size when categories are selected and the home screen category labels over each event. It would be good to get UXD input here if that is ok.
I have looked into the contrast ratios of the pills and I think we may have misunderstood reaching AA standard. The table below outlines the standard that the combination of background and foreground color currently produces. Of note are the ones that only reach
AA Large
standard. This means that we should only be using this combo when the font size is 24 px or larger. The Current size of font for Category pills is 16 and with this change, reduces it to 15. Interestingly if we change the foreground color to black we reach the AA standard which allows any font size.