-
Notifications
You must be signed in to change notification settings - Fork 315
Closed
Labels
⚡️ featureNew tricks for the tool-paletteNew tricks for the tool-palette😎 in progressBeing hacked onBeing hacked on
Description
When debugging layout bugs i often use a snippet that puts the DOM in a debug mode that looks like that:

It basically shows each component with transparent borders to easily see the tree.
The css is pretty basic:
*:not(path):not(g) {
color: hsla(210, 100%, 100%, 0.9) !important;
background: hsla(210, 100%, 50%, 0.5) !important;
outline: solid 0.25rem hsla(210, 100%, 100%, 0.5) !important;
box-shadow: none !important;
}and I even have a bookmarklet that does exactly that:
javascript:(()=>{var s= document.createElement('style');s.innerHTML='*:not(path):not(g) {color: hsla(210, 100%, 100%, 0.9) !important;background: hsla(210, 100%, 50%, 0.5) !important;outline: solid 0.25rem hsla(210, 100%, 100%, 0.5) !important;box-shadow: none !important;}';document.head.appendChild(s)})()This could be a cool addition to the extension,
Thanks!!
Metadata
Metadata
Assignees
Labels
⚡️ featureNew tricks for the tool-paletteNew tricks for the tool-palette😎 in progressBeing hacked onBeing hacked on