mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-15 10:21:05 +00:00
fix: regenerate css
- Using all component tokens and styles that were previously-missing
This commit is contained in:
parent
962d37d22e
commit
50f24b882a
8 changed files with 23 additions and 46 deletions
File diff suppressed because one or more lines are too long
15
css/all.scss
15
css/all.scss
|
@ -3,30 +3,25 @@
|
||||||
$use-akamai-cdn: true,
|
$use-akamai-cdn: true,
|
||||||
$prefix: 'bx'
|
$prefix: 'bx'
|
||||||
);
|
);
|
||||||
@use "@carbon/styles/scss/theme" as *;
|
@use "@carbon/styles" as styles;
|
||||||
@use "@carbon/styles/scss/themes" as *;
|
|
||||||
@use "@carbon/styles/scss/fonts";
|
|
||||||
@use "@carbon/styles/scss/utilities" as *;
|
@use "@carbon/styles/scss/utilities" as *;
|
||||||
|
|
||||||
:root {
|
:root {
|
||||||
@include theme($white);
|
@include styles.theme(styles.$white);
|
||||||
}
|
}
|
||||||
|
|
||||||
[data-carbon-theme='g10'] {
|
[data-carbon-theme='g10'] {
|
||||||
@include theme($g10);
|
@include styles.theme(styles.$g10);
|
||||||
}
|
}
|
||||||
|
|
||||||
[data-carbon-theme='g90'] {
|
[data-carbon-theme='g90'] {
|
||||||
@include theme($g90);
|
@include styles.theme(styles.$g90);
|
||||||
}
|
}
|
||||||
|
|
||||||
[data-carbon-theme='g100'] {
|
[data-carbon-theme='g100'] {
|
||||||
@include theme($g100);
|
@include styles.theme(styles.$g100);
|
||||||
}
|
}
|
||||||
|
|
||||||
@import "@carbon/styles/scss/reset";
|
|
||||||
@import "@carbon/styles/scss/components";
|
|
||||||
|
|
||||||
.bx--text-truncate-end {
|
.bx--text-truncate-end {
|
||||||
@include text-truncate-end;
|
@include text-truncate-end;
|
||||||
}
|
}
|
||||||
|
|
File diff suppressed because one or more lines are too long
10
css/g10.scss
10
css/g10.scss
|
@ -1,20 +1,14 @@
|
||||||
// Use g10 theme
|
|
||||||
@use '@carbon/styles/scss/config' with (
|
@use '@carbon/styles/scss/config' with (
|
||||||
$use-akamai-cdn: true,
|
$use-akamai-cdn: true,
|
||||||
$prefix: 'bx'
|
$prefix: 'bx'
|
||||||
);
|
);
|
||||||
@use "@carbon/styles/scss/theme" as *;
|
@use "@carbon/styles" as styles;
|
||||||
@use "@carbon/styles/scss/themes" as *;
|
|
||||||
@use "@carbon/styles/scss/fonts";
|
|
||||||
@use "@carbon/styles/scss/utilities" as *;
|
@use "@carbon/styles/scss/utilities" as *;
|
||||||
|
|
||||||
:root {
|
:root {
|
||||||
@include theme($g10);
|
@include styles.theme(styles.$g10);
|
||||||
}
|
}
|
||||||
|
|
||||||
@import "@carbon/styles/scss/reset";
|
|
||||||
@import "@carbon/styles/scss/components";
|
|
||||||
|
|
||||||
.bx--text-truncate-end {
|
.bx--text-truncate-end {
|
||||||
@include text-truncate-end;
|
@include text-truncate-end;
|
||||||
}
|
}
|
||||||
|
|
File diff suppressed because one or more lines are too long
|
@ -1,20 +1,14 @@
|
||||||
// Use g10 theme
|
|
||||||
@use '@carbon/styles/scss/config' with (
|
@use '@carbon/styles/scss/config' with (
|
||||||
$use-akamai-cdn: true,
|
$use-akamai-cdn: true,
|
||||||
$prefix: 'bx'
|
$prefix: 'bx'
|
||||||
);
|
);
|
||||||
@use "@carbon/styles/scss/theme" as *;
|
@use "@carbon/styles" as styles;
|
||||||
@use "@carbon/styles/scss/themes" as *;
|
|
||||||
@use "@carbon/styles/scss/fonts";
|
|
||||||
@use "@carbon/styles/scss/utilities" as *;
|
@use "@carbon/styles/scss/utilities" as *;
|
||||||
|
|
||||||
:root {
|
:root {
|
||||||
@include theme($g100);
|
@include styles.theme(styles.$g100);
|
||||||
}
|
}
|
||||||
|
|
||||||
@import "@carbon/styles/scss/reset";
|
|
||||||
@import "@carbon/styles/scss/components";
|
|
||||||
|
|
||||||
.bx--text-truncate-end {
|
.bx--text-truncate-end {
|
||||||
@include text-truncate-end;
|
@include text-truncate-end;
|
||||||
}
|
}
|
||||||
|
|
File diff suppressed because one or more lines are too long
10
css/g90.scss
10
css/g90.scss
|
@ -1,20 +1,14 @@
|
||||||
// Use g10 theme
|
|
||||||
@use '@carbon/styles/scss/config' with (
|
@use '@carbon/styles/scss/config' with (
|
||||||
$use-akamai-cdn: true,
|
$use-akamai-cdn: true,
|
||||||
$prefix: 'bx'
|
$prefix: 'bx'
|
||||||
);
|
);
|
||||||
@use "@carbon/styles/scss/theme" as *;
|
@use "@carbon/styles" as styles;
|
||||||
@use "@carbon/styles/scss/themes" as *;
|
|
||||||
@use "@carbon/styles/scss/fonts";
|
|
||||||
@use "@carbon/styles/scss/utilities" as *;
|
@use "@carbon/styles/scss/utilities" as *;
|
||||||
|
|
||||||
:root {
|
:root {
|
||||||
@include theme($g90);
|
@include styles.theme(styles.$g90);
|
||||||
}
|
}
|
||||||
|
|
||||||
@import "@carbon/styles/scss/reset";
|
|
||||||
@import "@carbon/styles/scss/components";
|
|
||||||
|
|
||||||
.bx--text-truncate-end {
|
.bx--text-truncate-end {
|
||||||
@include text-truncate-end;
|
@include text-truncate-end;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue