See Scss variable value from another file without open the file with variable
I have a variables scss file where I define a colors so:
$text-primary-color: #004851;
$text-secondary-color: #9b9b9b;
I then have other files where I refer to these variables:
h1 {
color: main.$text-primary-color;
}
However, from this file, I would like to be able to see what the value of the variable is, without having to go to my variables file itself. I know I can ctrl + click on the variable to go directly to it, but is there any way to just hover on the variable and get some sort of tool tip that says what it evaluates to?
Please sign in to leave a comment.
You can use View > Quick Definition on a variable: