CSS Variable value from Inspector

(Luca) #1

Actually in Firefox Developer Tool I could see something as:

.foo {
    background-color: var(--primary-color);

but I can’t know what is current value for--primary-color.

Is it possibile to add this kind of feature?

(Tom Tromey) #2

There’s a bug open for this: https://bugzilla.mozilla.org/show_bug.cgi?id=1145527. It has a patch, too, but it needs a bit more work before it can land.

(Luca) #3

I hope to see it soon :slight_smile: