diff --git a/packages/strapi-design-system/src/themes/Theme.stories.mdx b/packages/strapi-design-system/src/themes/Theme.stories.mdx index 139698c6d..93227e2cf 100644 --- a/packages/strapi-design-system/src/themes/Theme.stories.mdx +++ b/packages/strapi-design-system/src/themes/Theme.stories.mdx @@ -31,7 +31,7 @@ This is the light colors used for the light mode {() => { const { color } = lightColorTokenObject; /* Excluding warning since they don't have enough contrast on for neutral900 and neutral0 */ - const colorsKey = Object.keys(color).filter((color) => !color.includes('warning') && !color.includes('button')); + const colorsKey = Object.keys(color).filter((color) => !color.includes('warning')); const colors = []; const conditions = ['600', '700', '800', '900', '1000']; let ruptureKey; diff --git a/packages/strapi-design-system/tests/__snapshots__/storyshots.spec.js.snap b/packages/strapi-design-system/tests/__snapshots__/storyshots.spec.js.snap index 8638e3b9f..c63d1fc3a 100644 --- a/packages/strapi-design-system/tests/__snapshots__/storyshots.spec.js.snap +++ b/packages/strapi-design-system/tests/__snapshots__/storyshots.spec.js.snap @@ -46360,6 +46360,46 @@ exports[`Storyshots Design System/Components/Theme light colors 1`] = ` +
+
+
+
+

+ buttonNeutral0 +

+
+
+

+ buttonPrimary500 +

+
+
+

+ buttonPrimary600 +

+
+
+
+