diff --git a/onload.js b/onload.js index 9ef689b..35403d3 100644 --- a/onload.js +++ b/onload.js @@ -7,6 +7,7 @@ chrome.storage.sync.get('a1', ({ a1 }) => { document.querySelector(':root').style.setProperty('--color-accent-emphasis', a1 + "ff", "important"); document.querySelector(':root').style.setProperty('--color-btn-primary-bg', a1 + "ff", "important"); document.querySelector(':root').style.setProperty('--color-btn-primary-hover-bg', a1 + "c5", "important"); + document.querySelector(':root').style.setProperty('--color-btn-primary-active-bg', a1 + "8a", "important"); document.querySelector('.js-highlight-blob').style.setProperty('fill', a1 + "c5", "important"); document.querySelector('.js-highlight-blob').style.setProperty('stroke', a1 + "ff", "important"); for (let i = 0; i < document.querySelectorAll('.Progress-item.rounded-2').length; i++) { diff --git a/popup.js b/popup.js index 1c52443..0fd43b4 100644 --- a/popup.js +++ b/popup.js @@ -26,6 +26,7 @@ function setAccent() { document.querySelector(':root').style.setProperty('--color-accent-emphasis', a1 + "ff", "important"); document.querySelector(':root').style.setProperty('--color-btn-primary-bg', a1 + "ff", "important"); document.querySelector(':root').style.setProperty('--color-btn-primary-hover-bg', a1 + "c5", "important"); + document.querySelector(':root').style.setProperty('--color-btn-primary-active-bg', a1 + "8a", "important"); document.querySelector('.js-highlight-blob').style.setProperty('fill', a1 + "c5", "important"); document.querySelector('.js-highlight-blob').style.setProperty('stroke', a1 + "ff", "important"); for (let i = 0; i < document.querySelectorAll('.Progress-item.rounded-2').length; i++) {