Skip to content

Commit

Permalink
fix(selection-controls): don't override icon color in label if disabled
Browse files Browse the repository at this point in the history
fixes #14050
fixes #14081
  • Loading branch information
KaelWD committed Oct 11, 2021
1 parent eac12d8 commit 674fd5d
Showing 1 changed file with 4 additions and 7 deletions.
11 changes: 4 additions & 7 deletions packages/vuetify/src/styles/components/_selection-controls.sass
Original file line number Diff line number Diff line change
@@ -1,12 +1,5 @@
@import '../styles.sass'

// Theme
+theme(v-input--selection-controls) using ($material)
&.v-input--is-disabled:not(.v-input--indeterminate)
.v-icon
// needed for helper override
color: map-deep-get($material, 'selection-controls', 'disabled') !important

.v-input--selection-controls
margin-top: $input-top-spacing
padding-top: 4px
Expand Down Expand Up @@ -112,6 +105,10 @@
background: currentColor
transform: scale(1.2)

&.v-input--is-disabled:not(.v-input--indeterminate)
.v-icon
color: inherit

.v-input--selection-controls__input:hover
.v-input--selection-controls__ripple:before
background: currentColor
Expand Down

0 comments on commit 674fd5d

Please sign in to comment.