()
| 112 | } |
| 113 | |
| 114 | function clear() { |
| 115 | drop(STORAGE_KEYS.THEME_CSS_LIGHT) |
| 116 | drop(STORAGE_KEYS.THEME_CSS_DARK) |
| 117 | } |
| 118 | |
| 119 | function ensureThemeStyleElement(): HTMLStyleElement { |
| 120 | const existing = document.getElementById(THEME_STYLE_ID) as HTMLStyleElement | null |
no test coverage detected