diff --git a/COMPONENT_INDEX.md b/COMPONENT_INDEX.md
index bf80ff3e..48a2f4c7 100644
--- a/COMPONENT_INDEX.md
+++ b/COMPONENT_INDEX.md
@@ -304,9 +304,9 @@ None.
### Slots
-| Slot name | Default | Props | Fallback |
-| :-------- | :------ | :------------------------------------------------------------------------ | :------- |
-| -- | Yes | {props?: { ["aria-current"]?: string; class: "bx--link"; }}
| -- |
+| Slot name | Default | Props | Fallback |
+| :-------- | :------ | :------------------------------------------------------------------------- | :------- |
+| -- | Yes | {props?: { ["aria-current"]?: string; class: "cds--link"; }}
| -- |
### Events
@@ -2621,10 +2621,10 @@ None.
### Slots
-| Slot name | Default | Props | Fallback |
-| :-------- | :------ | :---- | :----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
-| -- | Yes | -- | -- |
-| menu | No | -- | <svelte:component
this="{icon}"
aria-label="{iconDescription}"
title="{iconDescription}"
class="bx--overflow-menu\_\_icon {iconClass}"
/>
|
+| Slot name | Default | Props | Fallback |
+| :-------- | :------ | :---- | :------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
+| -- | Yes | -- | -- |
+| menu | No | -- | <svelte:component
this="{icon}"
aria-label="{iconDescription}"
title="{iconDescription}"
class="cds--overflow-menu\_\_icon {iconClass}"
/>
|
### Events
@@ -2655,9 +2655,9 @@ None.
### Slots
-| Slot name | Default | Props | Fallback |
-| :-------- | :------ | :---- | :------------------------------------------------------------------------------------------------------------------ |
-| -- | Yes | -- | <div class:bx--overflow-menu-options\_\_option-content="{true}">
{text}
</div>
|
+| Slot name | Default | Props | Fallback |
+| :-------- | :------ | :---- | :------------------------------------------------------------------------------------------------------------------- |
+| -- | Yes | -- | <div class:cds--overflow-menu-options\_\_option-content="{true}">
{text}
</div>
|
### Events
@@ -2933,9 +2933,9 @@ None.
### Slots
-| Slot name | Default | Props | Fallback |
-| :-------- | :------ | :------------------------------------------------------- | :------------------------------------------------------------------------ |
-| -- | Yes | { props: { class: 'bx--progress-label' } }
| <p class:bx--progress-label="{true}">{label}</p>
|
+| Slot name | Default | Props | Fallback |
+| :-------- | :------ | :-------------------------------------------------------- | :------------------------------------------------------------------------- |
+| -- | Yes | { props: { class: 'cds--progress-label' } }
| <p class:cds--progress-label="{true}">{label}</p>
|
### Events
@@ -4022,10 +4022,10 @@ None.
### Slots
-| Slot name | Default | Props | Fallback |
-| :-------- | :------ | :----------------------------------------------------- | :---------------------------------------------------- |
-| -- | Yes | { props: { class: 'bx--tag\_\_label' } }
| -- |
-| icon | No | -- | <svelte:component this="{icon}" />
|
+| Slot name | Default | Props | Fallback |
+| :-------- | :------ | :------------------------------------------------------ | :---------------------------------------------------- |
+| -- | Yes | { props: { class: 'cds--tag\_\_label' } }
| -- |
+| icon | No | -- | <svelte:component this="{icon}" />
|
### Events
@@ -4197,7 +4197,7 @@ None.
### Types
```ts
-export type CarbonTheme = "white" | "g10" | "g80" | "g90" | "g100";
+export type CarbonTheme = "white" | "g10" | "g90" | "g100";
```
### Props
diff --git a/README.md b/README.md
index 350c0028..224fcb5c 100644
--- a/README.md
+++ b/README.md
@@ -45,11 +45,10 @@ pnpm i -D carbon-components-svelte
### Styling
-Before importing components, you will need to first apply Carbon component styles. The Carbon Design System supports five themes (2 light, 3 dark).
+Before importing components, you will need to first apply Carbon component styles. The Carbon Design System supports four themes (2 light, 2 dark).
- **white.css**: Default Carbon theme (light)
- **g10.css**: Gray 10 theme (light)
-- **g80.css**: Gray 80 theme (dark)
- **g90.css**: Gray 90 theme (dark)
- **g100.css**: Gray 100 theme (dark)
- **all.css**: All themes (White, Gray 10, Gray 90, Gray 100) using [CSS variables](https://developer.mozilla.org/en-US/docs/Web/CSS/Using_CSS_custom_properties)
@@ -60,7 +59,6 @@ The compiled CSS is generated from the following `.scss` files:
- [css/white.scss](css/white.scss)
- [css/g10.scss](css/g10.scss)
-- [css/g80.scss](css/g80.scss)
- [css/g90.scss](css/g90.scss)
- [css/g100.scss](css/g100.scss)
- [css/all.scss](css/all.scss)
@@ -74,9 +72,6 @@ import "carbon-components-svelte/css/white.css";
// Gray 10 theme
import "carbon-components-svelte/css/g10.css";
-// Gray 80 theme
-import "carbon-components-svelte/css/g80.css";
-
// Gray 90 theme
import "carbon-components-svelte/css/g90.css";
@@ -147,7 +142,7 @@ Programmatically switch between each of the five Carbon themes by setting the "t
```html
diff --git a/docs/index.html b/docs/index.html
index 967bda15..e49c0552 100644
--- a/docs/index.html
+++ b/docs/index.html
@@ -9,7 +9,7 @@
try {
const theme = localStorage.getItem("theme");
- if (["white", "g10", "g80", "g90", "g100"].includes(theme)) {
+ if (["white", "g10", "g90", "g100"].includes(theme)) {
document.documentElement.setAttribute("theme", theme);
document.documentElement.style.setProperty("color-scheme", ["white", "g10"].includes(theme) ? "light" : "dark");
}
diff --git a/docs/src/COMPONENT_API.json b/docs/src/COMPONENT_API.json
index 7d1360a1..6e25be0c 100644
--- a/docs/src/COMPONENT_API.json
+++ b/docs/src/COMPONENT_API.json
@@ -13074,9 +13074,9 @@
],
"typedefs": [
{
- "type": "\"white\" | \"g10\" | \"g80\" | \"g90\" | \"g100\"",
+ "type": "\"white\" | \"g10\" | \"g90\" | \"g100\"",
"name": "CarbonTheme",
- "ts": "type CarbonTheme = \"white\" | \"g10\" | \"g80\" | \"g90\" | \"g100\""
+ "ts": "type CarbonTheme = \"white\" | \"g10\" | \"g90\" | \"g100\""
}
]
},
diff --git a/docs/src/layouts/ComponentLayout.svelte b/docs/src/layouts/ComponentLayout.svelte
index 02801f85..3b59c25b 100644
--- a/docs/src/layouts/ComponentLayout.svelte
+++ b/docs/src/layouts/ComponentLayout.svelte
@@ -37,7 +37,7 @@
const searchParams = new URLSearchParams(window.location.search);
const current_theme = searchParams.get("theme");
- if (["white", "g10", "g80", "g90", "g100"].includes(current_theme)) {
+ if (["white", "g10", "g90", "g100"].includes(current_theme)) {
theme.set(current_theme);
}
});
@@ -87,7 +87,6 @@
>
-
diff --git a/docs/src/pages/components/Select.svx b/docs/src/pages/components/Select.svx
index bb6ad473..3ddaf656 100644
--- a/docs/src/pages/components/Select.svx
+++ b/docs/src/pages/components/Select.svx
@@ -14,7 +14,6 @@ If the `selected` prop is not set, the value of the first `SelectItem` will be u
@@ -26,7 +25,6 @@ Use the `text` prop on `SelectItem` to customize the display value.
@@ -38,7 +36,6 @@ Use the `selected` prop to specify an initial value.
@@ -51,10 +48,9 @@ The `selected` prop is reactive and supports two-way binding.
## Helper text
-