File tree Expand file tree Collapse file tree 2 files changed +4
-3
lines changed
Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -177,7 +177,7 @@ const wrappedCameras = computed<SelectItem[]>(() =>
177177 <v-btn
178178 block
179179 size =" small"
180- color =" primary "
180+ color =" buttonActive "
181181 :disabled =" !settingsHaveChanged()"
182182 :variant =" theme.global.name.value === 'LightTheme' ? 'elevated' : 'outlined'"
183183 @click =" saveCameraSettings"
Original file line number Diff line number Diff line change @@ -52,11 +52,12 @@ export const restoreThemeConfig = (theme: ThemeInstance) => {
5252 : ( customSurface ?? defaultTheme . colors ! . sidebar ! ) ;
5353
5454 theme . themes . value [ theme . global . name . value ] . colors . primary = customPrimary ?? defaultTheme . colors ! . primary ! ;
55- theme . themes . value [ theme . global . name . value ] . colors . buttonActive = customPrimary ?? defaultTheme . colors ! . buttonActive ! ;
55+ theme . themes . value [ theme . global . name . value ] . colors . buttonActive =
56+ ( themeType === "light" ? customPrimary : customSecondary ) ?? defaultTheme . colors ! . buttonActive ! ;
5657
5758 theme . themes . value [ theme . global . name . value ] . colors . secondary = customSecondary ?? defaultTheme . colors ! . secondary ! ;
5859 theme . themes . value [ theme . global . name . value ] . colors . buttonPassive =
59- customSecondary ?? defaultTheme . colors ! . buttonPassive ! ;
60+ ( themeType === "light" ? customSecondary : customPrimary ) ?? defaultTheme . colors ! . buttonPassive ! ;
6061
6162 theme . themes . value [ theme . global . name . value ] . colors . accent = customSecondary ?? defaultTheme . colors ! . accent ! ;
6263 theme . themes . value [ theme . global . name . value ] . colors . toggle = customSecondary ?? defaultTheme . colors ! . toggle ! ;
You can’t perform that action at this time.
0 commit comments