@@ -46,7 +46,7 @@ describe('useEuiMemoizedStyles', () => {
4646 const { getByRole } = render ( < Component /> ) ;
4747
4848 expect ( componentStyles ) . toHaveBeenCalledTimes ( 1 ) ;
49- expect ( getByRole ( 'button' ) ) . toHaveStyleRule ( 'color' , '#006bb8 ' ) ;
49+ expect ( getByRole ( 'button' ) ) . toHaveStyleRule ( 'color' , '#1750BA ' ) ;
5050
5151 fireEvent . click ( getByRole ( 'button' ) ) ;
5252 expect ( componentStyles ) . toHaveBeenCalledTimes ( 1 ) ;
@@ -59,15 +59,15 @@ describe('useEuiMemoizedStyles', () => {
5959 </ EuiThemeProvider >
6060 ) ;
6161 expect ( componentStyles ) . toHaveBeenCalledTimes ( 1 ) ;
62- expect ( getByRole ( 'button' ) ) . toHaveStyleRule ( 'color' , '#006bb8 ' ) ;
62+ expect ( getByRole ( 'button' ) ) . toHaveStyleRule ( 'color' , '#1750BA ' ) ;
6363
6464 rerender (
6565 < EuiThemeProvider colorMode = "dark" >
6666 < Component />
6767 </ EuiThemeProvider >
6868 ) ;
6969 expect ( componentStyles ) . toHaveBeenCalledTimes ( 2 ) ;
70- expect ( getByRole ( 'button' ) ) . toHaveStyleRule ( 'color' , '#36a2ef ' ) ;
70+ expect ( getByRole ( 'button' ) ) . toHaveStyleRule ( 'color' , '#61A2FF ' ) ;
7171
7272 // Should not recompute styles if no theme changes
7373 rerender (
@@ -123,7 +123,7 @@ describe('withEuiStylesMemoizer', () => {
123123 const { getByRole } = render ( < Component /> ) ;
124124
125125 expect ( componentStyles ) . toHaveBeenCalledTimes ( 1 ) ;
126- expect ( getByRole ( 'button' ) ) . toHaveStyleRule ( 'color' , '#bd271e ' ) ;
126+ expect ( getByRole ( 'button' ) ) . toHaveStyleRule ( 'color' , '#A71627 ' ) ;
127127
128128 fireEvent . click ( getByRole ( 'button' ) ) ;
129129 expect ( componentStyles ) . toHaveBeenCalledTimes ( 1 ) ;
@@ -136,15 +136,15 @@ describe('withEuiStylesMemoizer', () => {
136136 </ EuiThemeProvider >
137137 ) ;
138138 expect ( componentStyles ) . toHaveBeenCalledTimes ( 1 ) ;
139- expect ( getByRole ( 'button' ) ) . toHaveStyleRule ( 'color' , '#bd271e ' ) ;
139+ expect ( getByRole ( 'button' ) ) . toHaveStyleRule ( 'color' , '#A71627 ' ) ;
140140
141141 rerender (
142142 < EuiThemeProvider colorMode = "dark" >
143143 < Component />
144144 </ EuiThemeProvider >
145145 ) ;
146146 expect ( componentStyles ) . toHaveBeenCalledTimes ( 2 ) ;
147- expect ( getByRole ( 'button' ) ) . toHaveStyleRule ( 'color' , '#f86b63 ' ) ;
147+ expect ( getByRole ( 'button' ) ) . toHaveStyleRule ( 'color' , '#F6726A ' ) ;
148148
149149 // Should not recompute styles if no theme changes
150150 rerender (
@@ -192,7 +192,7 @@ describe('RenderWithEuiStylesMemoizer', () => {
192192 const { getByRole } = render ( < Component < { type : string } > /> ) ;
193193
194194 expect ( componentStyles ) . toHaveBeenCalledTimes ( 1 ) ;
195- expect ( getByRole ( 'button' ) ) . toHaveStyleRule ( 'color' , '#007871 ' ) ;
195+ expect ( getByRole ( 'button' ) ) . toHaveStyleRule ( 'color' , '#09724D ' ) ;
196196
197197 fireEvent . click ( getByRole ( 'button' ) ) ;
198198 expect ( componentStyles ) . toHaveBeenCalledTimes ( 1 ) ;
@@ -205,15 +205,15 @@ describe('RenderWithEuiStylesMemoizer', () => {
205205 </ EuiThemeProvider >
206206 ) ;
207207 expect ( componentStyles ) . toHaveBeenCalledTimes ( 1 ) ;
208- expect ( getByRole ( 'button' ) ) . toHaveStyleRule ( 'color' , '#007871 ' ) ;
208+ expect ( getByRole ( 'button' ) ) . toHaveStyleRule ( 'color' , '#09724D ' ) ;
209209
210210 rerender (
211211 < EuiThemeProvider colorMode = "dark" >
212212 < Component />
213213 </ EuiThemeProvider >
214214 ) ;
215215 expect ( componentStyles ) . toHaveBeenCalledTimes ( 2 ) ;
216- expect ( getByRole ( 'button' ) ) . toHaveStyleRule ( 'color' , '#7dded8 ' ) ;
216+ expect ( getByRole ( 'button' ) ) . toHaveStyleRule ( 'color' , '#24C292 ' ) ;
217217
218218 // Should not recompute styles if no theme changes
219219 rerender (
0 commit comments