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

--cal-brand-color is not adjustable through cssVarsPerTheme #16732

Open
ErikHendrikson opened this issue Sep 19, 2024 · 0 comments
Open

--cal-brand-color is not adjustable through cssVarsPerTheme #16732

ErikHendrikson opened this issue Sep 19, 2024 · 0 comments
Labels
🐛 bug Something isn't working embed area: embed, widget, react embed

Comments

@ErikHendrikson
Copy link

Issue Summary

It seems the --cal-brand-color is not adjustable through cssVarsPerTheme. And this is probably due to cal-brand-color being undefined at classname .bg-brand. This is happening in the react inline embed.

Steps to Reproduce

  1. go to https://codesandbox.io/p/sandbox/embed-advanced-css-vars-x2sdgy.
  2. find in the chrometools.
  3. classname .bg-brand cannot find cal-brand-color (--cal-brand-color is not defined) and uses the 'black' fallback.

I am expecting to be able to change the cssvars through cssVarsPerTheme, but cal-brand-color is therefore not adjustable. The loader always stays black.

Actual Results

  • The loader stays black instead of another color.

Expected Results

  • The css-var cal-brand-color is defined and therefore can be overwritten through cssVarsPerTheme.

Technical details

  • Chrome 128.0.6613.115
  • @calcom/embed-react": "^1.5.1", "next": "14.2.8", "react": "^18", "react-dom": "^18"

Evidence

Schermafbeelding 2024-09-19 om 22 44 25
@ErikHendrikson ErikHendrikson added the 🐛 bug Something isn't working label Sep 19, 2024
@dosubot dosubot bot added the embed area: embed, widget, react embed label Sep 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐛 bug Something isn't working embed area: embed, widget, react embed
Projects
None yet
Development

No branches or pull requests

1 participant