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 4359f92 commit 1df239bCopy full SHA for 1df239b
lib_src/misc/colors.ts
@@ -31,7 +31,7 @@ export function getColors(selectors) {
31
return color
32
}
33
34
-function rgb2hex(rgb) {
+function rgb2hex(rgb: string): string {
35
if (rgb.search("rgb") === -1) {
36
return rgb
37
} else {
0 commit comments