@@ -39,18 +39,18 @@ const generateComponentTheme = (theme: Theme): BaseButtonTheme => {
3939 const themeSpecificStyle : ThemeSpecificStyle < BaseButtonTheme > = {
4040 canvas : {
4141 primaryColor : theme [ 'ic-brand-button--primary-text' ] ! ,
42- primaryBorderColor : theme [ 'ic-brand-button--primary-bgd' ] ! ,
42+ primaryBorderColor : darken ( theme [ 'ic-brand-button--primary-bgd' ] ! ) ,
4343 primaryBackground : theme [ 'ic-brand-button--primary-bgd' ] ! ,
4444 primaryHoverBackground : darken ( theme [ 'ic-brand-button--primary-bgd' ] ! ) ,
4545 primaryActiveBackground : darken ( theme [ 'ic-brand-button--primary-bgd' ] ! ) ,
4646 primaryActiveBoxShadow : `${ activeShadow } ${ theme [
4747 'ic-brand-button--primary-bgd'
4848 ] ! } `,
49- primaryGhostColor : theme [ 'ic-brand-button--primary-bgd' ] ! ,
50- primaryGhostBorderColor : theme [ 'ic-brand-button--primary-bgd' ] ! ,
49+ primaryGhostColor : darken ( theme [ 'ic-brand-button--primary-bgd' ] ! ) ,
50+ primaryGhostBorderColor : darken ( theme [ 'ic-brand-button--primary-bgd' ] ! ) ,
5151 primaryGhostBackground : 'transparent' ,
5252 primaryGhostHoverBackground : alpha (
53- theme [ 'ic-brand-button--primary-bgd' ] ! ,
53+ darken ( theme [ 'ic-brand-button--primary-bgd' ] ! ) ,
5454 10
5555 ) ,
5656 primaryGhostActiveBackground : 'transparent' ,
@@ -104,10 +104,10 @@ const generateComponentTheme = (theme: Theme): BaseButtonTheme => {
104104 primaryHoverBackground : colors ?. contrasts ?. blue5782 ,
105105 primaryActiveBackground : colors ?. contrasts ?. blue5782 ,
106106 primaryActiveBoxShadow : `${ activeShadow } ${ colors ?. contrasts ?. white1010 } ` ,
107- primaryGhostColor : colors ?. contrasts ?. blue4570 ,
107+ primaryGhostColor : colors ?. contrasts ?. blue5782 ,
108108 primaryGhostBorderColor : colors ?. contrasts ?. blue4570 ,
109109 primaryGhostBackground : 'transparent' ,
110- primaryGhostHoverBackground : alpha ( colors ?. contrasts ?. blue4570 , 10 ) ,
110+ primaryGhostHoverBackground : colors ?. contrasts ?. blue1212 ,
111111 primaryGhostActiveBackground : 'transparent' ,
112112 primaryGhostActiveBoxShadow : `${ activeShadow } ${ alpha (
113113 colors ?. contrasts ?. blue1212 ,
@@ -123,7 +123,7 @@ const generateComponentTheme = (theme: Theme): BaseButtonTheme => {
123123 secondaryGhostColor : colors ?. contrasts ?. grey125125 ,
124124 secondaryGhostBorderColor : colors ?. contrasts ?. grey125125 ,
125125 secondaryGhostBackground : 'transparent' ,
126- secondaryGhostHoverBackground : alpha ( colors ?. contrasts ?. grey125125 , 10 ) ,
126+ secondaryGhostHoverBackground : colors ?. contrasts ?. grey1111 ,
127127 secondaryGhostActiveBackground : 'transparent' ,
128128 secondaryGhostActiveBoxShadow : `${ activeShadow } ${ alpha (
129129 colors ?. contrasts ?. grey125125 ,
0 commit comments