Skip to content

Commit

Permalink
Merge pull request #237 from salcido/am-dark-theme
Browse files Browse the repository at this point in the history
Dark Theme Updates
  • Loading branch information
salcido authored Jun 2, 2023
2 parents 4bea190 + dcd121a commit d93bc60
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 4 deletions.
1 change: 1 addition & 0 deletions html/learn.html
Original file line number Diff line number Diff line change
Expand Up @@ -911,6 +911,7 @@ <h2 id="thanks">Thank You</h2>
<li class="donor">Christoph W.</li>
<li class="donor">Christy D.</li>
<li class="donor">Collector</li>
<li class="donor">contium</li>
<li class="donor">Cuddly_D</li>
<li class="donor">@cyclistmusic</li>
<li class="donor">Daniel J.</li>
Expand Down
7 changes: 7 additions & 0 deletions js/extension/features/dark-theme-listener.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,11 @@
document.documentElement.classList.remove('de-dark-theme');
}
});

rl.ready(() => {
rl.waitForElement('#audio-iframe').then(() => {
let ogSrc = document.querySelector('#audio-iframe').src;
document.querySelector('#audio-iframe').src = ogSrc + 'theme=dark';
});
});
})();
2 changes: 1 addition & 1 deletion js/popup/change-log.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ module.exports = {
description: 'The Tag Seller Rating feature now lets you hide new sellers in the Marketplace. Expand the feature menu and click the Hide New Sellers checkbox to enable it.'
},
],
thanks: [],
thanks: ['Massive thank you to contium for the kind donation!'],
},
],
previous: []
Expand Down
2 changes: 1 addition & 1 deletion manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"name": "Discogs Enhancer",
"short_name": "Discogs Enhancer",
"description": "Adds a dark theme, block sellers, price comparisons, currency converter, configurable quick search, & more to Discogs!",
"version": "3.3.7",
"version": "3.3.8",
"author": "Matthew Salcido",
"homepage_url": "https://www.discogs-enhancer.com",
"action": {
Expand Down
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "discogs-enhancer",
"version": "3.3.7",
"version": "3.3.8",
"description": "A Chrome extension that adds useful functionality to Discogs.com! https://www.discogs-enhancer.com",
"main": "index.js",
"scripts": {
Expand Down

0 comments on commit d93bc60

Please sign in to comment.