Skip to content

Commit c18c843

Browse files
authored
UX code mirror button colors (#1792)
1 parent 1d362ac commit c18c843

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

portal-ui/src/screens/Console/Common/FormComponents/CodeMirrorWrapper/CodeMirrorWrapper.tsx

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -219,6 +219,7 @@ const CodeMirrorWrapper = ({
219219
}}
220220
>
221221
<Box
222+
className={isDarkTheme ? "dark-theme" : ""}
222223
sx={{
223224
display: "flex",
224225
alignItems: "center",
@@ -233,6 +234,10 @@ const CodeMirrorWrapper = ({
233234
marginLeft: "0",
234235
},
235236
},
237+
238+
"&.dark-theme button": {
239+
background: "#FFFFFF",
240+
},
236241
}}
237242
>
238243
<RBIconButton

0 commit comments

Comments
 (0)