Should I duplicate my css ? #134
Locked
YoannBuzenet
started this conversation in
Show & Tell
Replies: 0 comments 1 reply
-
To have low coupling, I suggest working around the duplicate solution. Can you send an example of your code? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello,
For most of my components, I use the css variables exported from a
module.scss
file.But if I want to use these same variable in my global
.css
file, I can't access them. So for now, I defined them again in a css file that I import in it.Is it good practice though ? Should I define variables in
.module.scss
file AND in a regular.css
file ? How would you handle it ?Beta Was this translation helpful? Give feedback.
All reactions