mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-18 11:36:36 +00:00
chore: set up all component styles, fonts, and themes
- Adapt documentation to new styles
This commit is contained in:
parent
23d4bdec4e
commit
fc0d37cf33
58 changed files with 335 additions and 295 deletions
9
css/all.css
Normal file
9
css/all.css
Normal file
File diff suppressed because one or more lines are too long
34
css/all.scss
Normal file
34
css/all.scss
Normal file
|
@ -0,0 +1,34 @@
|
|||
// Use all Carbon themes
|
||||
@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($white);
|
||||
}
|
||||
|
||||
[data-carbon-theme='g10'] {
|
||||
@include theme($g10);
|
||||
}
|
||||
|
||||
[data-carbon-theme='g90'] {
|
||||
@include theme($g90);
|
||||
}
|
||||
|
||||
[data-carbon-theme='g100'] {
|
||||
@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;
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue