From 8fec428142c8561840b214841713e3191c74364e Mon Sep 17 00:00:00 2001 From: Sophie Schneider Date: Wed, 3 Apr 2024 15:36:33 +0000 Subject: [PATCH] Remove border-gradient --- polaris-react/postcss-mixins/border-gradient.js | 12 ------------ 1 file changed, 12 deletions(-) delete mode 100644 polaris-react/postcss-mixins/border-gradient.js diff --git a/polaris-react/postcss-mixins/border-gradient.js b/polaris-react/postcss-mixins/border-gradient.js deleted file mode 100644 index 2324e328a79..00000000000 --- a/polaris-react/postcss-mixins/border-gradient.js +++ /dev/null @@ -1,12 +0,0 @@ -// Applies a border-gradient effect to an element. -// @param $backgroundColor - Color of element inside the border. Transparent colors are not supported. -// @param $borderGradientColor - Color gradient to use for the border -// @param $borderRadius - Polaris BorderRadiusScale custom property. -module.exports = (_, backgroundColor, borderGradientColor, borderRadius) => ({ - borderRadius: borderRadius, - border: 'solid var(--p-border-width-025) transparent', - backgroundColor: backgroundColor, - backgroundImage: `linear-gradient(${backgroundColor}, ${backgroundColor}), ${borderGradientColor}`, - backgroundOrigin: 'border-box', - backgroundClip: 'padding-box, border-box', -});