Add dark theme for main desktop client window

Signed-off-by: Chris Cavalluzzi <chriscavalluzzi@gmail.com>
This commit is contained in:
Chris Cavalluzzi
2022-05-21 19:05:58 -06:00
parent eb71b6ad79
commit a5d4cad5b7
5 changed files with 69 additions and 19 deletions

View File

@@ -106,7 +106,7 @@ class MsgboxComponent: Reactor.Component {
self.timer(3ms, msgboxTimerFunc);
return (<div><div style="position: absolute; size:*; background:black; opacity:0.5;" />
<div style="size: *; position: absolute;">
<div style={"border: " + color + " solid 1px; background: white; margin: *; width:" + (this.width) + "px; min-height:" + (this.height) + "px"}>
<div style={"border: " + color + " solid 1px; background: color(bg); margin: *; width:" + (this.width) + "px; min-height:" + (this.height) + "px"}>
<div .caption style={"background: " + color}>
{translate(this.title)}
</div>