When the install is immutable
This commit is contained in:
parent
f5552a6797
commit
70eaba1e68
1 changed files with 1 additions and 1 deletions
2
index.ts
2
index.ts
|
@ -23,7 +23,7 @@ export default definePlugin({
|
||||||
|
|
||||||
const style = document.createElement("style");
|
const style = document.createElement("style");
|
||||||
style.setAttribute("id", "vc-spotify-main-color");
|
style.setAttribute("id", "vc-spotify-main-color");
|
||||||
style.textContent = `:root { --vc-spotify-main-color: hsl(from ${mainColor} h s 85%); }`;
|
style.textContent = `:root { --vc-spotify-main-color: ${mainColor}; }`;
|
||||||
document.head.appendChild(style);
|
document.head.appendChild(style);
|
||||||
},
|
},
|
||||||
async start() {
|
async start() {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue