File tree 8 files changed +8
-15
lines changed
8 files changed +8
-15
lines changed Original file line number Diff line number Diff line change @@ -29,7 +29,6 @@ export const Fieldset: FC<FieldsetProps> = (props) => {
29
29
css = { {
30
30
borderRadius : 8 ,
31
31
border : `1px solid ${ theme . palette . divider } ` ,
32
- background : theme . palette . background . paper ,
33
32
marginTop : 32 ,
34
33
} }
35
34
onSubmit = { onSubmit }
@@ -63,7 +62,7 @@ export const Fieldset: FC<FieldsetProps> = (props) => {
63
62
css = { [
64
63
theme . typography . body2 as CSSObject ,
65
64
{
66
- background : theme . palette . background . paperLight ,
65
+ background : theme . palette . background . paper ,
67
66
padding : "16px 24px" ,
68
67
display : "flex" ,
69
68
alignItems : "center" ,
Original file line number Diff line number Diff line change @@ -127,9 +127,7 @@ interface OptionConfigProps extends BoxProps {
127
127
export const OptionConfig = ( props : OptionConfigProps ) => {
128
128
const { source, sx, ...attrs } = props ;
129
129
const theme = useTheme ( ) ;
130
- const borderColor = source
131
- ? theme . palette . primary . main
132
- : theme . palette . divider ;
130
+ const borderColor = source ? undefined : theme . palette . divider ;
133
131
134
132
return (
135
133
< Box
@@ -139,9 +137,7 @@ export const OptionConfig = (props: OptionConfigProps) => {
139
137
fontFamily : MONOSPACE_FONT_FAMILY ,
140
138
fontWeight : 600 ,
141
139
backgroundColor : ( theme ) =>
142
- source
143
- ? theme . palette . primary . dark
144
- : theme . palette . background . paperLight ,
140
+ source ? theme . palette . primary . dark : theme . palette . background . paper ,
145
141
display : "inline-flex" ,
146
142
alignItems : "center" ,
147
143
borderRadius : 0.25 ,
Original file line number Diff line number Diff line change @@ -160,7 +160,6 @@ const styles = {
160
160
} ) ,
161
161
162
162
stack : ( theme ) => ( {
163
- backgroundColor : theme . palette . background . paper ,
164
163
border : `1px solid ${ theme . palette . divider } ` ,
165
164
borderRadius : 4 ,
166
165
marginTop : 64 ,
@@ -174,7 +173,7 @@ const styles = {
174
173
fontWeight : 600 ,
175
174
letterSpacing : 1 ,
176
175
padding : "8px 8px 8px 16px" ,
177
- backgroundColor : theme . palette . background . paperLight ,
176
+ backgroundColor : theme . palette . background . paper ,
178
177
borderBottom : `1px solid ${ theme . palette . divider } ` ,
179
178
color : theme . palette . text . secondary ,
180
179
display : "flex" ,
Original file line number Diff line number Diff line change @@ -125,7 +125,7 @@ const BaseSkeleton = (props: SkeletonProps) => {
125
125
height = { 36 }
126
126
{ ...props }
127
127
sx = { {
128
- bgcolor : ( theme ) => theme . palette . background . paperLight ,
128
+ bgcolor : ( theme ) => theme . palette . background . paper ,
129
129
borderRadius : "6px" ,
130
130
...props . sx ,
131
131
} }
Original file line number Diff line number Diff line change @@ -217,7 +217,7 @@ const markdownStyles: Interpolation<Theme> = (theme: Theme) => ({
217
217
} ,
218
218
219
219
"& .prismjs" : {
220
- background : theme . palette . background . paperLight ,
220
+ background : theme . palette . background . paper ,
221
221
borderRadius : 8 ,
222
222
padding : "16px 24px" ,
223
223
overflowX : "auto" ,
Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ export const FullWidthPageHeader: FC<
12
12
{
13
13
...( theme . typography . body2 as CSSObject ) ,
14
14
padding : 24 ,
15
- background : theme . palette . background . paper ,
15
+ background : theme . palette . background . default ,
16
16
borderBottom : `1px solid ${ theme . palette . divider } ` ,
17
17
display : "flex" ,
18
18
alignItems : "center" ,
Original file line number Diff line number Diff line change @@ -513,7 +513,7 @@ const useAgentLogs = (
513
513
514
514
const styles = {
515
515
agentRow : ( theme ) => ( {
516
- backgroundColor : theme . palette . background . paperLight ,
516
+ backgroundColor : theme . palette . background . paper ,
517
517
fontSize : 16 ,
518
518
borderLeft : `2px solid ${ theme . palette . text . secondary } ` ,
519
519
Original file line number Diff line number Diff line change @@ -13,7 +13,6 @@ import { SensitiveValue } from "./SensitiveValue";
13
13
14
14
const styles = {
15
15
resourceCard : ( theme ) => ( {
16
- background : theme . palette . background . paper ,
17
16
borderRadius : 8 ,
18
17
border : `1px solid ${ theme . palette . divider } ` ,
19
18
You can’t perform that action at this time.
0 commit comments