Skip to content

Commit dc0659f

Browse files
committed
fix(picker): add color to picker-opt so the variable will style correctly
fixes #9519
1 parent ffdd8f4 commit dc0659f

File tree

4 files changed

+3
-1
lines changed

4 files changed

+3
-1
lines changed

src/components/picker/picker.ios.scss

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -127,6 +127,7 @@ $picker-ios-option-offset-y: (($picker-ios-height - $picker-io
127127

128128
font-size: $picker-ios-option-font-size;
129129
line-height: $picker-ios-option-height;
130+
color: $picker-ios-option-text-color;
130131

131132
background: transparent;
132133
transform-origin: center center;

src/components/picker/picker.md.scss

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -114,6 +114,7 @@ $picker-md-option-selected-color: color($colors-md, primary) !defaul
114114

115115
font-size: $picker-md-option-font-size;
116116
line-height: $picker-md-option-height;
117+
color: $picker-md-option-text-color;
117118

118119
background: transparent;
119120

src/components/picker/picker.scss

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,6 @@ ion-picker-cmp {
123123
text-align: center;
124124
text-overflow: ellipsis;
125125
white-space: nowrap;
126-
color: #000;
127126

128127
will-change: transform;
129128
contain: strict;

src/components/picker/picker.wp.scss

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -127,6 +127,7 @@ $picker-wp-option-selected-color: color($colors-wp, primary) !defaul
127127

128128
font-size: $picker-wp-option-font-size;
129129
line-height: $picker-wp-option-height;
130+
color: $picker-wp-option-text-color;
130131

131132
background: transparent;
132133

0 commit comments

Comments
 (0)