File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -66,10 +66,11 @@ export function Toolbar({
6666 < div className = "omni-toolbar-group omni-toolbar-group-primary" >
6767 { running ? (
6868 < ToolbarButton
69+ className = "omni-cancel-run"
6970 icon = { < StopRegular fontSize = { 14 } /> }
7071 onClick = { onCancelRun }
7172 appearance = "primary"
72- style = { { backgroundColor : tokens . colorPaletteRedBackground1 , fontWeight : 600 } }
73+ style = { { fontWeight : 600 } }
7374 title = { t ( "cancel" ) }
7475 >
7576 { t ( "cancel" ) }
Original file line number Diff line number Diff line change @@ -41,6 +41,19 @@ body {
4141 background-color : var (--colorBrandBackgroundPressed );
4242}
4343
44+ .fui-Button .fui-Button--appearance-primary .omni-cancel-run {
45+ background-color : # b42318 ;
46+ color : # ffffff ;
47+ }
48+
49+ .fui-Button .fui-Button--appearance-primary .omni-cancel-run : hover {
50+ background-color : # 921d16 ;
51+ }
52+
53+ .fui-Button .fui-Button--appearance-primary .omni-cancel-run : active {
54+ background-color : # 7a1913 ;
55+ }
56+
4457.fui-Button .fui-Button--appearance-subtle : hover ,
4558.fui-Button .fui-Button--appearance-transparent : hover {
4659 color : var (--colorBrandForeground1 );
You can’t perform that action at this time.
0 commit comments