-
Notifications
You must be signed in to change notification settings - Fork 126
Open
Description
Hi I'm using 3.1.0 and storybook 8.5.2 I'm having an issue where the design-tokens.source.json is not being created. Not really sure if I'm doing something wrong on this or not
this is my tokens.css file
:root {
/**
* @tokens Colors Dark
* @presenter Color
*/
--colourTertiarry400: #8dd2bf;
--colourTertiarry600: #5a9f8c;
--colourTertiarry700: #437769;
--colourTertiarry800: #2d5046;
--colourTertiarry900: #162823;
--colourTertiarryDefault: #70c7af;
/* @tokens End */
}and this is my main.js
import type { StorybookConfig } from "@storybook-vue/nuxt";
const config: StorybookConfig = {
stories: [
"../stories/**/*.mdx",
"../stories/**/*.stories.@(js|jsx|mjs|ts|tsx)",
"../components/**/*.stories.@(js|jsx|mjs|ts|tsx)",
],
addons: [
"@storybook/addon-links",
"@storybook/addon-essentials",
"@storybook/addon-interactions",
"@storybook/addon-designs",
{ name: 'storybook-design-token', options: { preserveCSSVars: true,
designTokenGlob: "tokens.css",
} }
],
// features: {
// buildStoriesJson: true
// },
framework: {
name: "@storybook-vue/nuxt",
options: {},
},
docs: {
autodocs: true,
},
};
export default config;Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels