File tree Expand file tree Collapse file tree 2 files changed +2
-11
lines changed
src/components/visual/button Expand file tree Collapse file tree 2 files changed +2
-11
lines changed Original file line number Diff line number Diff 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 ` ,
Original file line number Diff line number Diff line change 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;
You can’t perform that action at this time.
0 commit comments