Skip to content

Commit 16added

Browse files
committed
fix(MdField): theme icons
1 parent 38245ae commit 16added

File tree

2 files changed

+6
-9
lines changed

2 files changed

+6
-9
lines changed

src/components/MdField/MdField.vue

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -238,7 +238,6 @@
238238
margin: 4px auto;
239239
position: relative;
240240
z-index: 3;
241-
color: rgba(#000, .54);
242241
transition: $md-transition-stand;
243242
244243
&:last-of-type:not(:first-child):after {
@@ -379,13 +378,6 @@
379378
}
380379
}
381380
382-
&.md-has-value {
383-
.md-input,
384-
.md-textarea {
385-
color: rgba(#000, .87);
386-
}
387-
}
388-
389381
&.md-inline {
390382
label {
391383
pointer-events: none;
@@ -471,7 +463,7 @@
471463
472464
&.md-has-select:hover {
473465
.md-select:not(.md-disabled):after {
474-
color: rgba(#000, .87);
466+
475467
}
476468
}
477469
}

src/components/MdField/theme.scss

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -136,6 +136,11 @@
136136
@include md-theme-property(color, primary);
137137
}
138138

139+
> .md-icon {
140+
@include md-theme-property(color, primary);
141+
@include md-theme-property(fill, primary);
142+
}
143+
139144
&.md-has-textarea:not(.md-autogrow) {
140145
&:before {
141146
@include md-theme-property(border-color, primary);

0 commit comments

Comments
 (0)