From df9064c284f06d331d57a75998178853d3707546 Mon Sep 17 00:00:00 2001 From: Johann150 Date: Fri, 23 Dec 2022 02:02:20 +0100 Subject: [PATCH] client: remove driveFolderBg theme color Changelog: Removed --- packages/client/src/components/drive.folder.vue | 1 - packages/client/src/components/drive.vue | 2 -- packages/client/src/themes/_dark.json5 | 1 - packages/client/src/themes/_light.json5 | 1 - packages/client/src/themes/d-astro.json5 | 1 - packages/client/src/themes/d-pumpkin.json5 | 1 - packages/client/src/themes/l-vivid.json5 | 1 - 7 files changed, 8 deletions(-) diff --git a/packages/client/src/components/drive.folder.vue b/packages/client/src/components/drive.folder.vue index 028dc7f2b..1584b15c0 100644 --- a/packages/client/src/components/drive.folder.vue +++ b/packages/client/src/components/drive.folder.vue @@ -261,7 +261,6 @@ function onContextmenu(ev: MouseEvent) { position: relative; padding: 8px; height: 64px; - background: var(--driveFolderBg); border-radius: 4px; &, * { diff --git a/packages/client/src/components/drive.vue b/packages/client/src/components/drive.vue index e4611a2f8..1ca4f8c57 100644 --- a/packages/client/src/components/drive.vue +++ b/packages/client/src/components/drive.vue @@ -52,7 +52,6 @@ :key="f.id" v-anim="i" :file="f" - :select-mode="select === 'file'" :is-selected="selectedFiles.some(x => x.id === f.id)" @chosen="chooseFile" @dragstart="isDragSource = true" @@ -63,7 +62,6 @@ :key="f.id" v-anim="i" :folder="f" - :select-mode="select === 'folder'" :is-selected="selectedFolders.some(x => x.id === f.id)" @chosen="chooseFolder" @move="move" diff --git a/packages/client/src/themes/_dark.json5 b/packages/client/src/themes/_dark.json5 index cda66a508..a4c51819b 100644 --- a/packages/client/src/themes/_dark.json5 +++ b/packages/client/src/themes/_dark.json5 @@ -64,7 +64,6 @@ inputBorder: 'rgba(255, 255, 255, 0.1)', inputBorderHover: 'rgba(255, 255, 255, 0.2)', listItemHoverBg: 'rgba(255, 255, 255, 0.03)', - driveFolderBg: ':alpha<0.3<@accent', wallpaperOverlay: 'rgba(0, 0, 0, 0.5)', badge: '#31b1ce', messageBg: '@bg', diff --git a/packages/client/src/themes/_light.json5 b/packages/client/src/themes/_light.json5 index 50c5388e0..1aae2b8cf 100644 --- a/packages/client/src/themes/_light.json5 +++ b/packages/client/src/themes/_light.json5 @@ -64,7 +64,6 @@ inputBorder: 'rgba(0, 0, 0, 0.1)', inputBorderHover: 'rgba(0, 0, 0, 0.2)', listItemHoverBg: 'rgba(0, 0, 0, 0.03)', - driveFolderBg: ':alpha<0.3<@accent', wallpaperOverlay: 'rgba(255, 255, 255, 0.5)', badge: '#31b1ce', messageBg: '@bg', diff --git a/packages/client/src/themes/d-astro.json5 b/packages/client/src/themes/d-astro.json5 index 7b9034020..873636981 100644 --- a/packages/client/src/themes/d-astro.json5 +++ b/packages/client/src/themes/d-astro.json5 @@ -46,7 +46,6 @@ buttonHoverBg: 'rgba(255, 255, 255, 0.1)', buttonGradateA: '@accent', buttonGradateB: ':hue<-20<@accent', - driveFolderBg: ':alpha<0.3<@accent', fgHighlighted: ':lighten<3<@fg', panelHeaderBg: ':lighten<3<@panel', panelHeaderFg: '@fg', diff --git a/packages/client/src/themes/d-pumpkin.json5 b/packages/client/src/themes/d-pumpkin.json5 index ff2bc9509..e466eb688 100644 --- a/packages/client/src/themes/d-pumpkin.json5 +++ b/packages/client/src/themes/d-pumpkin.json5 @@ -66,7 +66,6 @@ navIndicator: '@indicator', accentLighten: ':lighten<10<@accent', buttonHoverBg: 'rgba(255, 255, 255, 0.1)', - driveFolderBg: ':alpha<0.3<@accent', fgHighlighted: ':lighten<3<@fg', fgTransparent: ':alpha<0.5<@fg', panelHeaderBg: ':lighten<3<@panel', diff --git a/packages/client/src/themes/l-vivid.json5 b/packages/client/src/themes/l-vivid.json5 index 66d97f3a0..ede4e0571 100644 --- a/packages/client/src/themes/l-vivid.json5 +++ b/packages/client/src/themes/l-vivid.json5 @@ -47,7 +47,6 @@ navIndicator: '@accent', accentLighten: ':lighten<10<@accent', buttonHoverBg: 'rgba(0, 0, 0, 0.1)', - driveFolderBg: ':alpha<0.3<@accent', fgHighlighted: ':darken<3<@fg', fgTransparent: ':alpha<0.5<@fg', panelHeaderBg: ':lighten<3<@panel',