我找到了这段代码:
$custom-colors: null !default
$colors: mergeColorMaps(("white": ($white, $black), "black": ($black, $white), "light": ($light, $light-invert), "dark": ($dark, $dark-invert), "primary": ($primary, $primary-invert, $primary-light, $primary-dark), "link": ($link, $link-invert, $link-light, $link-dark), "info": ($info, $info-invert, $info-light, $info-dark), "success": ($success, $success-invert, $success-light, $success-dark), "warning": ($warning, $warning-invert, $warning-light, $warning-dark), "danger": ($danger, $danger-invert, $danger-light, $danger-dark)), $custom-colors) !default
如何扩展与每种颜色相关联的颜色列表和类?
显然,在包含Bulma之前需要定义一个变量
$custom-colors
,但$custom-colors的格式应该是什么并不清楚?我没有找到示例或良好的描述。有什么帮助吗?