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

fix(Prominent): Fix prominent theme colors for Movistar #199

Merged
merged 9 commits into from
Aug 1, 2022

Conversation

jmpg93
Copy link
Contributor

@jmpg93 jmpg93 commented Aug 1, 2022

Hi there!

I'm fixing prominent variant colors for Movistar using the latests definition of design.
It broke while aligning the colors of mistica with android and web a few weeks ago.

let navigationBarBackground = MovistarColorPalette.movistarBlue | MovistarColorPalette.darkModeBlack
var navigationBarBackground: UIColor { MovistarColorPalette.movistarBlueWithProminentVariant | MovistarColorPalette.darkModeBlack }
Copy link
Contributor Author

Choose a reason for hiding this comment

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

We need to use computed properties. Otherwise, the prominent color will be wrong.

Copy link
Contributor

Choose a reason for hiding this comment

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

should we state some kind of premises so other will have this problem into account in the future?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

What do you mean?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Talked offline. The best option for this to not happen again is to create tests for prominent. I've create this ticket to https://jira.tid.es/browse/IOS-7587 tackle it down at some point.

@jmpg93 jmpg93 requested review from a team, salavert and alexanegon and removed request for a team August 1, 2022 10:41
@jmpg93 jmpg93 self-assigned this Aug 1, 2022
@jmpg93 jmpg93 changed the title IOS-7584 Fix pominent colors fix(Prominent): Fix prominent theme colors for Movistar Aug 1, 2022
@jmpg93 jmpg93 marked this pull request as ready for review August 1, 2022 10:45
@jmpg93 jmpg93 changed the title fix(Prominent): Fix prominent theme colors for Movistar fix(Prominent): Fix prominent theme colors for Movistar Aug 1, 2022
@jmpg93 jmpg93 merged commit 7c74ba6 into main Aug 1, 2022
@jmpg93 jmpg93 deleted the fix/movistar-prominent-variant branch August 1, 2022 14:09
tuentisre pushed a commit that referenced this pull request Aug 1, 2022
# [17.1.0](v17.0.1...v17.1.0) (2022-08-01)

### Bug Fixes

* **Prominent:** Fix prominent theme colors for Movistar ([#199](#199)) ([7c74ba6](7c74ba6))

### Features

* **Logo:** changed new Mística logo ([c97e7ce](c97e7ce))
@tuentisre
Copy link
Collaborator

🎉 This PR is included in version 17.1.0 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants