11import { alpha , Theme } from '@mui/material' ;
22import { Box , Chip , Grid , IconButton , Typography } from '../../base' ;
3- import { charcoal , KEPPEL , styled , TRANSPARENT_WHITE } from '../../theme' ;
3+ import { charcoal , KEPPEL , styled } from '../../theme' ;
44
55interface StyledProps {
66 noPadding ?: boolean ;
@@ -154,17 +154,17 @@ export const CollapsibleSectionContent = styled(Box)({
154154} ) ;
155155
156156export 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 ,
159159 width : '100%' ,
160160 display : 'flex' ,
161161 flexDirection : 'column' ,
162162 gap : '0.5rem'
163163} ) ) ;
164164
165165export 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 ,
168168 padding : '0.5rem' ,
169169 margin : '0' ,
170170 width : '100%'
@@ -182,8 +182,8 @@ export const EnvironmentVariableValue = styled('span')({
182182} ) ;
183183
184184export 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 ,
187187 width : '100%' ,
188188 wordWrap : 'break-word' ,
189189 overflowWrap : 'break-word' ,
@@ -193,8 +193,8 @@ export const CodeFormatterPre = styled('pre')(({ theme }) => ({
193193} ) ) ;
194194
195195export 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 ,
198198 fontFamily : theme . typography . fontFamily
199199} ) ) ;
200200
@@ -290,7 +290,7 @@ export const OperatorDataContainer = styled('div')({
290290
291291export const KeyValueGrid = styled ( Grid ) ( ( { theme } ) => ( {
292292 borderBottom : `1px solid ${ theme . palette . divider } ` ,
293- paddingBlock : '0.3rem '
293+ paddingBlock : '0.5rem '
294294} ) ) ;
295295
296296export const KeyValueGridTitle = styled ( Typography ) ( {
0 commit comments