File tree Expand file tree Collapse file tree 4 files changed +22
-16
lines changed Expand file tree Collapse file tree 4 files changed +22
-16
lines changed Original file line number Diff line number Diff line change @@ -33,6 +33,7 @@ export const StatsItem: FC<
33
33
34
34
const useStyles = makeStyles ( ( theme ) => ( {
35
35
stats : {
36
+ ...theme . typography . body2 ,
36
37
paddingLeft : theme . spacing ( 2 ) ,
37
38
paddingRight : theme . spacing ( 2 ) ,
38
39
borderRadius : theme . shape . borderRadius ,
Original file line number Diff line number Diff line change 1
1
import Button from "@mui/material/Button"
2
- import AddCircleOutline from "@mui/icons-material/AddCircleOutline "
2
+ import AddIcon from "@mui/icons-material/AddOutlined "
3
3
import {
4
4
AuthorizationResponse ,
5
5
Template ,
@@ -25,6 +25,7 @@ import SettingsOutlined from "@mui/icons-material/SettingsOutlined"
25
25
import DeleteOutlined from "@mui/icons-material/DeleteOutlined"
26
26
import EditOutlined from "@mui/icons-material/EditOutlined"
27
27
import FileCopyOutlined from "@mui/icons-material/FileCopyOutlined"
28
+ import IconButton from "@mui/material/IconButton"
28
29
29
30
const TemplateMenu : FC < {
30
31
templateName : string
@@ -44,14 +45,15 @@ const TemplateMenu: FC<{
44
45
45
46
return (
46
47
< div >
47
- < Button
48
+ < IconButton
48
49
aria-controls = "template-options"
49
50
aria-haspopup = "true"
50
51
onClick = { ( ) => setIsMenuOpen ( true ) }
51
52
ref = { menuTriggerRef }
53
+ arial-label = "More options"
52
54
>
53
55
< MoreVertOutlined />
54
- </ Button >
56
+ </ IconButton >
55
57
56
58
< Menu
57
59
id = "template-options"
@@ -99,7 +101,8 @@ const CreateWorkspaceButton: FC<{
99
101
className ?: string
100
102
} > = ( { templateName } ) => (
101
103
< Button
102
- startIcon = { < AddCircleOutline /> }
104
+ variant = "contained"
105
+ startIcon = { < AddIcon /> }
103
106
component = { RouterLink }
104
107
to = { `/templates/${ templateName } /workspace` }
105
108
>
Original file line number Diff line number Diff line change @@ -153,7 +153,12 @@ export const TemplatesPageView: FC<
153
153
< Button component = { RouterLink } to = "/starter-templates" >
154
154
Starter templates
155
155
</ Button >
156
- < Button startIcon = { < AddIcon /> } component = { RouterLink } to = "new" >
156
+ < Button
157
+ startIcon = { < AddIcon /> }
158
+ component = { RouterLink }
159
+ to = "new"
160
+ variant = "contained"
161
+ >
157
162
Add template
158
163
</ Button >
159
164
</ Maybe >
Original file line number Diff line number Diff line change @@ -136,6 +136,13 @@ dark = createTheme(dark, {
136
136
outlinedNeutral : {
137
137
borderColor : colors . gray [ 12 ] ,
138
138
} ,
139
+ containedNeutral : {
140
+ borderColor : colors . gray [ 12 ] ,
141
+ backgroundColor : colors . gray [ 13 ] ,
142
+ "&:hover" : {
143
+ backgroundColor : colors . gray [ 12 ] ,
144
+ } ,
145
+ } ,
139
146
iconSizeMedium : {
140
147
"& > .MuiSvgIcon-root" : {
141
148
fontSize : 18 ,
@@ -148,16 +155,6 @@ dark = createTheme(dark, {
148
155
} ,
149
156
} ,
150
157
} ,
151
- MuiIconButton : {
152
- styleOverrides : {
153
- sizeSmall : {
154
- "& .MuiSvgIcon-root" : {
155
- width : 20 ,
156
- height : 20 ,
157
- } ,
158
- } ,
159
- } ,
160
- } ,
161
158
MuiTableContainer : {
162
159
styleOverrides : {
163
160
root : {
@@ -270,7 +267,7 @@ dark = createTheme(dark, {
270
267
marginTop : 8 ,
271
268
borderRadius : 4 ,
272
269
padding : "4px 0" ,
273
- minWidth : 120 ,
270
+ minWidth : 160 ,
274
271
} ,
275
272
} ,
276
273
} ,
You can’t perform that action at this time.
0 commit comments