(css: string)
| 65 | const TRITAN_THEME_CLASSES = [".dark-tritan", ".light-tritan"]; |
| 66 | |
| 67 | function stripCssComments(css: string): string { |
| 68 | return css.replace(/\/\*[\s\S]*?\*\//g, ""); |
| 69 | } |
| 70 | |
| 71 | function extractBlock(css: string, selector: string): string | null { |
| 72 | const cssWithoutComments = stripCssComments(css); |