From 5c374cc55c53122a8ecb97d6d8a63bea48a9131e Mon Sep 17 00:00:00 2001 From: Bogdan Bosca <109202804+endv-bogdanb@users.noreply.github.com> Date: Sat, 17 Jun 2023 08:36:09 +0300 Subject: [PATCH] fix(plopjs): storybook template eslint import order (#280) --- tools/generators/plop/scss-variables.hbs | 2 +- tools/generators/plop/storybook.hbs | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/tools/generators/plop/scss-variables.hbs b/tools/generators/plop/scss-variables.hbs index aedb2aaea..09f9719e7 100644 --- a/tools/generators/plop/scss-variables.hbs +++ b/tools/generators/plop/scss-variables.hbs @@ -3,5 +3,5 @@ /* -------------------------------------------------------------------------- */ :host { - --bq-{{kebabCase name}}--margin: 1px; + --bq-{{kebabCase name}}--margin: theme('spacing.m'); } \ No newline at end of file diff --git a/tools/generators/plop/storybook.hbs b/tools/generators/plop/storybook.hbs index 7d6f9c25a..136a9e2a2 100644 --- a/tools/generators/plop/storybook.hbs +++ b/tools/generators/plop/storybook.hbs @@ -1,7 +1,7 @@ +import type { Args, Meta, StoryObj } from '@storybook/web-components'; import { html } from 'lit-html'; -import mdx from './bq-{{kebabCase name}}.mdx'; -import type { Args, Meta, StoryObj } from '@storybook/web-components'; +import mdx from './bq-{{kebabCase name}}.mdx'; const meta: Meta = { title: 'Components/{{sentenceCase name}}',