()
| 27 | * @returns {string} the current theme name |
| 28 | */ |
| 29 | const getTheme = (): string => { |
| 30 | if (curTheme === undefined) { |
| 31 | curTheme = getSharedValue<string>("theme") ?? getConfiguredTheme(); |
| 32 | } |
| 33 | |
| 34 | return curTheme; |
| 35 | }; |
| 36 | |
| 37 | /** |
| 38 | * Applies a new theme after fetching its assets from the network. |
no test coverage detected
searching dependent graphs…