tweak(examine tab): Makes description colours follow darkmode

Adds a check to mobs' stat() proc's description/examine handling, checking if our statpanel's background-color is "none" (basically white). This decision was made for reasons stated in the comment.

I also puta  comment in vchat.js asking people tampering with it to please keep these two things in sync
This commit is contained in:
Runa Dacino
2023-08-05 13:28:12 +02:00
parent 355c343dbf
commit 53f646fc91
2 changed files with 31 additions and 4 deletions
+8
View File
@@ -30,6 +30,14 @@ var vchat_opts = {
vchatTabsVer: 1.0 //Version of vchat tabs save 'file'
};
/***********
* If you are changing either tabBackgroundColor in dark or lightmode,
* lease keep this synchronized with code\modules\examine\examine.dm
* I cannot think of a elegant way to ensure it tracks these settings properly.
* As long as LIGHTMODE stays as "none", stuff should not break.
* Thank you!
************/
var DARKMODE_COLORS = {
buttonBgColor: "#40628a",
buttonTextColor: "#FFFFFF",