You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
To differentiate our vanilla extract css files to scss, we have to use a prefix to .css.ts so that we can handle the compiled vanilla css files differently than our compiled scss files. We've gone with .vanilla.css.ts but that means our development mode class names now have a . in them, which needs to be escaped in the CSS files. This is a vector for instability that we would rather avoid, so it would be nice if:
vanilla extract would automatically replace non-word/non-whitespace characters in the file page with _, or
vanilla extract exposed the classname in the identifiers function so we could do basically the same thing ourselves
Right now the classname is not exposed so all our classnames are the same except for the hash, which is not helpful for understanding which styles are fighting.
Describe the bug
To differentiate our vanilla extract css files to scss, we have to use a prefix to
.css.ts
so that we can handle the compiled vanilla css files differently than our compiled scss files. We've gone with.vanilla.css.ts
but that means our development mode class names now have a.
in them, which needs to be escaped in the CSS files. This is a vector for instability that we would rather avoid, so it would be nice if:identifiers
function so we could do basically the same thing ourselvesRight now the classname is not exposed so all our classnames are the same except for the hash, which is not helpful for understanding which styles are fighting.
Reproduction
No repro
System Info
Used Package Manager
yarn
Logs
No response
Validations
The text was updated successfully, but these errors were encountered: