mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-18 11:36:36 +00:00
chore: add individual theme css
This commit is contained in:
parent
fc0d37cf33
commit
21847da207
6 changed files with 93 additions and 0 deletions
9
css/g10.css
Normal file
9
css/g10.css
Normal file
File diff suppressed because one or more lines are too long
22
css/g10.scss
Normal file
22
css/g10.scss
Normal file
|
@ -0,0 +1,22 @@
|
|||
// Use g10 theme
|
||||
@use '@carbon/styles/scss/config' with (
|
||||
$use-akamai-cdn: true
|
||||
);
|
||||
@use "@carbon/styles/scss/theme" as *;
|
||||
@use "@carbon/styles/scss/themes" as *;
|
||||
@use "@carbon/styles/scss/fonts";
|
||||
@use "@carbon/styles/scss/utilities" as *;
|
||||
|
||||
:root {
|
||||
@include theme($g10);
|
||||
}
|
||||
|
||||
@import "@carbon/styles/scss/reset";
|
||||
@import "@carbon/styles/scss/components";
|
||||
|
||||
.cds--text-truncate-end {
|
||||
@include text-truncate-end;
|
||||
}
|
||||
.cds--text-truncate-front {
|
||||
@include text-truncate-front;
|
||||
}
|
9
css/g100.css
Normal file
9
css/g100.css
Normal file
File diff suppressed because one or more lines are too long
22
css/g100.scss
Normal file
22
css/g100.scss
Normal file
|
@ -0,0 +1,22 @@
|
|||
// Use g10 theme
|
||||
@use '@carbon/styles/scss/config' with (
|
||||
$use-akamai-cdn: true
|
||||
);
|
||||
@use "@carbon/styles/scss/theme" as *;
|
||||
@use "@carbon/styles/scss/themes" as *;
|
||||
@use "@carbon/styles/scss/fonts";
|
||||
@use "@carbon/styles/scss/utilities" as *;
|
||||
|
||||
:root {
|
||||
@include theme($g100);
|
||||
}
|
||||
|
||||
@import "@carbon/styles/scss/reset";
|
||||
@import "@carbon/styles/scss/components";
|
||||
|
||||
.cds--text-truncate-end {
|
||||
@include text-truncate-end;
|
||||
}
|
||||
.cds--text-truncate-front {
|
||||
@include text-truncate-front;
|
||||
}
|
9
css/g90.css
Normal file
9
css/g90.css
Normal file
File diff suppressed because one or more lines are too long
22
css/g90.scss
Normal file
22
css/g90.scss
Normal file
|
@ -0,0 +1,22 @@
|
|||
// Use g10 theme
|
||||
@use '@carbon/styles/scss/config' with (
|
||||
$use-akamai-cdn: true
|
||||
);
|
||||
@use "@carbon/styles/scss/theme" as *;
|
||||
@use "@carbon/styles/scss/themes" as *;
|
||||
@use "@carbon/styles/scss/fonts";
|
||||
@use "@carbon/styles/scss/utilities" as *;
|
||||
|
||||
:root {
|
||||
@include theme($g90);
|
||||
}
|
||||
|
||||
@import "@carbon/styles/scss/reset";
|
||||
@import "@carbon/styles/scss/components";
|
||||
|
||||
.cds--text-truncate-end {
|
||||
@include text-truncate-end;
|
||||
}
|
||||
.cds--text-truncate-front {
|
||||
@include text-truncate-front;
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue