diff --git a/src/components/cards/CustomRuleCard.vue b/src/components/cards/CustomRuleCard.vue index 9a0ba55e..3eec3a34 100644 --- a/src/components/cards/CustomRuleCard.vue +++ b/src/components/cards/CustomRuleCard.vue @@ -2,8 +2,10 @@ import type { CustomRule } from '@/api/types' import filter_svg from '@images/svg/filter.svg' import { openSharedDialog } from '@/composables/useSharedDialog' +import { useCardAccentColor } from '@/composables/useCardAccentColor' const CustomRuleInfoDialog = defineAsyncComponent(() => import('@/components/dialog/CustomRuleInfoDialog.vue')) +const { accentRgb, imageRef, updateAccentColor } = useCardAccentColor('#8A8D93') // 输入参数 const props = defineProps({ @@ -45,7 +47,12 @@ function onClose() {