diff --git a/.storybook/main.js b/.storybook/main.js index febbef2..eab1457 100644 --- a/.storybook/main.js +++ b/.storybook/main.js @@ -9,10 +9,11 @@ module.exports = { name: '@storybook/preset-ant-design', options: { lessOptions: { + //see https://github.com/ant-design/ant-design/blob/master/components/style/themes/default.less modifyVars: { - //'primary-color': '#1864FB', //'#1DA57A', // primary color for all components 24 100 251 + 'primary-color': '#1864FB', //'#1DA57A', // primary color for all components 24 100 251 'font-size-base': '12px', // major text font size - //'link-color': '#1DA57A', + 'link-color': '#1DA57A', }, }, }, diff --git a/.storybook/preview.js b/.storybook/preview.js index 29ae5f2..d2ab968 100644 --- a/.storybook/preview.js +++ b/.storybook/preview.js @@ -1,3 +1,5 @@ +import 'antd/dist/antd.less'; + // https://storybook.js.org/docs/react/writing-stories/parameters#global-parameters export const parameters = { // https://storybook.js.org/docs/react/essentials/actions#automatically-matching-args