From df5ab3203bd0710509d48f68020bba5983fcf05e Mon Sep 17 00:00:00 2001 From: Embbnux Ji Date: Mon, 2 Dec 2024 10:44:54 +0800 Subject: [PATCH] misc: fix dark theme style in adapter header --- src/lib/Adapter/styles.scss | 12 +++++++++++- src/modules/Adapter/index.js | 1 + 2 files changed, 12 insertions(+), 1 deletion(-) diff --git a/src/lib/Adapter/styles.scss b/src/lib/Adapter/styles.scss index 363cd379..4f83da61 100644 --- a/src/lib/Adapter/styles.scss +++ b/src/lib/Adapter/styles.scss @@ -12,7 +12,7 @@ } .dark.root { - background-color: #1e2027; + background-color: #282A32; } .root.dock { @@ -239,3 +239,13 @@ right: auto; margin-top: 0; } + +.dark .line { + background-color: #282A32; + border-color: #30323A; + color: #ffffff; +} + +.dark .presenceItem:hover { + background-color: #30323A; +} diff --git a/src/modules/Adapter/index.js b/src/modules/Adapter/index.js index 8b144c1c..d72ef7e4 100644 --- a/src/modules/Adapter/index.js +++ b/src/modules/Adapter/index.js @@ -494,6 +494,7 @@ export default class Adapter extends AdapterModuleCore { telephonyStatus: (this._auth.loggedIn && this._presence.telephonyStatus) || null, userStatus: (this._auth.loggedIn && this._presence.userStatus) || null, dndStatus: (this._auth.loggedIn && this._presence.dndStatus) || null, + presenceOption:(this._auth.loggedIn && this._presence.presenceOption) || null, }); } }