• Is there any way with the filter hook ‘wp_scss_variables’ to assign a Sass Map?

    For example:

    $variables['palette'] = array(
            'primary' => '#012345',
            'secondary' => '#543210',
            'success' => '#3adb76',
            'warning' => '#ffae00',
            'alert' => '#cc4b37',
        );

    This doesn’t work but it seems like there should be some way? Thanks for any help.

  • The topic ‘Possible to assign variable as a map?’ is closed to new replies.