docs(palimpsest): add initial set-up

Supports #100
This commit is contained in:
Eric Liu 2020-01-04 09:25:05 -08:00
commit 925bfba548
11 changed files with 7242 additions and 0 deletions

View file

@ -0,0 +1,16 @@
<script>
import { Select, SelectItem } from 'carbon-components-svelte';
let selected = 'white';
$: {
document.documentElement.setAttribute('carbon-theme', selected);
}
</script>
<Select inline labelText="Select Carbon Theme" bind:selected>
<SelectItem value="white" text="White (light)" />
<SelectItem value="g10" text="Gray 10 (light)" />
<SelectItem value="g90" text="Gray 90 (dark)" />
<SelectItem value="g100" text="Gray 100 (dark)" />
</Select>