* Reloads styles.
()
| 27154 | /** |
| 27155 | * Reloads styles. |
| 27156 | */ function reloadStyles() { |
| 27157 | if (_themeState.theme) { |
| 27158 | var themableStyles = []; |
| 27159 | for(var _i = 0, _a = _themeState.registeredThemableStyles; _i < _a.length; _i++){ |
| 27160 | var styleRecord = _a[_i]; |
| 27161 | themableStyles.push(styleRecord.themableStyle); |
| 27162 | } |
| 27163 | if (themableStyles.length > 0) { |
| 27164 | clearStyles(1 /* onlyThemable */ ); |
| 27165 | applyThemableStyles([].concat.apply([], themableStyles)); |
| 27166 | } |
| 27167 | } |
| 27168 | } |
| 27169 | function detokenize(styles) { |
| 27170 | if (styles) styles = resolveThemableArray(splitStyles(styles)).styleString; |
| 27171 | return styles; |
no test coverage detected