mirror of
https://github.com/ryanamay/pint.git
synced 2024-09-20 01:50:34 +00:00
feat: add disabled
This commit is contained in:
parent
f12997a466
commit
bc69d9b40c
3 changed files with 3 additions and 1 deletions
|
@ -8,6 +8,7 @@ chrome.storage.sync.get('a1', ({ a1 }) => {
|
|||
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(':root').style.setProperty('--color-btn-primary-disabled-bg', a1 + "54", "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++) {
|
||||
|
|
1
popup.js
1
popup.js
|
@ -27,6 +27,7 @@ function setAccent() {
|
|||
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(':root').style.setProperty('--color-btn-primary-disabled-bg', a1 + "54", "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++) {
|
||||
|
|
|
@ -21,7 +21,7 @@ h1 {
|
|||
vertical-align: middle;
|
||||
}
|
||||
|
||||
|
||||
.btn:ac
|
||||
/* Generics */
|
||||
|
||||
.inb {
|
||||
|
|
Loading…
Reference in a new issue