(content: string, name: string, value = "", theme?: string)
| 64 | }; |
| 65 | |
| 66 | const createOrUpdateStyle = (content: string, name: string, value = "", theme?: string) => { |
| 67 | if (hasStyle(name, value)) { |
| 68 | updateStyle(content, name, value, theme); |
| 69 | } else { |
| 70 | createStyle(content, name, value, theme); |
| 71 | } |
| 72 | }; |
| 73 | |
| 74 | const mergeStyles = (style1?: string, style2?: string) => { |
| 75 | if (style1 === undefined) { |
no test coverage detected
searching dependent graphs…