mirror of
https://github.com/tachyons-css/tachyons.git
synced 2026-02-06 11:46:51 +00:00
Adds local variables to debug children
This commit is contained in:
parent
607afac168
commit
6e85fb4e35
@ -8,7 +8,10 @@
|
||||
|
||||
*/
|
||||
|
||||
.debug * { outline: 1px solid rbg(128 0 90 / .8); }
|
||||
.debug-white * { outline: 1px solid white; }
|
||||
.debug-black * { outline: 1px solid black; }
|
||||
.debug * {
|
||||
--debug-color: 128 0 90;
|
||||
--debug-opacity: .8;
|
||||
outline: 1px solid rbg(var(--debug-color, 128 0 90) / (--debug-opacity, .8));
|
||||
}
|
||||
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user