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(whitelabel): set primary color on theme based on login config #178

Merged
merged 10 commits into from
Jan 27, 2023

Conversation

beawar
Copy link
Contributor

@beawar beawar commented Jan 3, 2023

Set the primary color based on the config received.
In both dark and light mode, use as fallback the other config if the one relative to the dark mode is not available.
Save the received config in the local storage to use them as default until the response is received
on next accesses.
If no config is available (both network or storage one), use the default theme as fallback.

refs: IRIS-3473

@beawar beawar marked this pull request as ready for review January 18, 2023 11:40
gnekoz
gnekoz previously approved these changes Jan 20, 2023
nubsthead
nubsthead previously approved these changes Jan 20, 2023
giuliano176
giuliano176 previously approved these changes Jan 24, 2023
nubsthead
nubsthead previously approved these changes Jan 25, 2023
 - @zextras/carbonio-ui-sdk 1.4.0

Remove pinst and update scripts and pre-commit hook

refs: IRIS-3473
@beawar beawar merged commit 2ef5645 into devel Jan 27, 2023
@beawar beawar deleted the IRIS-3473-apply-custom-colors-to-theme branch January 27, 2023 16:29
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.

5 participants