Skip to content

Commit

Permalink
fix(button): fixed button text color active/disabled on Safari and iOs (
Browse files Browse the repository at this point in the history
  • Loading branch information
AleksandrBerezin3 committed Jul 27, 2021
1 parent d61d31e commit 010e5f2
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
6 changes: 3 additions & 3 deletions src/button/button_theme_alfa-dark.css
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
background: var(--color-dark-bg-secondary-inverted);

.button__text {
color: var(--color-dark-text-tertiary-inverted-transparent);
opacity: 0.2;
}
}
}
Expand Down Expand Up @@ -62,7 +62,7 @@
background: var(--color-dark-bg-secondary-inverted);

.button__text {
color: var(--color-dark-text-tertiary-inverted-transparent);
opacity: 0.2;
}
}
}
Expand All @@ -77,7 +77,7 @@
background: var(--color-dark-bg-secondary);

.button__text {
color: var(--color-dark-text-disabled-transparent);
opacity: 0.2;
}
}
}
6 changes: 3 additions & 3 deletions src/button/button_theme_alfa-light.css
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
background: var(--color-light-bg-secondary-inverted);

.button__text {
color: var(--color-light-text-tertiary-inverted-transparent);
opacity: 0.2;
}
}
}
Expand Down Expand Up @@ -62,7 +62,7 @@
background: var(--color-light-bg-secondary-inverted);

.button__text {
color: var(--color-light-text-tertiary-inverted-transparent);
opacity: 0.2;
}
}
}
Expand All @@ -77,7 +77,7 @@
background: var(--color-light-bg-secondary);

.button__text {
color: var(--color-light-text-disabled-transparent);
opacity: 0.2;
}
}
}
2 changes: 1 addition & 1 deletion src/button/button_theme_alfa-on-color.css
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@
border-color: transparent;

.button__text {
color: var(--color-content-disabled-alfa-on-color);
opacity: 0.4;
}
}
}

0 comments on commit 010e5f2

Please sign in to comment.