From 5efeafd8af577455b70a00e5c507da0fc9d89240 Mon Sep 17 00:00:00 2001 From: Josh Winn <965114+jawinn@users.noreply.github.com> Date: Thu, 21 Mar 2024 15:56:16 -0400 Subject: [PATCH] docs(button): use static background colors from design Use the example background color tokens for the static white and black variants, that are used on the s2 design spec. Note; the seafoam-1000 and seafoam-200 token names couldn't be used here as we don't want them to change between light and dark themes. --- .../button/metadata/button-staticcolor.yml | 24 +++++++++---------- components/button/stories/button.stories.js | 6 ++--- 2 files changed, 15 insertions(+), 15 deletions(-) diff --git a/components/button/metadata/button-staticcolor.yml b/components/button/metadata/button-staticcolor.yml index 0c0e51cc35b..0ad274bb08b 100644 --- a/components/button/metadata/button-staticcolor.yml +++ b/components/button/metadata/button-staticcolor.yml @@ -54,7 +54,7 @@ examples: - id: button-staticcolor name: Static White markup: | -
+

S

@@ -144,7 +144,7 @@ examples: - id: button-staticcolor name: Static White - Disabled markup: | -
+
@@ -166,7 +166,7 @@ examples: - id: button-staticcolor name: Static White - Secondary markup: | -
+
@@ -188,7 +188,7 @@ examples: - id: button-staticcolor name: Static Black markup: | -
+

S

@@ -278,7 +278,7 @@ examples: - id: button-staticcolor name: Static Black - Disabled markup: | -
+
@@ -300,7 +300,7 @@ examples: - id: button-staticcolor name: Static Black - Secondary markup: | -
+
@@ -322,7 +322,7 @@ examples: - id: button-staticcolor name: Static White - Outline markup: | -
+

S

@@ -412,7 +412,7 @@ examples: - id: button-staticcolor name: Static White - Outline, Disabled markup: | -
+
@@ -434,7 +434,7 @@ examples: - id: button-staticcolor name: Static White - Outline, Secondary markup: | -
+
@@ -456,7 +456,7 @@ examples: - id: button-staticcolor name: Static Black - Outline markup: | -
+

S

@@ -546,7 +546,7 @@ examples: - id: button-staticcolor name: Static Black - Outline, Disabled markup: | -
+
@@ -568,7 +568,7 @@ examples: - id: button-staticcolor name: Static Black - Outline, Secondary markup: | -
+
diff --git a/components/button/stories/button.stories.js b/components/button/stories/button.stories.js index 7e0b7cc859d..7eab4e473e1 100644 --- a/components/button/stories/button.stories.js +++ b/components/button/stories/button.stories.js @@ -167,7 +167,7 @@ const CustomButton = ({
@@ -260,7 +260,7 @@ const PendingButton = ({
@@ -280,7 +280,7 @@ const PendingButton = ({