From 8bbf695ed180cf69652f8b0cc3e2a71b3bf5ca21 Mon Sep 17 00:00:00 2001 From: Eric Y Liu Date: Mon, 26 Jul 2021 08:14:42 -0700 Subject: [PATCH] docs: add note on using all styles for dynamic theming --- docs/src/pages/index.svelte | 55 +++++++++++++++++++++++++++++++------ 1 file changed, 46 insertions(+), 9 deletions(-) diff --git a/docs/src/pages/index.svelte b/docs/src/pages/index.svelte index d19d69c4..53df99bf 100644 --- a/docs/src/pages/index.svelte +++ b/docs/src/pages/index.svelte @@ -29,7 +29,17 @@ g80: "Gray 80", g90: "Gray 90", g100: "Gray 100", + all: "All", }; + + const cssImportAll = `import "carbon-components-svelte/css/all.css";`; + const cssThemeToggle = `