mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-15 10:21:05 +00:00
docs: add g80 to valid themes (#718)
This commit is contained in:
parent
ab04bb7564
commit
9763bf5cab
1 changed files with 1 additions and 1 deletions
|
@ -37,7 +37,7 @@
|
||||||
onMount(() => {
|
onMount(() => {
|
||||||
const currentTheme = window.location.search.split("?theme=")[1];
|
const currentTheme = window.location.search.split("?theme=")[1];
|
||||||
|
|
||||||
if (["white", "g10", "g90", "g100"].includes(currentTheme)) {
|
if (["white", "g10", "g80", "g90", "g100"].includes(currentTheme)) {
|
||||||
theme.set(currentTheme);
|
theme.set(currentTheme);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue