diff --git a/src/components/UserPanel.vue b/src/components/UserPanel.vue index 690739d75..15d88d615 100644 --- a/src/components/UserPanel.vue +++ b/src/components/UserPanel.vue @@ -136,7 +136,7 @@ const isEmployee = computed(() => useRole().isEmployee()); @update:model-value="saveLanguage" :label="t(`globals.lang['${userLocale}']`)" icon="public" - color="orange" + color="primary" false-value="es" true-value="en" /> @@ -145,7 +145,7 @@ const isEmployee = computed(() => useRole().isEmployee()); @update:model-value="saveDarkMode" :label="t(`globals.darkMode`)" checked-icon="dark_mode" - color="orange" + color="primary" unchecked-icon="light_mode" /> @@ -156,7 +156,7 @@ const isEmployee = computed(() => useRole().isEmployee());
@@ -170,7 +170,7 @@ const isEmployee = computed(() => useRole().isEmployee());
$props.title !== false ? $props.title || t('globals.system') : false ); const showLetter = ref(false); +const backgroundColor = computed(() => { + const color = $props.color || useColor(title.value); + return getCssVar(color) || color; +}); watch(src, () => (showLetter.value = false)); + diff --git a/src/components/ui/VnPaginate.vue b/src/components/ui/VnPaginate.vue index 68927bc01..0df719c66 100644 --- a/src/components/ui/VnPaginate.vue +++ b/src/components/ui/VnPaginate.vue @@ -221,7 +221,7 @@ defineExpose({ fetch, addFilter, paginate }); >
- +
diff --git a/src/pages/Claim/Card/ClaimBasicData.vue b/src/pages/Claim/Card/ClaimBasicData.vue index ac312e958..ecff4db84 100644 --- a/src/pages/Claim/Card/ClaimBasicData.vue +++ b/src/pages/Claim/Card/ClaimBasicData.vue @@ -93,9 +93,9 @@ const statesFilter = { diff --git a/src/pages/Customer/Card/CustomerBasicData.vue b/src/pages/Customer/Card/CustomerBasicData.vue index ce5c593d7..7ef345f7a 100644 --- a/src/pages/Customer/Card/CustomerBasicData.vue +++ b/src/pages/Customer/Card/CustomerBasicData.vue @@ -99,7 +99,7 @@ const contactChannels = ref([]); diff --git a/src/pages/Ticket/Card/TicketBoxing.vue b/src/pages/Ticket/Card/TicketBoxing.vue index 05bde8977..bff95c0e2 100644 --- a/src/pages/Ticket/Card/TicketBoxing.vue +++ b/src/pages/Ticket/Card/TicketBoxing.vue @@ -105,14 +105,14 @@ async function getVideoList(expeditionId, timed) { label markers snap - color="orange" + color="primary" /> {