mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-18 11:36:36 +00:00
chore(deps-dev): remove @carbon/themes
This commit is contained in:
parent
251f986304
commit
094b528b06
5 changed files with 20 additions and 105 deletions
|
@ -9,7 +9,6 @@
|
||||||
"build:svite": "svite build"
|
"build:svite": "svite build"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@carbon/themes": "10.26.0",
|
|
||||||
"@sveltech/routify": "^1.9.9",
|
"@sveltech/routify": "^1.9.9",
|
||||||
"autoprefixer": "^10.2.3",
|
"autoprefixer": "^10.2.3",
|
||||||
"carbon-components": "10.27.0",
|
"carbon-components": "10.27.0",
|
||||||
|
|
|
@ -6,29 +6,12 @@
|
||||||
<Router routes="{routes}" />
|
<Router routes="{routes}" />
|
||||||
|
|
||||||
<style lang="scss" global>
|
<style lang="scss" global>
|
||||||
@import "@carbon/themes/scss/themes";
|
|
||||||
|
|
||||||
$feature-flags: (
|
$feature-flags: (
|
||||||
enable-css-custom-properties: true,
|
enable-css-custom-properties: true,
|
||||||
|
ui-shell: true,
|
||||||
grid-columns-16: true
|
grid-columns-16: true
|
||||||
);
|
);
|
||||||
|
|
||||||
:root {
|
|
||||||
@include carbon--theme($carbon--theme--white, true);
|
|
||||||
}
|
|
||||||
|
|
||||||
:root[theme="g10"] {
|
|
||||||
@include carbon--theme($carbon--theme--g10, true);
|
|
||||||
}
|
|
||||||
|
|
||||||
:root[theme="g90"] {
|
|
||||||
@include carbon--theme($carbon--theme--g90, true);
|
|
||||||
}
|
|
||||||
|
|
||||||
:root[theme="g100"] {
|
|
||||||
@include carbon--theme($carbon--theme--g100, true);
|
|
||||||
}
|
|
||||||
|
|
||||||
$css--font-face: true;
|
$css--font-face: true;
|
||||||
$css--helpers: true;
|
$css--helpers: true;
|
||||||
$css--body: true;
|
$css--body: true;
|
||||||
|
@ -37,6 +20,22 @@
|
||||||
$css--default-type: true;
|
$css--default-type: true;
|
||||||
$css--plex: true;
|
$css--plex: true;
|
||||||
|
|
||||||
|
// Use all Carbon themes
|
||||||
|
@import "carbon-components/scss/globals/scss/vendor/@carbon/themes/scss";
|
||||||
|
|
||||||
|
:root {
|
||||||
|
@include carbon--theme($carbon--theme--white, true);
|
||||||
|
}
|
||||||
|
:root[theme="g10"] {
|
||||||
|
@include carbon--theme($carbon--theme--g10, true);
|
||||||
|
}
|
||||||
|
:root[theme="g90"] {
|
||||||
|
@include carbon--theme($carbon--theme--g90, true);
|
||||||
|
}
|
||||||
|
:root[theme="g100"] {
|
||||||
|
@include carbon--theme($carbon--theme--g100, true);
|
||||||
|
}
|
||||||
|
|
||||||
@import "carbon-components/scss/globals/scss/_css--reset.scss";
|
@import "carbon-components/scss/globals/scss/_css--reset.scss";
|
||||||
@import "carbon-components/scss/globals/scss/_css--font-face.scss";
|
@import "carbon-components/scss/globals/scss/_css--font-face.scss";
|
||||||
@import "carbon-components/scss/globals/scss/_css--helpers.scss";
|
@import "carbon-components/scss/globals/scss/_css--helpers.scss";
|
||||||
|
|
|
@ -119,21 +119,6 @@
|
||||||
lodash "^4.17.19"
|
lodash "^4.17.19"
|
||||||
to-fast-properties "^2.0.0"
|
to-fast-properties "^2.0.0"
|
||||||
|
|
||||||
"@carbon/colors@^10.19.0":
|
|
||||||
version "10.19.0"
|
|
||||||
resolved "https://registry.npmjs.org/@carbon/colors/-/colors-10.19.0.tgz#b3fe4b8302f5a0d8450d4fe9af36eed40c035426"
|
|
||||||
integrity sha512-LrlxOuIrpWQmn8VmSu0VwuT4hRiXmSOtt9Yjs5OKEUuSIxADZFMpY+fJIvMu7q69Y4XeV6XNYrJpIExOfb62iw==
|
|
||||||
|
|
||||||
"@carbon/import-once@^10.5.0":
|
|
||||||
version "10.5.0"
|
|
||||||
resolved "https://registry.npmjs.org/@carbon/import-once/-/import-once-10.5.0.tgz#9a84b50a761aa561ae6600a6c34b9955d97b3fd8"
|
|
||||||
integrity sha512-OlyJpA5wJ9XNv/FAogN4TGhwmrdyVYeoJ/ARkcmbdWiXwq4OTCVki9MUlV779+HYseLlXBxtlA1No3/R4Sds0g==
|
|
||||||
|
|
||||||
"@carbon/layout@^10.17.0":
|
|
||||||
version "10.17.0"
|
|
||||||
resolved "https://registry.npmjs.org/@carbon/layout/-/layout-10.17.0.tgz#de2b80673c0ee13c451adf7060e63b117a87bc30"
|
|
||||||
integrity sha512-FS198XBh0dxfjU2GJ35b85gQbnuNFSK8IcpSBsgX7KKSIktwpPy0WV40EGQoZD/qFPIJpzZRngkJWD+d6vhf7w==
|
|
||||||
|
|
||||||
"@carbon/telemetry@0.0.0-alpha.6":
|
"@carbon/telemetry@0.0.0-alpha.6":
|
||||||
version "0.0.0-alpha.6"
|
version "0.0.0-alpha.6"
|
||||||
resolved "https://registry.npmjs.org/@carbon/telemetry/-/telemetry-0.0.0-alpha.6.tgz#1d11e64f310e98f32c3db0c55f02e047f2398087"
|
resolved "https://registry.npmjs.org/@carbon/telemetry/-/telemetry-0.0.0-alpha.6.tgz#1d11e64f310e98f32c3db0c55f02e047f2398087"
|
||||||
|
@ -150,24 +135,6 @@
|
||||||
winston "^3.3.3"
|
winston "^3.3.3"
|
||||||
yargs "^16.1.1"
|
yargs "^16.1.1"
|
||||||
|
|
||||||
"@carbon/themes@10.26.0":
|
|
||||||
version "10.26.0"
|
|
||||||
resolved "https://registry.npmjs.org/@carbon/themes/-/themes-10.26.0.tgz#61720c0e51ebe6a1121e22d0f764b0d55cf8533d"
|
|
||||||
integrity sha512-8S/S3S9l+7lbxGpbz81eoRxOYtloFTMPBZtcOmfUE1bwX3y31hhxc+4hrTCqdS0LQQSDvGebfYxiF7bfiVRFRg==
|
|
||||||
dependencies:
|
|
||||||
"@carbon/colors" "^10.19.0"
|
|
||||||
"@carbon/layout" "^10.17.0"
|
|
||||||
"@carbon/type" "^10.20.0"
|
|
||||||
color "^3.1.2"
|
|
||||||
|
|
||||||
"@carbon/type@^10.20.0":
|
|
||||||
version "10.20.0"
|
|
||||||
resolved "https://registry.npmjs.org/@carbon/type/-/type-10.20.0.tgz#cea815adb8edceb98b4f7111d82ce6aa6ac59a96"
|
|
||||||
integrity sha512-F12I0oSR9CwFavdO357+a+2S7bGK4V3iaT5F89WNBR6RyV6jSTVq02rqWaRtmDK7Axy0dH/8Dxbq/xnLynFb6g==
|
|
||||||
dependencies:
|
|
||||||
"@carbon/import-once" "^10.5.0"
|
|
||||||
"@carbon/layout" "^10.17.0"
|
|
||||||
|
|
||||||
"@dabh/diagnostics@^2.0.2":
|
"@dabh/diagnostics@^2.0.2":
|
||||||
version "2.0.2"
|
version "2.0.2"
|
||||||
resolved "https://registry.npmjs.org/@dabh/diagnostics/-/diagnostics-2.0.2.tgz#290d08f7b381b8f94607dc8f471a12c675f9db31"
|
resolved "https://registry.npmjs.org/@dabh/diagnostics/-/diagnostics-2.0.2.tgz#290d08f7b381b8f94607dc8f471a12c675f9db31"
|
||||||
|
@ -870,7 +837,7 @@ caniuse-lite@^1.0.30001173, caniuse-lite@^1.0.30001178:
|
||||||
integrity sha512-n8JVqXuZMVSPKiPiypjFtDTXc4jWIdjxull0f92WLo7e1MSi3uJ3NvveakSh/aCl1QKFAvIz3vIj0v+0K+FrXw==
|
integrity sha512-n8JVqXuZMVSPKiPiypjFtDTXc4jWIdjxull0f92WLo7e1MSi3uJ3NvveakSh/aCl1QKFAvIz3vIj0v+0K+FrXw==
|
||||||
|
|
||||||
carbon-components-svelte@../:
|
carbon-components-svelte@../:
|
||||||
version "0.26.0"
|
version "0.27.0"
|
||||||
dependencies:
|
dependencies:
|
||||||
carbon-icons-svelte "^10.21.0"
|
carbon-icons-svelte "^10.21.0"
|
||||||
flatpickr "4.6.9"
|
flatpickr "4.6.9"
|
||||||
|
@ -1052,7 +1019,7 @@ color-name@^1.0.0, color-name@~1.1.4:
|
||||||
resolved "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz#c2a09a87acbde69543de6f63fa3995c826c536a2"
|
resolved "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz#c2a09a87acbde69543de6f63fa3995c826c536a2"
|
||||||
integrity sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==
|
integrity sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==
|
||||||
|
|
||||||
color-string@^1.5.2, color-string@^1.5.4:
|
color-string@^1.5.2:
|
||||||
version "1.5.4"
|
version "1.5.4"
|
||||||
resolved "https://registry.npmjs.org/color-string/-/color-string-1.5.4.tgz#dd51cd25cfee953d138fe4002372cc3d0e504cb6"
|
resolved "https://registry.npmjs.org/color-string/-/color-string-1.5.4.tgz#dd51cd25cfee953d138fe4002372cc3d0e504cb6"
|
||||||
integrity sha512-57yF5yt8Xa3czSEW1jfQDE79Idk0+AkN/4KWad6tbdxUmAs3MvjxlWSWD4deYytcRfoZ9nhKyFl1kj5tBvidbw==
|
integrity sha512-57yF5yt8Xa3czSEW1jfQDE79Idk0+AkN/4KWad6tbdxUmAs3MvjxlWSWD4deYytcRfoZ9nhKyFl1kj5tBvidbw==
|
||||||
|
@ -1068,14 +1035,6 @@ color@3.0.x:
|
||||||
color-convert "^1.9.1"
|
color-convert "^1.9.1"
|
||||||
color-string "^1.5.2"
|
color-string "^1.5.2"
|
||||||
|
|
||||||
color@^3.1.2:
|
|
||||||
version "3.1.3"
|
|
||||||
resolved "https://registry.npmjs.org/color/-/color-3.1.3.tgz#ca67fb4e7b97d611dcde39eceed422067d91596e"
|
|
||||||
integrity sha512-xgXAcTHa2HeFCGLE9Xs/R82hujGtu9Jd9x4NW3T34+OMs7VoPsjwzRczKHvTAHeJwWFwX5j15+MgAppE8ztObQ==
|
|
||||||
dependencies:
|
|
||||||
color-convert "^1.9.1"
|
|
||||||
color-string "^1.5.4"
|
|
||||||
|
|
||||||
colorette@^1.2.1:
|
colorette@^1.2.1:
|
||||||
version "1.2.1"
|
version "1.2.1"
|
||||||
resolved "https://registry.npmjs.org/colorette/-/colorette-1.2.1.tgz#4d0b921325c14faf92633086a536db6e89564b1b"
|
resolved "https://registry.npmjs.org/colorette/-/colorette-1.2.1.tgz#4d0b921325c14faf92633086a536db6e89564b1b"
|
||||||
|
|
|
@ -25,7 +25,6 @@
|
||||||
"flatpickr": "4.6.9"
|
"flatpickr": "4.6.9"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@carbon/themes": "^10.26.0",
|
|
||||||
"@rollup/plugin-commonjs": "^16.0.0",
|
"@rollup/plugin-commonjs": "^16.0.0",
|
||||||
"@rollup/plugin-node-resolve": "^10.0.0",
|
"@rollup/plugin-node-resolve": "^10.0.0",
|
||||||
"@tsconfig/svelte": "^1.0.10",
|
"@tsconfig/svelte": "^1.0.10",
|
||||||
|
|
43
yarn.lock
43
yarn.lock
|
@ -105,21 +105,6 @@
|
||||||
lodash "^4.17.19"
|
lodash "^4.17.19"
|
||||||
to-fast-properties "^2.0.0"
|
to-fast-properties "^2.0.0"
|
||||||
|
|
||||||
"@carbon/colors@^10.19.0":
|
|
||||||
version "10.19.0"
|
|
||||||
resolved "https://registry.npmjs.org/@carbon/colors/-/colors-10.19.0.tgz#b3fe4b8302f5a0d8450d4fe9af36eed40c035426"
|
|
||||||
integrity sha512-LrlxOuIrpWQmn8VmSu0VwuT4hRiXmSOtt9Yjs5OKEUuSIxADZFMpY+fJIvMu7q69Y4XeV6XNYrJpIExOfb62iw==
|
|
||||||
|
|
||||||
"@carbon/import-once@^10.5.0":
|
|
||||||
version "10.5.0"
|
|
||||||
resolved "https://registry.npmjs.org/@carbon/import-once/-/import-once-10.5.0.tgz#9a84b50a761aa561ae6600a6c34b9955d97b3fd8"
|
|
||||||
integrity sha512-OlyJpA5wJ9XNv/FAogN4TGhwmrdyVYeoJ/ARkcmbdWiXwq4OTCVki9MUlV779+HYseLlXBxtlA1No3/R4Sds0g==
|
|
||||||
|
|
||||||
"@carbon/layout@^10.17.0":
|
|
||||||
version "10.17.0"
|
|
||||||
resolved "https://registry.npmjs.org/@carbon/layout/-/layout-10.17.0.tgz#de2b80673c0ee13c451adf7060e63b117a87bc30"
|
|
||||||
integrity sha512-FS198XBh0dxfjU2GJ35b85gQbnuNFSK8IcpSBsgX7KKSIktwpPy0WV40EGQoZD/qFPIJpzZRngkJWD+d6vhf7w==
|
|
||||||
|
|
||||||
"@carbon/telemetry@0.0.0-alpha.6":
|
"@carbon/telemetry@0.0.0-alpha.6":
|
||||||
version "0.0.0-alpha.6"
|
version "0.0.0-alpha.6"
|
||||||
resolved "https://registry.npmjs.org/@carbon/telemetry/-/telemetry-0.0.0-alpha.6.tgz#1d11e64f310e98f32c3db0c55f02e047f2398087"
|
resolved "https://registry.npmjs.org/@carbon/telemetry/-/telemetry-0.0.0-alpha.6.tgz#1d11e64f310e98f32c3db0c55f02e047f2398087"
|
||||||
|
@ -136,24 +121,6 @@
|
||||||
winston "^3.3.3"
|
winston "^3.3.3"
|
||||||
yargs "^16.1.1"
|
yargs "^16.1.1"
|
||||||
|
|
||||||
"@carbon/themes@^10.26.0":
|
|
||||||
version "10.26.0"
|
|
||||||
resolved "https://registry.npmjs.org/@carbon/themes/-/themes-10.26.0.tgz#61720c0e51ebe6a1121e22d0f764b0d55cf8533d"
|
|
||||||
integrity sha512-8S/S3S9l+7lbxGpbz81eoRxOYtloFTMPBZtcOmfUE1bwX3y31hhxc+4hrTCqdS0LQQSDvGebfYxiF7bfiVRFRg==
|
|
||||||
dependencies:
|
|
||||||
"@carbon/colors" "^10.19.0"
|
|
||||||
"@carbon/layout" "^10.17.0"
|
|
||||||
"@carbon/type" "^10.20.0"
|
|
||||||
color "^3.1.2"
|
|
||||||
|
|
||||||
"@carbon/type@^10.20.0":
|
|
||||||
version "10.20.0"
|
|
||||||
resolved "https://registry.npmjs.org/@carbon/type/-/type-10.20.0.tgz#cea815adb8edceb98b4f7111d82ce6aa6ac59a96"
|
|
||||||
integrity sha512-F12I0oSR9CwFavdO357+a+2S7bGK4V3iaT5F89WNBR6RyV6jSTVq02rqWaRtmDK7Axy0dH/8Dxbq/xnLynFb6g==
|
|
||||||
dependencies:
|
|
||||||
"@carbon/import-once" "^10.5.0"
|
|
||||||
"@carbon/layout" "^10.17.0"
|
|
||||||
|
|
||||||
"@dabh/diagnostics@^2.0.2":
|
"@dabh/diagnostics@^2.0.2":
|
||||||
version "2.0.2"
|
version "2.0.2"
|
||||||
resolved "https://registry.npmjs.org/@dabh/diagnostics/-/diagnostics-2.0.2.tgz#290d08f7b381b8f94607dc8f471a12c675f9db31"
|
resolved "https://registry.npmjs.org/@dabh/diagnostics/-/diagnostics-2.0.2.tgz#290d08f7b381b8f94607dc8f471a12c675f9db31"
|
||||||
|
@ -603,7 +570,7 @@ color-name@^1.0.0, color-name@~1.1.4:
|
||||||
resolved "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz#c2a09a87acbde69543de6f63fa3995c826c536a2"
|
resolved "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz#c2a09a87acbde69543de6f63fa3995c826c536a2"
|
||||||
integrity sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==
|
integrity sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==
|
||||||
|
|
||||||
color-string@^1.5.2, color-string@^1.5.4:
|
color-string@^1.5.2:
|
||||||
version "1.5.4"
|
version "1.5.4"
|
||||||
resolved "https://registry.npmjs.org/color-string/-/color-string-1.5.4.tgz#dd51cd25cfee953d138fe4002372cc3d0e504cb6"
|
resolved "https://registry.npmjs.org/color-string/-/color-string-1.5.4.tgz#dd51cd25cfee953d138fe4002372cc3d0e504cb6"
|
||||||
integrity sha512-57yF5yt8Xa3czSEW1jfQDE79Idk0+AkN/4KWad6tbdxUmAs3MvjxlWSWD4deYytcRfoZ9nhKyFl1kj5tBvidbw==
|
integrity sha512-57yF5yt8Xa3czSEW1jfQDE79Idk0+AkN/4KWad6tbdxUmAs3MvjxlWSWD4deYytcRfoZ9nhKyFl1kj5tBvidbw==
|
||||||
|
@ -619,14 +586,6 @@ color@3.0.x:
|
||||||
color-convert "^1.9.1"
|
color-convert "^1.9.1"
|
||||||
color-string "^1.5.2"
|
color-string "^1.5.2"
|
||||||
|
|
||||||
color@^3.1.2:
|
|
||||||
version "3.1.3"
|
|
||||||
resolved "https://registry.npmjs.org/color/-/color-3.1.3.tgz#ca67fb4e7b97d611dcde39eceed422067d91596e"
|
|
||||||
integrity sha512-xgXAcTHa2HeFCGLE9Xs/R82hujGtu9Jd9x4NW3T34+OMs7VoPsjwzRczKHvTAHeJwWFwX5j15+MgAppE8ztObQ==
|
|
||||||
dependencies:
|
|
||||||
color-convert "^1.9.1"
|
|
||||||
color-string "^1.5.4"
|
|
||||||
|
|
||||||
colorette@^1.2.1:
|
colorette@^1.2.1:
|
||||||
version "1.2.1"
|
version "1.2.1"
|
||||||
resolved "https://registry.npmjs.org/colorette/-/colorette-1.2.1.tgz#4d0b921325c14faf92633086a536db6e89564b1b"
|
resolved "https://registry.npmjs.org/colorette/-/colorette-1.2.1.tgz#4d0b921325c14faf92633086a536db6e89564b1b"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue