From 74a6fda8bd75d5a707752d88072f73ea9ec84a8a Mon Sep 17 00:00:00 2001
From: Bastien Dumont <bdumont@grandlyon.com>
Date: Mon, 4 Mar 2024 14:36:27 +0100
Subject: [PATCH] chore(sb): move color block to /ui to dissociate intro/colors

---
 .storybook/preview.ts                                        | 2 +-
 src/app/shared/components/color-block/color-block.stories.ts | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/.storybook/preview.ts b/.storybook/preview.ts
index b44aa48e9..218d11b71 100644
--- a/.storybook/preview.ts
+++ b/.storybook/preview.ts
@@ -17,7 +17,7 @@ const preview: Preview = {
     },
     options: {
       storySort: {
-        order: ['Introduction', ['DesignSystem', 'Colors'], 'UI', 'Components'],
+        order: ['Introduction', ['DesignSystem'], 'Components', 'UI'],
       },
     },
     backgrounds: {
diff --git a/src/app/shared/components/color-block/color-block.stories.ts b/src/app/shared/components/color-block/color-block.stories.ts
index 1de5e32c2..c53a07c21 100644
--- a/src/app/shared/components/color-block/color-block.stories.ts
+++ b/src/app/shared/components/color-block/color-block.stories.ts
@@ -6,7 +6,7 @@ import { ColorBlockComponent } from './color-block.component';
 
 // More on how to set up stories at: https://storybook.js.org/docs/angular/writing-stories/introduction
 const meta: Meta<ColorBlockComponent> = {
-  title: 'Introduction/Colors',
+  title: 'UI/ColorBlock',
   component: ColorBlockComponent,
   // tags: ['autodocs'],
   decorators: [
-- 
GitLab