diff options
author | kytwb <kytwb@pm.me> | 2021-12-12 16:53:29 +0100 |
---|---|---|
committer | kytwb <kytwb@pm.me> | 2021-12-12 16:53:29 +0100 |
commit | bd82ca76ebed5aa5a9c7ad1a5875f59eab71b465 (patch) | |
tree | ef23a83c51b658e621e19614a6e78447f14eee77 /src | |
parent | Reset state when closing PublishDebugLogModal (diff) | |
download | ferdium-app-bd82ca76ebed5aa5a9c7ad1a5875f59eab71b465.tar.gz ferdium-app-bd82ca76ebed5aa5a9c7ad1a5875f59eab71b465.tar.zst ferdium-app-bd82ca76ebed5aa5a9c7ad1a5875f59eab71b465.zip |
Fix PublishDebugLogModal close button color in Dark Mode
Diffstat (limited to 'src')
-rw-r--r-- | src/features/publishDebugInfo/Component.js | 2 | ||||
-rw-r--r-- | src/styles/features.scss | 6 |
2 files changed, 8 insertions, 0 deletions
diff --git a/src/features/publishDebugInfo/Component.js b/src/features/publishDebugInfo/Component.js index c1365597a..5ffe535e0 100644 --- a/src/features/publishDebugInfo/Component.js +++ b/src/features/publishDebugInfo/Component.js | |||
@@ -155,6 +155,8 @@ class PublishDebugLogModal extends Component { | |||
155 | <Modal | 155 | <Modal |
156 | isOpen={isModalVisible} | 156 | isOpen={isModalVisible} |
157 | shouldCloseOnOverlayClick | 157 | shouldCloseOnOverlayClick |
158 | className={`${classes.modal} publish-debug`} | ||
159 | classes={{close: 'close'}} | ||
158 | close={() => this.close()} | 160 | close={() => this.close()} |
159 | > | 161 | > |
160 | <div className={classes.container}> | 162 | <div className={classes.container}> |
diff --git a/src/styles/features.scss b/src/styles/features.scss index d2931f837..8b2ce3253 100644 --- a/src/styles/features.scss +++ b/src/styles/features.scss | |||
@@ -11,3 +11,9 @@ | |||
11 | background: $theme-brand-primary; | 11 | background: $theme-brand-primary; |
12 | } | 12 | } |
13 | } | 13 | } |
14 | |||
15 | .theme__dark .publish-debug { | ||
16 | .close { | ||
17 | color: $dark-theme-gray-lightest; | ||
18 | } | ||
19 | } | ||