Skip to content

Commit 78cc186

Browse files
Fx
1 parent c92be8e commit 78cc186

File tree

2 files changed

+2
-11
lines changed

2 files changed

+2
-11
lines changed

.storybook/main.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ const config = {
55
name: '@storybook/web-components-vite',
66
options: {},
77
},
8-
staticDirs: ['public'],
8+
staticDirs: ['public', '../dist'],
99
managerHead: (head: string) => `
1010
${head}
1111
<base href="./" />
@@ -14,7 +14,7 @@ const config = {
1414
${head}
1515
<base href="./" />
1616
<script type="module">
17-
import { defineCustomElements } from '../dist/web-components/index.js';
17+
import { defineCustomElements } from './web-components/index.js';
1818
defineCustomElements();
1919
</script>
2020
`,

src/components/visual/button/button.scss

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,6 @@
11
:host {
22
@apply mvx:flex;
33

4-
/* Inherit CSS variables from parent document into shadow DOM */
5-
--mvx-button-bg-primary: var(--mvx-button-bg-primary);
6-
--mvx-button-text-primary: var(--mvx-button-text-primary);
7-
--mvx-button-bg-secondary: var(--mvx-button-bg-secondary);
8-
--mvx-button-text-secondary: var(--mvx-button-text-secondary);
9-
--mvx-neutral-925: var(--mvx-neutral-925);
10-
--mvx-white: var(--mvx-white);
11-
--mvx-text-color-secondary: var(--mvx-text-color-secondary);
12-
134
.button {
145
@apply mvx:flex mvx:items-center mvx:justify-center mvx:font-bold mvx:leading-none mvx:px-4 mvx:max-h-full;
156
@apply mvx:rounded-xl mvx:cursor-pointer mvx:transition-all mvx:duration-200 mvx:ease-in-out mvx:gap-2;

0 commit comments

Comments
 (0)