John Albin Wilkins
John Albin Wilkins
This would be 1000x easier if this code was written in JS instead of Sass. Moving to 2.x where we will be supporting node-sass.
Rough idea: ``` @each $name, $color in get-colors($scheme-name) { color: $color; /* #{$name} */ } @each $variation-name, $color in get-color-variations($color, $optional-tag) { color: $color; /* #{$name} */ } ``` This...
Your "Link to Minimal Reproducible Example" is a 404 page. https://github.com/vudoan1708-cyber/storybook-builder-vite-error-reproduce is 404.
@vudoan1708-cyber It looks like your decorator function isn't written properly. https://storybook.js.org/docs/react/writing-stories/decorators FYI, I just wrote a Storybook addon that integrates with fetch-mock. It _should_ work with Svelte, though I've only...
I had a similar error with my header/footer styles being loaded before my global styles. It was the result of adding an Error Boundary as described at https://nextjs.org/docs/advanced-features/error-handling > To...
> Counter-intuitively known failures count as a success Yep. It's one of the features I love about ava. Being able to document known bugs with tests makes it easer to...
I tried the MDX2 work-around from https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#opt-in-mdx2-support, but I had to install `@mdx-js/react` v2 before it started to work. Here's the very-slightly modified instructions from the above url. > ##...
> Namespaces are a great addition, but I am talking about cascading locations. > > In php, you can specify an array of folders where to look for templates. >...
Here's more Twig docs. http://symfony.com/doc/current/cookbook/templating/namespaced_paths.html#multiple-paths-per-namespace With Symfony, Twig.js' namespaces are configured by a YML file: ``` yml # app/config/config.yml twig: # ... paths: "%kernel.root_dir%/../vendor/acme/themes/theme1": theme "%kernel.root_dir%/../vendor/acme/themes/theme2": theme "%kernel.root_dir%/../vendor/acme/themes/common": theme ```...
I'll see if I can get a PR for this done this week. @micahgodbolt and I are both at the same conference this week.