Skip to content

Commit

Permalink
adjust text color for warning and danger buttons too
Browse files Browse the repository at this point in the history
  • Loading branch information
brc-dd committed Oct 5, 2024
1 parent ecb38f7 commit 4a02be3
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
8 changes: 4 additions & 4 deletions docs/components/button.md
Original file line number Diff line number Diff line change
Expand Up @@ -529,8 +529,8 @@ The component has several different styles based on its type and color combinati
--button-fill-warning-active-text-color: var(--c-white);
--button-fill-warning-active-bg-color: var(--c-bg-warning-2);
--button-fill-warning-disabled-border-color: var(--c-border-mute-1);
--button-fill-warning-disabled-text-color: var(--c-text-warning-3);
--button-fill-warning-disabled-content-color: var(--c-text-warning-3);
--button-fill-warning-disabled-text-color: var(--c-text-warning-2);
--button-fill-warning-disabled-content-color: var(--c-text-warning-2);
--button-fill-warning-disabled-bg-color: var(--c-bg-mute-1);

--button-fill-danger-border-color: var(--c-border-mute-1);
Expand All @@ -545,8 +545,8 @@ The component has several different styles based on its type and color combinati
--button-fill-danger-active-text-color: var(--c-white);
--button-fill-danger-active-bg-color: var(--c-bg-danger-2);
--button-fill-danger-disabled-border-color: var(--c-border-mute-1);
--button-fill-danger-disabled-text-color: var(--c-text-danger-3);
--button-fill-danger-disabled-content-color: var(--c-text-danger-3);
--button-fill-danger-disabled-text-color: var(--c-text-danger-2);
--button-fill-danger-disabled-content-color: var(--c-text-danger-2);
--button-fill-danger-disabled-bg-color: var(--c-bg-mute-1);

--button-outline-default-border-color: var(--c-border-mute-1);
Expand Down
8 changes: 4 additions & 4 deletions lib/styles/variables.css
Original file line number Diff line number Diff line change
Expand Up @@ -540,8 +540,8 @@
--button-fill-warning-active-text-color: var(--c-white);
--button-fill-warning-active-bg-color: var(--c-bg-warning-2);
--button-fill-warning-disabled-border-color: var(--c-border-mute-1);
--button-fill-warning-disabled-text-color: var(--c-text-warning-3);
--button-fill-warning-disabled-content-color: var(--c-text-warning-3);
--button-fill-warning-disabled-text-color: var(--c-text-warning-2);
--button-fill-warning-disabled-content-color: var(--c-text-warning-2);
--button-fill-warning-disabled-bg-color: var(--c-bg-mute-1);

--button-fill-danger-border-color: var(--c-border-mute-1);
Expand All @@ -556,8 +556,8 @@
--button-fill-danger-active-text-color: var(--c-white);
--button-fill-danger-active-bg-color: var(--c-bg-danger-2);
--button-fill-danger-disabled-border-color: var(--c-border-mute-1);
--button-fill-danger-disabled-text-color: var(--c-text-danger-3);
--button-fill-danger-disabled-content-color: var(--c-text-danger-3);
--button-fill-danger-disabled-text-color: var(--c-text-danger-2);
--button-fill-danger-disabled-content-color: var(--c-text-danger-2);
--button-fill-danger-disabled-bg-color: var(--c-bg-mute-1);

--button-outline-default-border-color: var(--c-border-mute-1);
Expand Down

0 comments on commit 4a02be3

Please sign in to comment.