From 21b6d779131ffdc0763817e82a229adcc05529c0 Mon Sep 17 00:00:00 2001 From: Nathan Vasse Date: Fri, 1 Sep 2023 17:37:44 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=92=84(react)=20fix=20the=20css=20order?= =?UTF-8?q?=20in=20storybook?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Previously, having the icon file coming after the design system styles was causing issues: we were not able to set fs-* classes to material-icons because the priority of the selector was too low. --- packages/react/.storybook/preview.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/react/.storybook/preview.ts b/packages/react/.storybook/preview.ts index b49e69d..adcef59 100644 --- a/packages/react/.storybook/preview.ts +++ b/packages/react/.storybook/preview.ts @@ -1,6 +1,6 @@ +import "../src/icons.scss"; import "../src/index.scss"; import "../src/fonts.scss"; -import "../src/icons.scss"; import { Preview } from "@storybook/react"; const preview: Preview = {