Preview: focus-shadow.style.ts
Size: 287 B
//proc/thread-self/root/home/byroehnu/.trash/node_modules11/@adminjs/design-system/src/utils/focus-shadow.style.ts
import { parseToRgb } from 'polished'
import { DefaultTheme } from '@styled-components'
export default (theme: DefaultTheme): string => {
const rgb = parseToRgb(theme.colors.accent)
const color = `rgba(${rgb.red}, ${rgb.green}, ${rgb.blue}, .58)`
return `0 1px 4px 0 ${color};`
}
Directory Contents
Dirs: 0 × Files: 21