diff --git a/.changeset/dry-jokes-carry.md b/.changeset/dry-jokes-carry.md index 509c7a77286..c41d4294376 100644 --- a/.changeset/dry-jokes-carry.md +++ b/.changeset/dry-jokes-carry.md @@ -49,7 +49,7 @@ Added decorative and informative info, error, warning and success foreground tok ```diff + --salt-palette-info-foreground-decorative: var(--salt-color-blue-100); + --salt-palette-info-foreground-informative: var(--salt-color-blue-200); -+ --salt-palette-error-foreground-decorative: var(--salt-color-red-500); ++ --salt-palette-error-foreground-decorative: var(--salt-color-red-400); + --salt-palette-error-foreground-informative: var(--salt-color-red-200); + --salt-palette-warning-foreground-decorative: var(--salt-color-orange-500); + --salt-palette-warning-foreground-informative: var(--salt-color-orange-400); @@ -57,6 +57,15 @@ Added decorative and informative info, error, warning and success foreground tok + --salt-palette-success-foreground-informative: var(--salt-color-green-200); ``` +Updated info and error border tokens. + +```diff +- --salt-palette-info-border: var(--salt-color-blue-500); ++ --salt-palette-info-border: var(--salt-color-blue-400); +- --salt-palette-error-border: var(--salt-color-red-500); ++ --salt-palette-error-border: var(--salt-color-red-400); +``` + Deprecated status foreground tokens. | Name | Replacement | diff --git a/packages/lab/src/contact-details/ContactPrimaryInfo.tsx b/packages/lab/src/contact-details/ContactPrimaryInfo.tsx index 698c743b74c..5bf0be0bab3 100644 --- a/packages/lab/src/contact-details/ContactPrimaryInfo.tsx +++ b/packages/lab/src/contact-details/ContactPrimaryInfo.tsx @@ -6,7 +6,7 @@ import { useContactDetailsContext } from "./internal"; const withBaseName = makePrefixer("saltContactPrimaryInfo"); export interface ContactPrimaryInfoProps - extends Omit, "color"> { + extends Omit, "color"> { text: string; } diff --git a/packages/theme/css/palette/error.css b/packages/theme/css/palette/error.css index 38112557081..521bf507051 100644 --- a/packages/theme/css/palette/error.css +++ b/packages/theme/css/palette/error.css @@ -9,7 +9,7 @@ .salt-theme[data-mode="dark"] { --salt-palette-error-background: var(--salt-color-red-900); --salt-palette-error-background-selected: var(--salt-color-red-900); - --salt-palette-error-border: var(--salt-color-red-500); + --salt-palette-error-border: var(--salt-color-red-400); --salt-palette-error-foreground-decorative: var(--salt-color-red-400); --salt-palette-error-foreground-informative: var(--salt-color-red-200); } diff --git a/packages/theme/css/palette/info.css b/packages/theme/css/palette/info.css index bc8b2cad442..1b0d87e547b 100644 --- a/packages/theme/css/palette/info.css +++ b/packages/theme/css/palette/info.css @@ -7,7 +7,7 @@ .salt-theme[data-mode="dark"] { --salt-palette-info-background: var(--salt-color-blue-900); - --salt-palette-info-border: var(--salt-color-blue-500); + --salt-palette-info-border: var(--salt-color-blue-400); --salt-palette-info-foreground-decorative: var(--salt-color-blue-400); --salt-palette-info-foreground-informative: var(--salt-color-blue-200); }