mirror of
https://github.com/danbulant/dribbblish-dynamic-theme
synced 2026-05-25 13:02:10 +00:00
fix update button oopsie and set version correctly
This commit is contained in:
parent
a4100b2eb7
commit
e161628aea
1 changed files with 2 additions and 2 deletions
|
|
@ -1,4 +1,4 @@
|
|||
let current = '2.3'
|
||||
let current = '2.4.1'
|
||||
|
||||
/* css is injected so this works with untouched user.css from Dribbblish */
|
||||
/* dark theme */
|
||||
|
|
@ -328,7 +328,7 @@ hookCoverChange(false);
|
|||
upd.innerText = `Theme UPD v${data.tag_name} avail.`
|
||||
upd.classList.add("ellipsis-one-line", "main-type-finale")
|
||||
upd.setAttribute("title", `Changes: ${data.name}`)
|
||||
upd.style.setProperty("color", "var(--spice-main)");
|
||||
upd.style.setProperty("color", "var(--spice-button-active)");
|
||||
document.querySelector(".main-userWidget-box").append(upd)
|
||||
document.querySelector(".main-userWidget-box").classList.add("update-avail")
|
||||
new Spicetify.Menu.Item("Update Dribbblish", false, () => window.open("https://github.com/JulienMaille/dribbblish-dynamic-theme#install", "_blank")).register();
|
||||
|
|
|
|||
Loading…
Reference in a new issue