Skip to content

Commit

Permalink
MOBILE-3371 core: Implement dimmed empty box
Browse files Browse the repository at this point in the history
Also improved storybook set up to test the new feature
  • Loading branch information
NoelDeMartin committed Sep 14, 2023
1 parent 23f0d07 commit 55609b5
Show file tree
Hide file tree
Showing 13 changed files with 860 additions and 118 deletions.
8 changes: 7 additions & 1 deletion .storybook/main.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
module.exports = {
framework: '@storybook/angular',
addons: ['@storybook/addon-controls'],
addons: [
'@storybook/addon-controls',
'@storybook/addon-viewport',
'storybook-addon-designs',
'storybook-addon-rtl-direction',
'storybook-dark-mode',
],
stories: ['../src/**/*.stories.ts'],
}
5 changes: 5 additions & 0 deletions .storybook/preview.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,9 @@ import '!style-loader!css-loader!sass-loader!./styles.scss';

export const parameters = {
layout: 'centered',
darkMode: {
darkClass: 'dark',
classTarget: 'html',
stylePreview: true,
},
};
4 changes: 4 additions & 0 deletions .storybook/styles.scss
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
storybook-dynamic-app-root {
color: var(--ion-text-color);
}

.core-error-info {
max-width: 300px;
}
Loading

0 comments on commit 55609b5

Please sign in to comment.