this repo has no description
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

Test better temp color for refreshing theme-color

+10 -1
+10 -1
src/app.jsx
··· 204 204 ); 205 205 const color = $meta?.getAttribute('content'); 206 206 if (color) { 207 - $meta.content = ''; 207 + let tempColor; 208 + if (/^#/.test(color)) { 209 + // Assume either #RBG or #RRGGBB 210 + if (color.length === 4) { 211 + tempColor = color + 'f'; 212 + } else if (color.length === 7) { 213 + tempColor = color + 'ff'; 214 + } 215 + } 216 + $meta.content = tempColor || ''; 208 217 setTimeout(() => { 209 218 $meta.content = color; 210 219 }, 10);