painty / CSS-Used-ChromeExt

Get all css rules used by the selected DOM and its children.
https://chrome.google.com/webstore/detail/css-used/cdopjfddjlonogibjahpnmjpoangjfff
MIT License
263 stars 62 forks source link

Doesn't handle CSS variables #39

Open easrng opened 3 years ago

easrng commented 3 years ago

Description

On any page that uses CSS variables CSS Used fails to copy the variable definitions.

Expected result.

CSS Used copies the CSS variables

:root{--color:#333;}div.somediv{color:var(--color);}

Actual result.

div.somediv{color:var(--color);}
xaronnn commented 2 years ago

Same.

quackdor commented 1 year ago

neeeeed!

ryanlinnane commented 1 year ago

this would be very nice to have