Skip to content

Commit

Permalink
Merge pull request #4688 from shivam-daksh/shivam-rem-hardcolors
Browse files Browse the repository at this point in the history
[DO NOT MERGE UNTIL KDS v5.0.0-rc3 INSTALLED] Remove hard-coded vuetify color on hover using $darken_ utitlity
  • Loading branch information
MisRob authored Dec 16, 2024
2 parents a81876e + 1853f88 commit 90d29df
Showing 1 changed file with 2 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -102,10 +102,7 @@
backgroundColor: $themeTokens.error,
color: $themeTokens.textInverted,
':hover': {
// Vuetify generates this based on theme colors, but oddly it doesn't make it
// available in the theme tokens
// TODO: Replace with KDS lighten/darken utilities
backgroundColor: 'var(--v-error-darken1)',
backgroundColor: $darken1($themeTokens.error),
},
}"
@click="showDeleteConfirmation = true"
Expand Down Expand Up @@ -233,4 +230,4 @@
.row {
padding: 8px 0;
}
</style>
</style>

0 comments on commit 90d29df

Please sign in to comment.