@@ -98,21 +98,21 @@ function getContainerTheme(theme: Theme, type: Indicator['type']): React.CSSProp
9898 case 'success' :
9999 return {
100100 background : theme . colors . green100 ,
101- borderBottom : `2px solid ${ theme . colors . border . success } ` ,
101+ borderBottom : `2px solid ${ theme . tokens . border . success } ` ,
102102 border : `1px solid ${ chonkFor ( theme , theme . colors . chonk . green400 ) } ` ,
103103 boxShadow : `0 3px 0 0px ${ chonkFor ( theme , theme . colors . chonk . green400 ) } ` ,
104104 } ;
105105 case 'error' :
106106 return {
107107 background : theme . colors . red100 ,
108- borderBottom : `2px solid ${ theme . colors . border . danger } ` ,
108+ borderBottom : `2px solid ${ theme . tokens . border . danger } ` ,
109109 border : `1px solid ${ chonkFor ( theme , theme . colors . chonk . red400 ) } ` ,
110110 boxShadow : `0 3px 0 0px ${ chonkFor ( theme , theme . colors . chonk . red400 ) } ` ,
111111 } ;
112112 default :
113113 return {
114- background : theme . colors . background . primary ,
115- borderBottom : `2px solid ${ theme . colors . border . accent } ` ,
114+ background : theme . tokens . background . primary ,
115+ borderBottom : `2px solid ${ theme . tokens . border . accent } ` ,
116116 border : `1px solid ${ chonkFor ( theme , theme . colors . chonk . blue400 ) } ` ,
117117 boxShadow : `0 3px 0 0px ${ chonkFor ( theme , theme . colors . chonk . blue400 ) } ` ,
118118 } ;
@@ -139,7 +139,7 @@ const ToastOuterContainer = chonkStyled(motion.div)<{type: Indicator['type']}>`
139139 * so we set the background color here to the background color so that the
140140 * toast is not see-through.
141141 */
142- background: ${ p => p . theme . colors . background . primary } ;
142+ background: ${ p => p . theme . tokens . background . primary } ;
143143 border-radius: ${ p => p . theme . radius . lg } ;
144144 border: ${ p => getContainerTheme ( p . theme , p . type ) . border } ;
145145 box-shadow: ${ p => getContainerTheme ( p . theme , p . type ) . boxShadow } ;
@@ -168,7 +168,7 @@ function getToastIconContainerTheme(
168168 } ;
169169 default :
170170 return {
171- background : theme . colors . background . primary ,
171+ background : theme . tokens . background . primary ,
172172 borderRight : `1px solid ${ chonkFor ( theme , theme . colors . chonk . blue400 ) } ` ,
173173 } ;
174174 }
0 commit comments