We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ab76dbf commit 3a9a329Copy full SHA for 3a9a329
lib_src/misc/colors.ts
@@ -19,6 +19,7 @@ export function getColors(selectors: { [P: string]: string }) {
19
document.body.appendChild(div)
20
// wait till rendered?
21
for (const style in selectors) {
22
+ // TODO do we need try catch
23
try {
24
color[style] = rgb2hex(window.getComputedStyle(styled[style]).color)
25
} catch (e) {
0 commit comments