We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2e344f5 commit 0e3735aCopy full SHA for 0e3735a
tools/checkTheme.js
@@ -193,7 +193,10 @@ class CSSRule {
193
constructor(rule, body) {
194
this.rule = rule;
195
if (rule.declarations) {
196
- this.bg = rule.declarations.find(x => x.property =="background")?.value;
+ this.bg = rule.declarations.find(x => x.property == "background-color")?.value;
197
+ if (!this.bg) {
198
+ this.bg = rule.declarations.find(x => x.property == "background")?.value;
199
+ }
200
this.fg = rule.declarations.find(x => x.property =="color")?.value;
201
202
if (this.bg) {
0 commit comments