11 lines
236 B
Plaintext
11 lines
236 B
Plaintext
|
import { parseShadow } from './util'
|
||
|
|
||
|
export default tokenStream => {
|
||
|
const { offset, radius, color } = parseShadow(tokenStream)
|
||
|
return {
|
||
|
textShadowOffset: offset,
|
||
|
textShadowRadius: radius,
|
||
|
textShadowColor: color,
|
||
|
}
|
||
|
}
|