diff --git a/docs/src/lib/components/Step.svelte b/docs/src/lib/components/Step.svelte new file mode 100644 index 000000000..51a1696a6 --- /dev/null +++ b/docs/src/lib/components/Step.svelte @@ -0,0 +1,36 @@ + + +
- + Use the Svelte CLI to generate a new SvelteKit project, or continue with an existing project. +
+
+ {:else if value === 1}
+
+ {:else if value === 2}
+
+ {:else if value === 3}
+
+ {:else if value === 4}
+
+ {/if}
+ {/snippet}
+ To add tailwind to an existing project you can npv sv add tailwindcss
+
+ {:else if value === 1}
+
+ {:else if value === 2}
+
+ {:else if value === 3}
+
+ {:else if value === 4}
+
+ {/if}
+ {/snippet}
+
+ Out of the box LayerChart will use currentColor as the default color, but you can customize the CSS globally with a few CSS variables.
+
+
+ or with a single .css import, Layerchart provides theming conventions for many popular UI frameworks.
+
+ {:else if value === 1}
+
+ {:else if value === 2}
+
+ {:else if value === 3}
+
+ {:else if value === 4}
+
+ {:else if value === 5}
+
+ {/if}
+ {/snippet}
+
- Use the Svelte CLI to generate a new SvelteKit project, or continue with an existing project.
+ Import the charting components you need from layerchart. Don't forget to take a look at the large collection of examples for some additonal inspiration.
- {:else if value === 1}
-
- {:else if value === 2}
-
- {:else if value === 3}
-
- {:else if value === 4}
-
- {/if}
- {/snippet}
- To add tailwind to an existing project you can npv sv add tailwindcss
- {/snippet}
- {#snippet step2Title()}
- Import layerchart with your package manager of choice.
- {/snippet}
- {#snippet step2Content()}
-
- {:else if value === 1}
-
- {:else if value === 2}
-
- {:else if value === 3}
-
- {:else if value === 4}
-
- {/if}
- {/snippet}
-
- Out of the box LayerChart will use currentColor as the default color, but you can customize the CSS globally with a few CSS variables.
-
-
- or with a single .css import, Layerchart provides theming conventions for many popular UI frameworks.
+
+ All set! Now just fire up the dev server and start iterating. Have fun!
-
+ {#if value === 0}
+
{:else if value === 1}
-
+
{:else if value === 2}
-
+
{:else if value === 3}
-
+
{:else if value === 4}
-
- {:else if value === 5}
-
+
{/if}
{/snippet}
- Import the charting components you need from layerchart. Don't forget to take a look at the large collection of examples for some additonal inspiration.
-
- All set! Now just fire up the dev server and start iterating. Have fun! -
-
- {:else if value === 1}
-
- {:else if value === 2}
-
- {:else if value === 3}
-
- {:else if value === 4}
-
- {/if}
- {/snippet}
-