diff --git a/docs/assets/plugins/code-block/code-block.css b/docs/assets/plugins/code-block/code-block.css index 42532e3b1..0cfa59a0b 100644 --- a/docs/assets/plugins/code-block/code-block.css +++ b/docs/assets/plugins/code-block/code-block.css @@ -1,21 +1,21 @@ .code-block { position: relative; border-radius: 3px; - background-color: rgb(var(--sl-color-gray-50)); + background-color: rgb(var(--sl-color-neutral-50)); margin-bottom: 1.5rem; } .sl-theme-dark .code-block { - background-color: rgb(var(--sl-color-gray-200)); + background-color: rgb(var(--sl-color-neutral-200)); } .code-block__preview { position: relative; - border: solid 1px rgb(var(--sl-color-gray-200)); + border: solid 1px rgb(var(--sl-color-neutral-200)); border-bottom: none; border-top-left-radius: 3px; border-top-right-radius: 3px; - background-color: rgb(var(--sl-color-empty)); + background-color: rgb(var(--sl-color-1000)); min-width: 20rem; max-width: 100%; padding: 1.5rem 3.25rem 1.5rem 1.5rem; @@ -43,9 +43,9 @@ bottom: 0; width: 1.75rem; font-size: 20px; - color: rgb(var(--sl-color-gray-500)); - background-color: rgb(var(--sl-color-empty)); - border-left: solid 1px rgb(var(--sl-color-gray-200)); + color: rgb(var(--sl-color-neutral-500)); + background-color: rgb(var(--sl-color-1000)); + border-left: solid 1px rgb(var(--sl-color-neutral-200)); border-top-right-radius: 3px; cursor: ew-resize; transition: 250ms background-color; @@ -71,7 +71,7 @@ } .code-block__source { - border: solid 1px rgb(var(--sl-color-gray-200)); + border: solid 1px rgb(var(--sl-color-neutral-200)); border-bottom: none; border-radius: 0 !important; margin: 0; @@ -94,13 +94,13 @@ justify-content: center; width: 100%; height: 2.5rem; - border: solid 1px rgb(var(--sl-color-gray-200)); + border: solid 1px rgb(var(--sl-color-neutral-200)); border-bottom-left-radius: 3px; border-bottom-right-radius: 3px; - background: rgb(var(--sl-color-empty)); + background: rgb(var(--sl-color-1000)); font: inherit; font-size: 0.875rem; - color: rgb(var(--sl-color-gray-600)); + color: rgb(var(--sl-color-neutral-600)); cursor: pointer; transition: 250ms background-color; -webkit-appearance: none; diff --git a/docs/assets/plugins/metadata/metadata.js b/docs/assets/plugins/metadata/metadata.js index b03cc44d0..852d510e5 100644 --- a/docs/assets/plugins/metadata/metadata.js +++ b/docs/assets/plugins/metadata/metadata.js @@ -315,10 +315,10 @@ return next(content); } - let badgeType = 'info'; + let badgeType = 'neutral'; if (component.status === 'stable') badgeType = 'primary'; if (component.status === 'experimental') badgeType = 'warning'; - if (component.status === 'planned') badgeType = 'info'; + if (component.status === 'planned') badgeType = 'neutral'; if (component.status === 'deprecated') badgeType = 'danger'; result += ` @@ -328,7 +328,7 @@