mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-18 19:46:36 +00:00
chore: use v11 styles for docs
This commit is contained in:
parent
9843797443
commit
46056f2d82
4 changed files with 15 additions and 1 deletions
|
@ -9,6 +9,7 @@
|
|||
"build:svite": "vite build"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@ibm/plex": "^6.1.1",
|
||||
"@sveltech/routify": "^1.9.10",
|
||||
"@sveltejs/vite-plugin-svelte": "^1.0.2",
|
||||
"carbon-components-svelte": "../",
|
||||
|
|
8
docs/src/carbon.scss
Normal file
8
docs/src/carbon.scss
Normal file
|
@ -0,0 +1,8 @@
|
|||
@use '@carbon/styles' with ($prefix: 'bx');
|
||||
@use '@carbon/themes';
|
||||
@use '@ibm/plex/scss/ibm-plex.scss';
|
||||
|
||||
:root {
|
||||
// Emit CSS Custom Properties for the current theme
|
||||
@include themes.theme();
|
||||
}
|
|
@ -1,5 +1,5 @@
|
|||
import App from "./App.svelte";
|
||||
import "../../css/all.css";
|
||||
import "./carbon.scss";
|
||||
import "./global.css";
|
||||
|
||||
const app = new App({ target: document.body });
|
||||
|
|
|
@ -15,6 +15,11 @@
|
|||
resolved "https://registry.yarnpkg.com/@esbuild/linux-loong64/-/linux-loong64-0.14.54.tgz#de2a4be678bd4d0d1ffbb86e6de779cde5999028"
|
||||
integrity sha512-bZBrLAIX1kpWelV0XemxBZllyRmM6vgFQQG2GdNb+r3Fkp0FOh1NJSvekXDs7jq70k4euu1cryLMfU+mTXlEpw==
|
||||
|
||||
"@ibm/plex@^6.1.1":
|
||||
version "6.1.1"
|
||||
resolved "https://registry.yarnpkg.com/@ibm/plex/-/plex-6.1.1.tgz#eddfd98fe86ecafc74bc8ec7595e7615bb88eb34"
|
||||
integrity sha512-b2z/Gsc8KHOVrYo/yPauRvRDNMwF6zhEZZsvogs1rCmmyfVXBTY9uUkf6TyplhQs/L4UcjBus8R/RDp7yASTBA==
|
||||
|
||||
"@jridgewell/gen-mapping@^0.3.0":
|
||||
version "0.3.3"
|
||||
resolved "https://registry.yarnpkg.com/@jridgewell/gen-mapping/-/gen-mapping-0.3.3.tgz#7e02e6eb5df901aaedb08514203b096614024098"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue