diff --git a/src/components/NavBar.vue b/src/components/NavBar.vue index 12366e174..c51ed3024 100644 --- a/src/components/NavBar.vue +++ b/src/components/NavBar.vue @@ -106,7 +106,7 @@ const pinnedModulesRef = ref(); width: max-content; } .q-header { - background-color: var(--vn-dark); + background-color: var(--vn-section-color); } diff --git a/src/components/common/VnBreadcrumbs.vue b/src/components/common/VnBreadcrumbs.vue index 666f14c72..09bc198f7 100644 --- a/src/components/common/VnBreadcrumbs.vue +++ b/src/components/common/VnBreadcrumbs.vue @@ -71,7 +71,7 @@ function getBreadcrumb(param) { } &--last, &__separator { - color: var(--vn-label); + color: var(--vn-label-color); } } @media (max-width: $breakpoint-md) { diff --git a/src/components/common/VnChip.vue b/src/components/common/VnChip.vue new file mode 100644 index 000000000..dd2de2c64 --- /dev/null +++ b/src/components/common/VnChip.vue @@ -0,0 +1,13 @@ + + diff --git a/src/components/common/VnDmsList.vue b/src/components/common/VnDmsList.vue index 5057c0790..07940274e 100644 --- a/src/components/common/VnDmsList.vue +++ b/src/components/common/VnDmsList.vue @@ -304,7 +304,7 @@ function parseDms(data) { row-gap: 20px; } .labelColor { - color: var(--vn-label); + color: var(--vn-label-color); } diff --git a/src/components/common/VnLog.vue b/src/components/common/VnLog.vue index eae391cc4..732f0e964 100644 --- a/src/components/common/VnLog.vue +++ b/src/components/common/VnLog.vue @@ -14,6 +14,7 @@ import VnJsonValue from '../common/VnJsonValue.vue'; import FetchData from '../FetchData.vue'; import VnSelectFilter from './VnSelectFilter.vue'; import VnUserLink from '../ui/VnUserLink.vue'; +import VnChip from '../common/VnChip.vue'; const stateStore = useStateStore(); const validationsStore = useValidator(); @@ -443,10 +444,10 @@ setLogTree(); > - - {{ t(modelLog.modelI18n) }} - + :text="t(modelLog.modelI18n)" + dense="dense" + /> #{{ modelLog.id }} @@ -819,7 +820,7 @@ setLogTree(); diff --git a/src/components/ui/VnSms.vue b/src/components/ui/VnSms.vue index ceb24b2bb..d45eef103 100644 --- a/src/components/ui/VnSms.vue +++ b/src/components/ui/VnSms.vue @@ -4,6 +4,7 @@ import { date } from 'quasar'; import VnPaginate from 'src/components/ui/VnPaginate.vue'; import VnAvatar from '../ui/VnAvatar.vue'; import VnUserLink from 'src/components/ui/VnUserLink.vue'; +import VnChip from '../common/VnChip.vue'; const $props = defineProps({ url: { type: String, default: null }, @@ -89,15 +90,14 @@ function formatNumber(number) { ) }} - - {{ row.sms.status }} - + :text="row.sms.status" + /> diff --git a/src/css/app.scss b/src/css/app.scss index 459a7f2dc..7d8a29920 100644 --- a/src/css/app.scss +++ b/src/css/app.scss @@ -2,29 +2,24 @@ @import './icons.scss'; body.body--light { - --fount-color: black; - --vn-sectionColor: #ffffff; - --vn-pageColor: #e0e0e0; - background-color: var(--vn-pageColor); + --font-color: black; + --vn-section-color: #e0e0e0; + --vn-page-color: #ffffff; + background-color: #ffffff; .q-header .q-toolbar { - color: var(--fount-color); + color: var(--font-color); } - --vn-text: var(--fount-color); - --vn-gray: var(--vn-sectionColor); - --vn-label: #5f5f5f; - --vn-dark: var(--vn-sectionColor); - --vn-light-gray: #e7e3e3; + --vn-text-color: var(--font-color); + --vn-label-color: #5f5f5f; + --vn-accent-color: #e7e3e3; } body.body--dark { - --vn-pageColor: #222; - --vn-SectionColor: #403c3c; - background-color: var(--vn-pageColor); - --vn-text: white; - --vn-gray: var(--vn-SectionColor); - --vn-label: #a8a8a8; - --vn-dark: var(--vn-SectionColor); - --vn-light-gray: #424242; + --vn-section-color: #403c3c; + background-color: #222; + --vn-text-color: white; + --vn-label-color: #a8a8a8; + --vn-accent-color: #424242; } a { @@ -59,19 +54,23 @@ a { // Removes chrome autofill background input:-webkit-autofill, select:-webkit-autofill { - color: var(--vn-text); + color: var(--vn-text-color); font-family: $typography-font-family; - -webkit-text-fill-color: var(--vn-text); + -webkit-text-fill-color: var(--vn-text-color); -webkit-background-clip: text !important; background-clip: text !important; } .bg-vn-dark { - background-color: var(--vn-dark); + background-color: var(--vn-section-color); +} + +.bg-vn-dark { + background-color: var(--vn-section-color); } .color-vn-text { - color: var(--vn-text); + color: var(--vn-text-color); } .color-vn-white { @@ -79,8 +78,8 @@ select:-webkit-autofill { } .vn-card { - background-color: var(--vn-gray); - color: var(--vn-text); + background-color: var(--vn-section-color); + color: var(--vn-text-color); border-radius: 8px; } @@ -90,11 +89,11 @@ select:-webkit-autofill { } .bg-vn-primary-row { - background-color: var(--vn-dark); + background-color: var(--vn-section-color); } .bg-vn-secondary-row { - background-color: var(--vn-light-gray); + background-color: var(--vn-accent-color); } /* Estilo para el asterisco en campos requeridos */ diff --git a/src/css/quasar.variables.scss b/src/css/quasar.variables.scss index b70e3e8d0..8423a9a35 100644 --- a/src/css/quasar.variables.scss +++ b/src/css/quasar.variables.scss @@ -14,10 +14,10 @@ // Tip: to add new colors https://quasar.dev/style/color-palette/#adding-your-own-colors $primary: #ec8916; $secondary: $primary; -$positive: #21ba45; -$negative: #c10015; -$info: #31ccec; -$warning: #f2c037; +$positive: #c8e484; +$negative: #fb5252; +$info: #84d0e2; +$warning: #f4b974; // Pendiente de cuadrar con la base de datos $success: $positive; $alert: $negative; diff --git a/src/pages/Claim/Card/ClaimDescriptor.vue b/src/pages/Claim/Card/ClaimDescriptor.vue index b5b9aae99..968f1e294 100644 --- a/src/pages/Claim/Card/ClaimDescriptor.vue +++ b/src/pages/Claim/Card/ClaimDescriptor.vue @@ -107,7 +107,11 @@ onMounted(async () => {