{if !empty($colors)}
{foreach $colors as $variableName => $colorValue}
    {if !empty($colorValue)}${$variableName}: {$colorValue};{/if}
{/foreach}

$etImportForCrit: false !default;

@if $etImportForCrit == true {
    :root {
        {foreach $colors as $variableName => $colorValue}
            {if !empty($colorValue)}--et-color-{$variableName}: {$colorValue};{/if}
        {/foreach}
    }
}
{/if}