If we have nested maps in SASS (an Angular Theme for example) we can log the contents of it with @debug
however it outputs everything in one line.
Anyone know if SASS has something that will pretty print the structure of nested maps?
So for example if we had:
$colors: (
"primary": (
"milk": #fff,
"cola": #000,
"mine-shaft": #232323,
),
"secondary": (
"pampas": #f4f1ef,
"pearl-brush": #e9e2dd,
"alto": #ddd,
),
);
We could do something like
@recursive-debug $colors
To log the structure of it.