@workday/canvas-kit-react
Version:
The parent module that contains all Workday Canvas Kit React components
13 lines (12 loc) • 540 B
JavaScript
import { createStencil } from '@workday/canvas-kit-styling';
/**
* Progressive enhancement corner shape for rounded components. Browsers that don't support
* `corner-shape` will fall back to the radius alone.
* See https://developer.mozilla.org/en-US/docs/Web/CSS/corner-shape
*/
export const cornerShapeStencil = createStencil({
vars: {
shape: '',
},
base: { name: "1ocssx", styles: "box-sizing:border-box;border-radius:var(--shape-corner-shape-ccab68);corner-shape:superellipse(1.1);" }
}, "corner-shape-ccab68");