tangled
alpha
login
or
join now
dunkirk.sh
/
pstream-ng
1
fork
atom
pstream is dead; long live pstream
taciturnaxolotl.github.io/pstream-ng/
1
fork
atom
overview
issues
pulls
pipelines
prettier
Pas
3 weeks ago
f6e4140c
10d82dcd
+6
-2
1 changed file
expand all
collapse all
unified
split
themes
custom.ts
+6
-2
themes/custom.ts
···
21
const result: any = {};
22
for (const key in theme) {
23
if (typeof theme[key] === "object" && theme[key] !== null) {
24
-
result[key] = generateCustomThemeStructure(theme[key], `${prefix}${key}-`);
0
0
0
25
} else {
26
-
result[key] = `rgb(var(${cssVarName(`${prefix}${key}`)}) / <alpha-value>)`;
0
27
}
28
}
29
return result;
···
21
const result: any = {};
22
for (const key in theme) {
23
if (typeof theme[key] === "object" && theme[key] !== null) {
24
+
result[key] = generateCustomThemeStructure(
25
+
theme[key],
26
+
`${prefix}${key}-`,
27
+
);
28
} else {
29
+
result[key] =
30
+
`rgb(var(${cssVarName(`${prefix}${key}`)}) / <alpha-value>)`;
31
}
32
}
33
return result;