Skip to content

Commit 0f4ae24

Browse files
authored
Merge pull request #250 from Glorfindel83/master
FDSC Dark Mode update
2 parents a97b3df + 539746d commit 0f4ae24

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

fdsc/fdsc.meta.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
// @contributor J F
99
// @contributor Glorfindel
1010
// @attribution Brock Adams (https://github.com/BrockA)
11-
// @version 1.20.4
11+
// @version 1.20.5
1212
// @updateURL https://raw.githubusercontent.com/Charcoal-SE/Userscripts/master/fdsc/fdsc.meta.js
1313
// @downloadURL https://raw.githubusercontent.com/Charcoal-SE/Userscripts/master/fdsc/fdsc.user.js
1414
// @supportURL https://github.com/Charcoal-SE/Userscripts/issues

fdsc/fdsc.user.js

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
// @contributor J F
99
// @contributor Glorfindel
1010
// @attribution Brock Adams (https://github.com/BrockA)
11-
// @version 1.20.4
11+
// @version 1.20.5
1212
// @updateURL https://raw.githubusercontent.com/Charcoal-SE/Userscripts/master/fdsc/fdsc.meta.js
1313
// @downloadURL https://raw.githubusercontent.com/Charcoal-SE/Userscripts/master/fdsc/fdsc.user.js
1414
// @supportURL https://github.com/Charcoal-SE/Userscripts/issues
@@ -368,19 +368,19 @@
368368
}
369369
}
370370

371-
var fpButtonStyle = "style='color:rgba(255,0,0,0.5);' onMouseOver='this.style.color=\"rgba(255,0,0,1)\"' onMouseOut='this.style.color=\"rgba(255,0,0,0.5)\"'";
372-
var tpButtonStyle = "style='color:rgba(0,100,0,0.5);' onMouseOver='this.style.color=\"rgba(0,100,0,1)\"' onMouseOut='this.style.color=\"rgba(0,100,0,0.5)\"'";
371+
var fpButtonStyle = "class='fc-red-500' onMouseOver='this.className=\"fc-red-300\"' onMouseOut='this.className=\"fc-red-500\"'";
372+
var tpButtonStyle = "class='fc-green-500' onMouseOver='this.className=\"fc-green-300\"' onMouseOut='this.className=\"fc-green-500\"'";
373373

374374
var isAnswer = $(".popup-actions").parents(".answer").length !== 0;
375375

376376
// Build status
377377
var status = "<div id='smokey-report'><strong>Smokey report: ";
378-
status += "<span style='color:darkgreen'>" + tps + " tp</span>, ";
379-
status += "<span style='color:red'>" + fps + " fp</span>, ";
378+
status += "<span class='fc-green-400'>" + tps + " tp</span>, ";
379+
status += "<span class='fc-red-400'>" + fps + " fp</span>, ";
380380

381381
// Don't add naa if the dialog opened for a question
382382
if (isAnswer) {
383-
status += "<span style='color:#7c5500'>" + naa + " naa</span>, ";
383+
status += "<span class='fc-orange-400'>" + naa + " naa</span>, ";
384384
}
385385

386386
status += fdsc.autoflagged + "</strong>";

0 commit comments

Comments
 (0)