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

The application initially displays a default color before switching to the actual primary theme color #1871

Closed
hlayisanimazuze opened this issue Jul 18, 2024 · 3 comments
Assignees
Labels
bug Something isn't working ready for testing

Comments

@hlayisanimazuze
Copy link
Collaborator

hlayisanimazuze commented Jul 18, 2024

Upon loading the page, a default color gets displayed before displaying the application's theme color

Steps to reproduce the behavior:

  1. Go to 'https://function-adminportal-test.shesha.dev/login'
  2. Login
  3. Check the initial color getting displayed when moving across any page example: the loader color, login button
  4. Actual Results:

Expected behavior
The application should immediately display the primary theme color upon page load without showing the default color first

Example: The fetching form text first displays in blue, then afterwards it adjusts to the theme color
https://github.com/user-attachments/assets/371fbf73-7685-4d7a-96d0-52fe52133149

@hlayisanimazuze hlayisanimazuze added the bug Something isn't working label Jul 18, 2024
@hlayisanimazuze hlayisanimazuze added this to the Backlog milestone Jul 18, 2024
@Tshepiso-R
Copy link

Upon logging out, the application login form initially displays the primary color. After a short period, the primary color automatically changes to blue.
function-adminportal-test.shesha.dev_login.webm

@IvanIlyichev
Copy link
Contributor

Hi @hlayisanimazuze. It's fixed, please check

@hlayisanimazuze
Copy link
Collaborator Author

Add on release notes page

  • For the loader line to inherit the primary color of the system, app/app-provider.tsx is required to be added on the project level

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working ready for testing
Projects
None yet
Development

No branches or pull requests

3 participants