-
Notifications
You must be signed in to change notification settings - Fork 4.5k
Changes in CSS file do not update Next.js setup #17288
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
Comments
Hey there! This seems like a bug on our end, I agree that this should just work. We'll look into it. In the mean time, can you maybe share the contents of the file that references the CSS variable? I want to make sure we add a test case for your setup 👍 Also curious what extension you are using? Vite/CLI/PostCSS or something else? |
Hey there, thank you so much for a quick reply. My setup is: Issue persists both in client and server components App server is ran within docker container |
This comment has been minimized.
This comment has been minimized.
Referencing in JavaScript
@theme
do not update theme layer on change within docker container
@theme
do not update theme layer on change within docker container@theme
aren't update theme layer on change within docker container
@theme
aren't update theme layer on change within docker container@theme
don't update theme layer on change for containerized app
@theme
don't update theme layer on change for containerized app@theme
don't update theme layer on change for Next.js app
Update: How to reproduce:
|
@theme
don't update theme layer on change for Next.js app@theme
don't update theme layer on files change
Update: I've setup a dummy |
@theme
don't update theme layer on files change
@killthecreator Thanks a ton for the report. We looked into it and will get a fix out for it today. |
Section says that i can use CSS variables directly. It might be true in case of
static
theme, but it does not work for custom non-static theme which gets only the values picket up by the scanner from classnames.The confusion is that it is never mentioned, that scanner does not pickup CSS variables used directly to include them in a server theme layer:
The text was updated successfully, but these errors were encountered: