diff --git a/public/about/index.html b/public/about/index.html index 640117d1..3de12596 100644 --- a/public/about/index.html +++ b/public/about/index.html @@ -82,31 +82,18 @@

onclick="openColorPicker();" >
- +
+ + + + + + 🎨 +
diff --git a/public/colors.js b/public/colors.js index b31627db..81dbf788 100644 --- a/public/colors.js +++ b/public/colors.js @@ -3,8 +3,7 @@ accentColors.forEach((color) => { color.addEventListener('click', () => { accentColors.forEach((el) => el.classList.remove('active')); color.classList.add('active'); - let colorNow1 = color.style.getPropertyValue('background-color'); - // todo: in future maybe allow user to set any color, `colorNow1 = prompt("Set Custom Color:", colorNow1)`; + const colorNow1 = color.style.getPropertyValue('background-color'); document.documentElement.style.setProperty('--accentColor', colorNow1); localStorage.setItem('theme', colorNow1); }); diff --git a/public/dependencies/index.html b/public/dependencies/index.html index 7e6f9298..f52faf38 100644 --- a/public/dependencies/index.html +++ b/public/dependencies/index.html @@ -44,31 +44,18 @@

Downloading dependencies

onclick="openColorPicker();" >
- +
+ + + + + + 🎨 +
diff --git a/public/devices/index.html b/public/devices/index.html index a9c9ffcf..2c7bb000 100644 --- a/public/devices/index.html +++ b/public/devices/index.html @@ -45,31 +45,18 @@

Select the device you want to install ReVanced to

onclick="openColorPicker();" >
- +
+ + + + + + 🎨 +
diff --git a/public/failure/index.html b/public/failure/index.html index fe734d6b..215bdd2b 100644 --- a/public/failure/index.html +++ b/public/failure/index.html @@ -39,31 +39,18 @@

Failure

onclick="openColorPicker();" >
- +
+ + + + + + 🎨 +
diff --git a/public/index.html b/public/index.html index b37788b9..7f293f4d 100644 --- a/public/index.html +++ b/public/index.html @@ -84,31 +84,18 @@

Select the app you want to patch

onclick="openColorPicker();" >
- +
+ + + + + + 🎨 +
diff --git a/public/styles/core.css b/public/styles/core.css index b6f10204..34d989cd 100644 --- a/public/styles/core.css +++ b/public/styles/core.css @@ -270,7 +270,6 @@ dialog { #themecolor-picker { display: flex; - list-style: none; padding: 0; } @@ -281,6 +280,8 @@ dialog { display: inline-block; border-radius: 5px; cursor: pointer; + height: 22px; + width: 22px; } #themecolor-picker span.active { diff --git a/public/versions/index.html b/public/versions/index.html index 35ac1944..cbd45c37 100644 --- a/public/versions/index.html +++ b/public/versions/index.html @@ -40,31 +40,18 @@

Select the version you want to download

onclick="openColorPicker();" >
- +
+ + + + + + 🎨 +