Skip to content

Commit a63924c

Browse files
authored
Muted red for transfer button in dark mode. (#8523)
1 parent cc830bd commit a63924c

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

pkg/web_css/lib/src/_base.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ button {
8080
border: none;
8181

8282
&.pub-button-danger {
83-
--mdc-theme-primary: var(--pub-color-dangerRed);
83+
--mdc-theme-primary: var(--pub-button-danger-background);
8484
}
8585

8686
&.pub-button-cancel {

pkg/web_css/lib/src/_variables.scss

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -114,6 +114,7 @@
114114
--pub-link-text-color: #1967d2;
115115
--pub-badge-default-color: var(--pub-link-text-color);
116116
--pub-badge-red-color: var(--pub-color-dangerRed);
117+
--pub-button-danger-background: var(--pub-color-dangerRed);
117118
--pub-copy_feedback-background-color: #fafaff;
118119
--pub-detail_tab-text-color: var(--pub-neutral-textColor);
119120
--pub-detail_tab-underline-color: #dddddd;
@@ -171,6 +172,7 @@
171172
--pub-link-text-color: #47b0f8;
172173
--pub-badge-default-color: var(--pub-link-text-color);
173174
--pub-badge-red-color: var(--pub-color-dangerRed);
175+
--pub-button-danger-background: #a03737;
174176
--pub-copy_feedback-background-color: #404040;
175177
--pub-detail_tab-text-color: var(--pub-neutral-textColor);
176178
--pub-detail_tab-underline-color: #888888;

0 commit comments

Comments
 (0)