Skip to content

Commit

Permalink
feat(theming cleanup): remove recolouring theme option
Browse files Browse the repository at this point in the history
  • Loading branch information
Ddouglasz committed Apr 23, 2024
1 parent cc35e6d commit d48129b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions design-system/src/theme-provider.visualroute.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ const InteractiveRoute = () => {
<button
onClick={() => {
setGlobalTheme({
name: 'recolouring',
name: 'default',
overrides: {
colorSolid: 'red',
colorSurface: 'yellow',
Expand All @@ -166,7 +166,7 @@ const InteractiveRoute = () => {
<button
onClick={() => {
setLocalTheme({
name: 'recolouring',
name: 'default',
overrides: { colorSolid: 'green', colorSurface: 'tomato' },
});
}}
Expand Down
4 changes: 2 additions & 2 deletions design-system/src/theme-provider.visualspec.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ describe('Interactive', () => {
);

await globalThemeChangeButton.click();
await page.waitForSelector('[data-theme="recolouring"]');
await page.waitForSelector('[data-theme="default"]');
// TODO: uncomment when issue with Percy is resolved
// await percySnapshot(page, 'ThemeProvider - after global theme change');

Expand All @@ -30,7 +30,7 @@ describe('Interactive', () => {
'change local theme'
);
await localThemeChangeButton.click();
await page.waitForSelector('[data-theme="recolouring"]');
await page.waitForSelector('[data-theme="default"]');
// TODO: uncomment when issue with Percy is resolved
// await percySnapshot(page, 'ThemeProvider - after local theme change');
});
Expand Down

0 comments on commit d48129b

Please sign in to comment.