mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-14 18:01:06 +00:00
chore(examples): add webpack example set-up
The set-up uses the pre-compiled CSS.
This commit is contained in:
parent
26f383360f
commit
99f1dd2c34
11 changed files with 5664 additions and 0 deletions
7
examples/webpack/src/components/Theme.svelte
Normal file
7
examples/webpack/src/components/Theme.svelte
Normal file
|
@ -0,0 +1,7 @@
|
|||
<script>
|
||||
export let theme = "white";
|
||||
|
||||
$: document.documentElement.setAttribute("theme", theme);
|
||||
</script>
|
||||
|
||||
<slot />
|
Loading…
Add table
Add a link
Reference in a new issue