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(colors): totally refactor color usage to make it possible to re-theme the app #10

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

Horgix
Copy link
Contributor

@Horgix Horgix commented Sep 13, 2022

Prior to this PR, a lot of colors where hardoded inside the "style" section of the .vue files. The color variables available for configuration in the variables.scss file and their usage was also blurry.

This overall made the re-theming of the App (e.g. for specific events) considerably hard.

This PR totally overhauls that, defining color variables by purpose (see the comments in the variables.scss file) and using them everywhere accordingly, effectively removing any hardcoded colors and allowing to re-theme the schedule more easily.

This changes a tiny bit the app on some parts, see comparisons below

Schedule View

Before:

2022-09-14-004953_1920x1080_scrot

After:

2022-09-14-005050_1920x1080_scrot

TalkInfo View

Before:

2022-09-14-005136_1920x1080_scrot

After:

2022-09-14-005142_1920x1080_scrot

@Horgix Horgix requested a review from blacroix September 13, 2022 22:54
Copy link
Contributor

@blacroix blacroix left a comment

Choose a reason for hiding this comment

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

Thanks for the rework, could you update your PR (pull) 🙏🏻

@@ -1,6 +1,38 @@
// Color branding below according to Publicis Sapient colors

// Primary coolor is used as the baseline for the theme to appear in important
Copy link
Contributor

Choose a reason for hiding this comment

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

Not very confident that it will be updated in the long term 🤔

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?

Choose a reason for hiding this comment

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

👀

…e-theme the app

Prior to this commit, a lot of colors where hardoded inside the "style"
section of the .vue files. The color variables available for
configuration in the variables.scss file and their usage was also
blurry.

This commit totally overhauls that, defining color variables by purpose
and using them everywhere accordingly, effectively removing any
hardcoded colors and allowing to re-theme the schedule more easily.
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.

3 participants