diff --git a/src/App.vue b/src/App.vue index 644d80a737..e68d1a22b7 100644 --- a/src/App.vue +++ b/src/App.vue @@ -20,6 +20,7 @@ import useHtmlDataset from '/@/composables/document/useHtmlDataset' import { useThemeVariables } from '/@/composables/document/useThemeVariables' import { useBeforeUnload } from '/@/composables/dom/useBeforeUnload' import useResponsive from '/@/composables/useResponsive' +import { updateStampShadowTheme } from '/@/lib/stampShadowDirective' import { useBrowserSettings } from '/@/store/app/browserSettings' import { useThemeSettings } from '/@/store/app/themeSettings' import { useTts } from '/@/store/app/tts' @@ -54,6 +55,12 @@ const useThemeObserver = () => { const stampEdge = computed(() => currentTheme.value.specific.stampEdgeEnable) useHtmlDataset('stampEdge', stampEdge) + + watch( + currentTheme, + theme => updateStampShadowTheme(theme.specific.stampEdgeEnable), + { immediate: true, flush: 'post' } + ) } const useEcoModeObserver = () => { diff --git a/src/components/Main/NavigationBar/EphemeralNavigationContent/DraftList/DraftListDetailsPanelChannel.vue b/src/components/Main/NavigationBar/EphemeralNavigationContent/DraftList/DraftListDetailsPanelChannel.vue index 7a42f862c4..9567b8244f 100644 --- a/src/components/Main/NavigationBar/EphemeralNavigationContent/DraftList/DraftListDetailsPanelChannel.vue +++ b/src/components/Main/NavigationBar/EphemeralNavigationContent/DraftList/DraftListDetailsPanelChannel.vue @@ -4,6 +4,7 @@