Skip to content

Commit 861352b

Browse files
committed
re-order storybook sidebar
1 parent 2800a93 commit 861352b

2 files changed

Lines changed: 12 additions & 1 deletion

File tree

.storybook/preview.js

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,14 @@ export const decorators = [
1919
];
2020

2121
export const parameters = {
22-
actions: { argTypesRegex: "^on[A-Z].*" },
22+
options: {
23+
storySort: {
24+
order: ["Configuration", "Components", "Forms", "Extensions", "CMEM", "*"],
25+
},
26+
},
27+
actions: {
28+
argTypesRegex: "^on[A-Z].*",
29+
},
2330
controls: {
2431
matchers: {
2532
color: /(background|color)$/i,

src/configuration/stories/customproperties.stories.tsx

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -106,6 +106,10 @@ const CssCustomPropertiesOverview = () => {
106106
);
107107
};
108108

109+
/**
110+
* We mirror our SCSS configuration variables as CSS custom vars.
111+
* This way they can be easily used for inline styles or in CSS modules without SCSS includes.
112+
*/
109113
export default {
110114
title: "Configuration/CSS Custom Properties",
111115
component: CssCustomPropertiesOverview,

0 commit comments

Comments
 (0)