Skip to content

Commit 87a381e

Browse files
authored
fix: text color contrast of payment methods w/ dark bg (#11124)
1 parent c9b165a commit 87a381e

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
Significance: patch
2+
Type: fix
3+
4+
fix: text color of payment method icons on checkout page when a dark background is used

client/checkout/blocks/payment-methods-logos/style.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
width: 38px;
2222
height: 24px;
2323
background-color: rgba( $gray-700, 0.1 );
24-
color: $gray-900;
24+
color: var( --wp--preset--color--contrast, $gray-900 );
2525
text-align: center;
2626
line-height: 24px;
2727
border-radius: 3px;

0 commit comments

Comments
 (0)