diff --git a/src/App.vue b/src/App.vue index 9ffa128..93ce977 100644 --- a/src/App.vue +++ b/src/App.vue @@ -38,8 +38,17 @@ import ErrorDlg from './components/ErrorDlg.vue'; .box-shadow-dim, [box-shadow-dim] { box-shadow: - rgba(0, 0, 0, 0.2) 0px 11px 15px -7px, - rgba(0, 0, 0, 0.14) 0px 24px 38px 3px, - rgba(0, 0, 0, 0.12) 0px 9px 46px 8px; + 0 3px 6px -4px rgba(0, 0, 0, 0.12), + 0 6px 16px 0 rgba(0, 0, 0, 0.08), + 0 9px 28px 8px rgba(0, 0, 0, 0.05); +} +@media (prefers-color-scheme: dark) { + .box-shadow-dim, + [box-shadow-dim] { + box-shadow: + 0 3px 6px -4px rgba(0, 0, 0, 0.24), + 0 6px 12px 0 rgba(0, 0, 0, 0.16), + 0 9px 18px 8px rgba(0, 0, 0, 0.1); + } } diff --git a/src/components/DraggableCard.vue b/src/components/DraggableCard.vue index 50c14e2..b2e9ee7 100644 --- a/src/components/DraggableCard.vue +++ b/src/components/DraggableCard.vue @@ -9,6 +9,7 @@ const props = withDefaults( top?: number; bottom?: number; }; + disabled?: boolean; }>(), { initialValue: () => ({}) }, ); @@ -114,7 +115,7 @@ const updateTarget = (arg: unknown) => { };