Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
const defaultBorder = api => (edges = [`top`]) => css`
border-image-slice: 30;
border-style: solid;
border-width: 0;
${map(edge => `border-${edge}-width: 1px;`, ensureArray(edges))};
${api({
borderImageSource: `g:lightFade`,
})};
`
const createBreakpointDescriptor = curry((name, range) => ({
name,
range: ensureArray(range),
}))