_config-child-theme-woocommerce.scss 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. /**
  2. * Redefine Sass map values for child theme WooCommerce output.
  3. */
  4. $config-woocommerce: (
  5. /* Wrapper Width - accepts full, wide, or defuault */
  6. "wrapper-width": wide,
  7. /* Tables */
  8. "table": (
  9. /* Borders */
  10. "border": (
  11. "color": map-deep-get($config-global, "color", "border", "default"),
  12. "radius": 0,
  13. "width": 1px,
  14. ),
  15. "padding": map-deep-get($config-global, "spacing", "unit"),
  16. ),
  17. /* Tabs */
  18. "tabs": (
  19. /* Borders */
  20. "border": (
  21. "color": map-deep-get($config-global, "color", "border", "default"),
  22. "radius": 10px,
  23. "width": 1px,
  24. ),
  25. "padding": map-deep-get($config-global, "spacing", "horizontal"),
  26. ),
  27. /* Mini cart */
  28. "mini-cart": (
  29. /* Color */
  30. "color": (
  31. "background": map-deep-get($config-global, "color", "primary", "default"),
  32. "border": map-deep-get($config-global, "color", "background", "default"),
  33. "text": map-deep-get($config-global, "color", "background", "default"),
  34. "subtotal": map-deep-get($config-global, "color", "foreground", "default"),
  35. "count": map-deep-get($config-global, "color", "foreground", "light"),
  36. ),
  37. /* Button */
  38. "button": (
  39. "color": map-deep-get($config-global, "color", "primary", "default"),
  40. "background-color": map-deep-get($config-global, "color", "background", "default"),
  41. ),
  42. "width": #{25 * map-deep-get($config-global, "spacing", "unit")},
  43. ),
  44. /* Star Rating */
  45. "star-rating": (
  46. /* Color */
  47. "color": map-deep-get($config-global, "color", "alert", "warning"),
  48. ),
  49. );