@@ -15,6 +15,7 @@ const useRootCheckedStyles = makeStyles({
1515 ...shorthands . borderColor ( semanticTokens . groupButtonNeutralStrokeSelected ) ,
1616 color : semanticTokens . groupButtonNeutralForegroundSelected ,
1717 ...shorthands . borderWidth ( semanticTokens . groupButtonStrokewidth ) ,
18+ fontWeight : semanticTokens . groupButtonFontweightSelected ,
1819 [ `& .${ buttonClassNames . icon } ` ] : {
1920 color : semanticTokens . groupButtonNeutralIconForegroundSelected ,
2021 } ,
@@ -59,21 +60,25 @@ const useRootCheckedStyles = makeStyles({
5960 color : semanticTokens . groupButtonOutlineForegroundSelected ,
6061 ...shorthands . borderColor ( semanticTokens . groupButtonOutlineStrokeSelected ) ,
6162 ...shorthands . borderWidth ( semanticTokens . groupButtonOutlineStrokewidthSelected ) ,
63+ ...createCustomFocusIndicatorStyle ( {
64+ ...shorthands . borderColor ( semanticTokens . groupButtonOutlineStrokeSelected ) ,
65+ ...shorthands . borderWidth ( semanticTokens . groupButtonOutlineStrokewidthSelected ) ,
66+ } ) ,
6267 [ `& .${ buttonClassNames . icon } ` ] : {
6368 color : semanticTokens . groupButtonOutlineIconForegroundSelected ,
6469 } ,
6570
6671 ':hover' : {
72+ backgroundColor : semanticTokens . groupButtonOutlineBackgroundHoverSelected ,
73+ ...shorthands . borderColor ( semanticTokens . groupButtonOutlineStrokeSelected ) ,
6774 ...shorthands . borderWidth ( semanticTokens . groupButtonOutlineStrokewidthSelected ) ,
6875 } ,
6976
7077 ':hover:active' : {
78+ backgroundColor : semanticTokens . groupButtonOutlineBackgroundPressedSelected ,
7179 ...shorthands . borderWidth ( semanticTokens . groupButtonOutlineStrokewidthSelected ) ,
72- } ,
73-
74- ...createCustomFocusIndicatorStyle ( {
7580 ...shorthands . borderColor ( semanticTokens . groupButtonOutlineStrokeSelected ) ,
76- } ) ,
81+ } ,
7782 } ,
7883 primary : {
7984 backgroundColor : semanticTokens . groupButtonPrimaryBackgroundSelected ,
@@ -94,6 +99,13 @@ const useRootCheckedStyles = makeStyles({
9499 } ,
95100 secondary : {
96101 /* The secondary styles are exactly the same as the base styles. */
102+ ':hover' : {
103+ backgroundColor : semanticTokens . groupButtonNeutralBackgroundHoverSelected ,
104+ } ,
105+
106+ ':hover:active' : {
107+ backgroundColor : semanticTokens . groupButtonNeutralBackgroundPressedSelected ,
108+ } ,
97109 } ,
98110 subtle : {
99111 backgroundColor : semanticTokens . groupButtonSubtleBackgroundSelected ,
@@ -105,12 +117,18 @@ const useRootCheckedStyles = makeStyles({
105117 } ,
106118
107119 ':hover' : {
120+ backgroundColor : semanticTokens . groupButtonSubtleBackgroundHoverSelected ,
121+ ...shorthands . borderColor ( semanticTokens . groupButtonSubtleStrokeSelected ) ,
122+ color : semanticTokens . groupButtonSubtleForegroundSelected ,
108123 [ `& .${ buttonClassNames . icon } ` ] : {
109124 color : semanticTokens . groupButtonSubtleIconForegroundHoverSelected ,
110125 } ,
111126 } ,
112127
113128 ':hover:active' : {
129+ backgroundColor : semanticTokens . groupButtonSubtleBackgroundPressedSelected ,
130+ ...shorthands . borderColor ( semanticTokens . groupButtonSubtleStrokeSelected ) ,
131+ color : semanticTokens . groupButtonSubtleForegroundSelected ,
114132 [ `& .${ buttonClassNames . icon } ` ] : {
115133 color : semanticTokens . groupButtonSubtleIconForegroundPressedSelected ,
116134 } ,
0 commit comments