Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(atomic): collapsed answer gradient colour (#4081)
https://coveord.atlassian.net/browse/KIT-3313 Right now, the linear-gradient is hardcoded to white rather than to the background atomic colour. This will create issues when clients modify their background colour to something other than white, like we doc on the docs site when in dark mode. <img width="1222" alt="Screenshot 2024-06-11 at 3 34 27 PM" src="https://github.com/coveo/ui-kit/assets/39384459/967e0fdc-923d-4554-a290-a795c7b66b66"> It doesn't seem possible for clients to change the linear-gradient. Probably because it requires targeting a pseudo-element of a part with a certain class. So, in this PR, I use the atomic-background colour instead.
- Loading branch information