File tree Expand file tree Collapse file tree 2 files changed +25
-4
lines changed
StateRoute/PerformanceVisx Expand file tree Collapse file tree 2 files changed +25
-4
lines changed Original file line number Diff line number Diff line change @@ -118,7 +118,7 @@ const BarGraphComparisonActions = (props: BarGraphComparisonAction) => {
118
118
minWidth : 80 ,
119
119
height : 30 ,
120
120
} ) ) ;
121
-
121
+
122
122
const StyledSelect = styled ( Select ) ( {
123
123
minWidth : 80 ,
124
124
fontSize : '.75rem' ,
@@ -128,7 +128,6 @@ const BarGraphComparisonActions = (props: BarGraphComparisonAction) => {
128
128
color : 'grey' ,
129
129
height : 30 ,
130
130
} ) ;
131
-
132
131
133
132
const handleSeriesChange = ( event ) => {
134
133
if ( ! event ) return ;
@@ -184,7 +183,6 @@ const BarGraphComparisonActions = (props: BarGraphComparisonAction) => {
184
183
style = { { color : 'white' } }
185
184
labelId = 'simple-select-outlined-label'
186
185
id = 'simple-select-outlined'
187
-
188
186
value = { series }
189
187
onChange = { handleSeriesChange }
190
188
>
@@ -205,7 +203,6 @@ const BarGraphComparisonActions = (props: BarGraphComparisonAction) => {
205
203
style = { { color : 'white' } }
206
204
labelId = 'snapshot-select'
207
205
id = 'snapshot-select'
208
-
209
206
value = { action } // snapshots
210
207
onChange = { handleActionChange }
211
208
>
Original file line number Diff line number Diff line change
1
+ import { createTheme } from '@mui/material/styles' ;
2
+ const theme = createTheme ( {
3
+ palette : {
4
+ primary : {
5
+ main : '#556cd4' ,
6
+ } ,
7
+ } ,
8
+ components : {
9
+ // Name of the component
10
+ MuiButton : {
11
+ styleOverrides : {
12
+ // Name of the slot
13
+ root : {
14
+ // Some CSS
15
+ fontSize : '0.8rem' ,
16
+ letterSpacing : '0.2rem' ,
17
+ lineHeight : '0.8rem' ,
18
+ } ,
19
+ } ,
20
+ } ,
21
+ } ,
22
+ } ) ;
23
+
24
+ export default theme ;
You can’t perform that action at this time.
0 commit comments