mirror of
https://github.com/ryanamay/pint.git
synced 2024-09-20 10:00:33 +00:00
commit
2fd0e59ca7
2 changed files with 2 additions and 0 deletions
|
@ -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-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-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-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('fill', a1 + "c5", "important");
|
||||||
document.querySelector('.js-highlight-blob').style.setProperty('stroke', a1 + "ff", "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++) {
|
for (let i = 0; i < document.querySelectorAll('.Progress-item.rounded-2').length; i++) {
|
||||||
|
|
1
popup.js
1
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-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-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-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('fill', a1 + "c5", "important");
|
||||||
document.querySelector('.js-highlight-blob').style.setProperty('stroke', a1 + "ff", "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++) {
|
for (let i = 0; i < document.querySelectorAll('.Progress-item.rounded-2').length; i++) {
|
||||||
|
|
Loading…
Reference in a new issue