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

Missing theme style CSS injection in player and trainer pages #1941

Open
xgo-work opened this issue Dec 15, 2023 · 0 comments
Open

Missing theme style CSS injection in player and trainer pages #1941

xgo-work opened this issue Dec 15, 2023 · 0 comments

Comments

@xgo-work
Copy link
Contributor

The CSS variables that are defined in the theme are injected as variables in the css but not referenced in a style in trainer and player pages.

In the scenario page, the layout using the theme variable is injected
wegas-app/src/main/node/wegas-react/src/Editor/Components/Layout.tsx

but it is not the case for trainer and player for instance
wegas-app/src/main/node/wegas-react/src/Editor/Components/Player.tsx
wegas-app/src/main/node/wegas-react/src/Host/HostLayout.tsx

Those should be defined in the respective files or unified at a higher level (maybe in the ThemeProvider react element itself)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant