1
1
import { alpha , Theme } from '@mui/material' ;
2
2
import { Box , Chip , Grid , IconButton , Typography } from '../../base' ;
3
- import { charcoal , KEPPEL , styled , TRANSPARENT_WHITE } from '../../theme' ;
3
+ import { charcoal , KEPPEL , styled } from '../../theme' ;
4
4
5
5
interface StyledProps {
6
6
noPadding ?: boolean ;
@@ -154,17 +154,17 @@ export const CollapsibleSectionContent = styled(Box)({
154
154
} ) ;
155
155
156
156
export const StyledEnvironmentVariablesCode = styled ( 'code' ) ( ( { theme } ) => ( {
157
- backgroundColor : theme . palette . mode === 'light' ? TRANSPARENT_WHITE : '#253137' ,
158
- color : 'white' ,
157
+ backgroundColor : theme . palette . mode === 'light' ? '#e9eff1' : '#253137' ,
158
+ color : theme . palette . text . primary ,
159
159
width : '100%' ,
160
160
display : 'flex' ,
161
161
flexDirection : 'column' ,
162
162
gap : '0.5rem'
163
163
} ) ) ;
164
164
165
165
export const StyledEnvironmentVariablesPre = styled ( 'pre' ) ( ( { theme } ) => ( {
166
- backgroundColor : theme . palette . mode === 'light' ? TRANSPARENT_WHITE : '#253137' ,
167
- color : 'white' ,
166
+ backgroundColor : theme . palette . mode === 'light' ? '#e9eff1' : '#253137' ,
167
+ color : theme . palette . text . primary ,
168
168
padding : '0.5rem' ,
169
169
margin : '0' ,
170
170
width : '100%'
@@ -182,8 +182,8 @@ export const EnvironmentVariableValue = styled('span')({
182
182
} ) ;
183
183
184
184
export const CodeFormatterPre = styled ( 'pre' ) ( ( { theme } ) => ( {
185
- backgroundColor : theme . palette . mode === 'light' ? TRANSPARENT_WHITE : '#212121' ,
186
- color : 'white' ,
185
+ backgroundColor : theme . palette . mode === 'light' ? '#e9eff1' : '#212121' ,
186
+ color : theme . palette . text . primary ,
187
187
width : '100%' ,
188
188
wordWrap : 'break-word' ,
189
189
overflowWrap : 'break-word' ,
@@ -193,8 +193,8 @@ export const CodeFormatterPre = styled('pre')(({ theme }) => ({
193
193
} ) ) ;
194
194
195
195
export const CodeFormatterCode = styled ( 'code' ) ( ( { theme } ) => ( {
196
- backgroundColor : theme . palette . mode === 'light' ? TRANSPARENT_WHITE : '#212121' ,
197
- color : 'white' ,
196
+ backgroundColor : theme . palette . mode === 'light' ? '#e9eff1' : '#212121' ,
197
+ color : theme . palette . text . primary ,
198
198
fontFamily : theme . typography . fontFamily
199
199
} ) ) ;
200
200
@@ -290,7 +290,7 @@ export const OperatorDataContainer = styled('div')({
290
290
291
291
export const KeyValueGrid = styled ( Grid ) ( ( { theme } ) => ( {
292
292
borderBottom : `1px solid ${ theme . palette . divider } ` ,
293
- paddingBlock : '0.3rem '
293
+ paddingBlock : '0.5rem '
294
294
} ) ) ;
295
295
296
296
export const KeyValueGridTitle = styled ( Typography ) ( {
0 commit comments