mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-15 02:11:05 +00:00
docs: use themes exported from carbon-components
This commit is contained in:
parent
5abd542bb8
commit
4356ef47bf
2 changed files with 2 additions and 3 deletions
|
@ -9,7 +9,6 @@
|
|||
"build:svite": "svite build"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@carbon/themes": "^10.20.0",
|
||||
"@sveltech/routify": "^1.9.9",
|
||||
"autoprefixer": "^10.0.1",
|
||||
"carbon-components": "^10.23.0",
|
||||
|
|
|
@ -4,13 +4,13 @@
|
|||
</script>
|
||||
|
||||
<style lang="scss" global>
|
||||
@import "carbon-components/scss/globals/scss/_theme.scss";
|
||||
|
||||
$feature-flags: (
|
||||
enable-css-custom-properties: true,
|
||||
grid-columns-16: true
|
||||
);
|
||||
|
||||
@import "@carbon/themes/scss/themes";
|
||||
|
||||
:root {
|
||||
@include carbon--theme($carbon--theme--white, true);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue