In the realm of SASS programming, particularly within an Angular Theme framework, when dealing with nested maps it is possible to use @debug
to log their contents. However, this method currently outputs the information on a single line.
Is there a feature in SASS that allows for a more visually organized and formatted output of nested maps?
For instance, given the following example:
$colors: (
"primary": (
"milk": #fff,
"cola": #000,
"mine-shaft": #232323,
),
"secondary": (
"pampas": #f4f1ef,
"pearl-brush": #e9e2dd,
"alto": #ddd,
),
);
It would be beneficial to have a function like this:
@recursive-debug $colors
This functionality would enable us to efficiently log and analyze the structure of the nested map.