@@ -55,26 +55,26 @@ export const getButtonVariables = (theme: Theme): ButtonVariables => {
5555 appearances : {
5656 minimal : {
5757 default : {
58- backgroundColor : theme . colors . background . white ,
58+ backgroundColor : theme . colors . background . content ,
5959 color : theme . colors . text . default ,
6060
6161 focusColor : theme . colors . background . greyDefault ,
6262 } ,
6363
6464 danger : {
65- backgroundColor : theme . colors . background . white ,
65+ backgroundColor : theme . colors . background . content ,
6666 color : theme . colors . text . danger ,
6767
6868 focusColor : theme . colors . background . greyDefault ,
6969 } ,
7070 primary : {
71- backgroundColor : theme . colors . background . white ,
71+ backgroundColor : theme . colors . background . content ,
7272 color : theme . colors . text . primary ,
7373
7474 focusColor : theme . colors . background . greyDefault ,
7575 } ,
7676 secondary : {
77- backgroundColor : theme . colors . background . white ,
77+ backgroundColor : theme . colors . background . content ,
7878 color : theme . colors . text . secondary
7979 ? theme . colors . text . secondary
8080 : theme . colors . text . default ,
@@ -95,7 +95,7 @@ export const getButtonVariables = (theme: Theme): ButtonVariables => {
9595 danger : {
9696 backgroundColor : theme . colors . background . dangerDefault ,
9797 borderColor : theme . colors . border . danger ,
98- color : ' white' ,
98+ color : theme . colors . text . white ,
9999
100100 focusColor : theme . colors . background . dangerDark ,
101101 loadingBackgroundColor : theme . colors . background . dangerLight ,
@@ -104,7 +104,7 @@ export const getButtonVariables = (theme: Theme): ButtonVariables => {
104104 primary : {
105105 backgroundColor : theme . colors . background . primaryDefault ,
106106 borderColor : theme . colors . border . primary ,
107- color : ' white' ,
107+ color : theme . colors . text . white ,
108108
109109 focusColor : theme . colors . background . primaryDark ,
110110 loadingBackgroundColor : theme . colors . background . primaryLight ,
@@ -113,7 +113,7 @@ export const getButtonVariables = (theme: Theme): ButtonVariables => {
113113 secondary : {
114114 backgroundColor : theme . colors . background . secondaryDefault ,
115115 borderColor : theme . colors . border . secondary ,
116- color : ' white' ,
116+ color : theme . colors . text . white ,
117117
118118 focusColor : theme . colors . background . secondaryDark ,
119119 loadingBackgroundColor : theme . colors . background . secondaryLight ,
@@ -122,7 +122,7 @@ export const getButtonVariables = (theme: Theme): ButtonVariables => {
122122
123123 outline : {
124124 default : {
125- backgroundColor : theme . colors . background . white ,
125+ backgroundColor : theme . colors . background . content ,
126126 borderColor : theme . colors . text . default ,
127127 borderWidth : 3 ,
128128 color : theme . colors . text . default ,
@@ -131,7 +131,7 @@ export const getButtonVariables = (theme: Theme): ButtonVariables => {
131131 } ,
132132
133133 danger : {
134- backgroundColor : theme . colors . background . white ,
134+ backgroundColor : theme . colors . background . content ,
135135 borderColor : theme . colors . border . danger ,
136136 borderWidth : 3 ,
137137 color : theme . colors . text . danger ,
@@ -140,7 +140,7 @@ export const getButtonVariables = (theme: Theme): ButtonVariables => {
140140 } ,
141141
142142 primary : {
143- backgroundColor : theme . colors . background . white ,
143+ backgroundColor : theme . colors . background . content ,
144144 borderColor : theme . colors . border . primary ,
145145 borderWidth : 3 ,
146146 color : theme . colors . text . primary ,
@@ -149,7 +149,7 @@ export const getButtonVariables = (theme: Theme): ButtonVariables => {
149149 } ,
150150
151151 secondary : {
152- backgroundColor : theme . colors . background . white ,
152+ backgroundColor : theme . colors . background . content ,
153153 borderColor : theme . colors . border . secondary ,
154154 borderWidth : 3 ,
155155 color : theme . colors . text . secondary ,
0 commit comments