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
Basic colors. WARNING: Don't use these outside this file as the variable names are not useful
But it's easily ignorable, also, in many places we're using the wrong variables for colors, we should use the palette.
Describe the improvement you'd like
Make more difficult to use the wrong color variables.
Describe alternatives you've considered
LESS doesn't have private variables, a workaround is to move the ones that we can’t use but that are needed for variable.less to a file named private-vars.less, so variable.less is the only one to import it.
The text was updated successfully, but these errors were encountered:
The variables in private-vars.less are still accessible anywhere that imports variable.less, so this idea doesn't work. However having them in 2 files might help devs to understand the right way of using them
Ticket: #7862
Extracting color variables to another file, the ones that are not part of the palette.
The variables in `private-vars.less` are still accessible anywhere that imports `variable.less`. However having them in 2 files might help devs to understand the right way of using them.
Describe the issue
There is a comment that says:
But it's easily ignorable, also, in many places we're using the wrong variables for colors, we should use the palette.
Describe the improvement you'd like
Make more difficult to use the wrong color variables.
Describe alternatives you've considered
LESS doesn't have private variables, a workaround is to move the ones that we can’t use but that are needed for
variable.less
to a file namedprivate-vars.less
, sovariable.less
is the only one to import it.The text was updated successfully, but these errors were encountered: