Skip to content

Commit

Permalink
fix(VLabel): apply color sass variable
Browse files Browse the repository at this point in the history
fixes #17302
  • Loading branch information
johnleider committed Aug 31, 2023
1 parent c07e0d3 commit b549043
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions packages/vuetify/src/components/VLabel/VLabel.sass
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@

.v-label
align-items: center
color: $label-color
display: $label-display
font-size: $label-font-size
letter-spacing: $label-letter-spacing
Expand Down
2 changes: 1 addition & 1 deletion packages/vuetify/src/components/VLabel/_variables.scss
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
@use '../../styles/settings';

// VLabel
$label-color: rgba(var(--v-theme-on-surface), var(--v-medium-emphasis-opacity)) !default;
$label-color: inherit !default;
$label-disabled-color: rgba(var(--v-theme-on-surface), var(--v-disabled-opacity)) !default;
$label-display: inline-flex !default;
$label-error-color: rgb(var(--v-theme-error)) !default;
Expand Down

0 comments on commit b549043

Please sign in to comment.