Skip to content

Commit

Permalink
fix(theme): correct emphasis opacity in default dark theme (#17279)
Browse files Browse the repository at this point in the history
  • Loading branch information
douira authored May 3, 2023
1 parent 967262d commit 1f6b2b3
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -146,9 +146,9 @@ exports[`createTheme should create style element 1`] = `
--v-theme-on-warning: 255,255,255;
--v-border-color: 255, 255, 255;
--v-border-opacity: 0.12;
--v-high-emphasis-opacity: 0.87;
--v-medium-emphasis-opacity: 0.6;
--v-disabled-opacity: 0.38;
--v-high-emphasis-opacity: 1;
--v-medium-emphasis-opacity: 0.7;
--v-disabled-opacity: 0.5;
--v-idle-opacity: 0.1;
--v-hover-opacity: 0.04;
--v-focus-opacity: 0.12;
Expand Down
6 changes: 3 additions & 3 deletions packages/vuetify/src/composables/theme.ts
Original file line number Diff line number Diff line change
Expand Up @@ -163,9 +163,9 @@ const defaultThemeOptions: Exclude<ThemeOptions, false> = {
variables: {
'border-color': '#FFFFFF',
'border-opacity': 0.12,
'high-emphasis-opacity': 0.87,
'medium-emphasis-opacity': 0.60,
'disabled-opacity': 0.38,
'high-emphasis-opacity': 1,
'medium-emphasis-opacity': 0.70,
'disabled-opacity': 0.50,
'idle-opacity': 0.10,
'hover-opacity': 0.04,
'focus-opacity': 0.12,
Expand Down

0 comments on commit 1f6b2b3

Please sign in to comment.