import { Meta, Story, Canvas } from '@storybook/addon-docs';
import TextClasses from './TextClasses.vue';

<Meta
	title="Styleguide/Text"
	parameters={{
		design: {
			type: 'figma',
			url: 'https://www.figma.com/file/DxLbnIyMK8X0uLkUguFV4n/n8n-design-system_v1?node-id=79%3A6898',
		},
	}}
/>

# Regular

<Canvas>
	<Story name="regular">
		{{
			template: `<text-classes />`,
			components: {
				TextClasses,
			},
		}}
	</Story>
</Canvas>

# Bold

<Canvas>
	<Story name="bold">
		{{
			template: `<text-classes postfix="-bold" />`,
			components: {
				TextClasses,
			},
		}}
	</Story>
</Canvas>
