This repository has been archived by the owner on Oct 10, 2024. It is now read-only.
Replies: 1 comment
-
I noticed the --ion-background-color was somehow void. So I added this in global.scss:
To reinforce the variable's color. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello,
Everything is working fine in my Ionic project, except the background color after showing/hiding the camera.
I am using the "scanner-active" class. Adding it to "body" and then scanning. After scanning, I am removing it - like specified in docs.
However, body's color is defaulting to white for some reason.
I checked with Inspector and I see "background: var(--ion-background-color);" - even though this is set to a different color in my code, it seems to be white after scanning (after adding/removing the "scanner-active" class basically)
Any ideas are highly appreciated and needed, thank you!
Best,
Marius
Beta Was this translation helpful? Give feedback.
All reactions