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

[UI] Fallback colors in themes don't work. Need to re-check generation of all CSS variables. #1348

Open
1 task done
VolhaBazhkova opened this issue May 6, 2024 · 1 comment
Labels
bug Something isn't working technical debt

Comments

@VolhaBazhkova
Copy link

VolhaBazhkova commented May 6, 2024

EPAM AI DIAL chat version

0.10.0

What happened?

In the tailwind.config we set css variables in this way var(--bg-layer-1, #090D13) to have a fallback value in case if no value received from the remote source. However, for now this doesn't work.
For example, if bg-layer-1 value at the themes config at remote source will be set to "", the fallback value #090D13 will be not used for the background.
UI looks broken.

image

image

Expected result
Fallback values should be working in case of the empty value from the remote source.

Confidential information

  • I confirm that do not share any confidential information
@VolhaBazhkova VolhaBazhkova added bug Something isn't working technical debt labels May 6, 2024
@denys-kolomiitsev
Copy link
Contributor

Looks like problem is in the styles.ts css variables functions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working technical debt
Projects
Status: No status
Development

No branches or pull requests

2 participants