You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
9 lines
286 B
9 lines
286 B
3 years ago
|
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};`
|
||
|
}
|