(value: string)
| 719 | } |
| 720 | |
| 721 | export function getShadowModifier(value: string): CSSValueModifier | null { |
| 722 | const shadowModifier = getShadowModifierWithInfo(value); |
| 723 | if (!shadowModifier) { |
| 724 | return null; |
| 725 | } |
| 726 | return (theme: Theme) => shadowModifier(theme).result; |
| 727 | } |
| 728 | |
| 729 | export function getScrollbarColorModifier(value: string): string | CSSValueModifier | null { |
| 730 | const colorsMatch = value.match(/^\s*([a-z]+(\(.*\))?)\s+([a-z]+(\(.*\))?)\s*$/); |
no test coverage detected