Skip to content

Commit 638977e

Browse files
J-Sekjohnleider
authored andcommitted
fix(VTooltip, VSnackbar): increase contrast on dark theme (#21184)
1 parent e87ad43 commit 638977e

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

Diff for: packages/vuetify/src/composables/__tests__/__snapshots__/theme.spec.ts.snap

+2-2
Original file line numberDiff line numberDiff line change
@@ -131,9 +131,9 @@ exports[`createTheme > should create style element 1`] = `
131131
--v-theme-surface-bright-overlay-multiplier: 2;
132132
--v-theme-surface-light: 66,66,66;
133133
--v-theme-surface-light-overlay-multiplier: 1;
134-
--v-theme-surface-variant: 163,163,163;
134+
--v-theme-surface-variant: 200,200,200;
135135
--v-theme-surface-variant-overlay-multiplier: 2;
136-
--v-theme-on-surface-variant: 66,66,66;
136+
--v-theme-on-surface-variant: 0,0,0;
137137
--v-theme-primary: 33,150,243;
138138
--v-theme-primary-overlay-multiplier: 2;
139139
--v-theme-primary-darken-1: 39,124,193;

Diff for: packages/vuetify/src/composables/theme.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -159,8 +159,8 @@ function genDefaults () {
159159
surface: '#212121',
160160
'surface-bright': '#ccbfd6',
161161
'surface-light': '#424242',
162-
'surface-variant': '#a3a3a3',
163-
'on-surface-variant': '#424242',
162+
'surface-variant': '#c8c8c8',
163+
'on-surface-variant': '#000000',
164164
primary: '#2196F3',
165165
'primary-darken-1': '#277CC1',
166166
secondary: '#54B6B2',

0 commit comments

Comments
 (0)