themes-wordpress/brompton/sass/_config-child-theme-woocommerce.scss

55 lines
1.4 KiB
SCSS

/**
* Redefine Sass map values for child theme WooCommerce output.
*/
$config-woocommerce: (
/* Wrapper Width - accepts full, wide, or defuault */
"wrapper-width": wide,
/* Tables */
"table": (
/* Borders */
"border": (
"color": map-deep-get($config-global, "color", "border", "default"),
"radius": 0,
"width": 1px,
),
"padding": map-deep-get($config-global, "spacing", "unit"),
),
/* Tabs */
"tabs": (
/* Borders */
"border": (
"color": map-deep-get($config-global, "color", "border", "default"),
"radius": 10px,
"width": 1px,
),
"padding": map-deep-get($config-global, "spacing", "horizontal"),
),
/* Mini cart */
"mini-cart": (
/* Color */
"color": (
"background": map-deep-get($config-global, "color", "foreground", "default"),
"border": map-deep-get($config-global, "color", "secondary", "hover"),
"text": map-deep-get($config-global, "color", "secondary", "default"),
"subtotal": map-deep-get($config-global, "color", "secondary", "default"),
"count": map-deep-get($config-global, "color", "secondary", "default"),
),
/* Button */
"button": (
"color": map-deep-get($config-button, "color", "text-hover"),
"background-color": map-deep-get($config-button, "color", "background-hover"),
),
"width": #{25 * map-deep-get($config-global, "spacing", "unit")},
),
/* Star Rating */
"star-rating": (
/* Color */
"color": map-deep-get($config-global, "color", "alert", "warning"),
),
);