diff --git a/.claude/settings.json b/.claude/settings.json new file mode 100644 index 00000000..90308884 --- /dev/null +++ b/.claude/settings.json @@ -0,0 +1,5 @@ +{ + "enabledPlugins": { + "frontend-design@claude-plugins-official": true + } +} diff --git a/resources/css/components/pace-loader.css b/resources/css/components/pace-loader.css index 0ec870df..f71274ff 100644 --- a/resources/css/components/pace-loader.css +++ b/resources/css/components/pace-loader.css @@ -11,7 +11,7 @@ } .pace .pace-progress { - background: #3f39ad; + background: var(--color-primary-600); position: fixed; z-index: 2000; top: 0; @@ -26,7 +26,7 @@ right: 0px; width: 100px; height: 100%; - box-shadow: 0 0 10px #5851d8, 0 0 5px #5851d8; + box-shadow: 0 0 10px var(--color-primary-500), 0 0 5px var(--color-primary-500); opacity: 1; transform: rotate(3deg) translate(0px, -4px); } @@ -40,8 +40,8 @@ width: 14px; height: 14px; border: solid 2px transparent; - border-top-color: #5851d8; - border-left-color: #5851d8; + border-top-color: var(--color-primary-500); + border-left-color: var(--color-primary-500); border-radius: 10px; animation: pace-spinner 400ms linear infinite; } diff --git a/resources/css/invoiceshelf.css b/resources/css/invoiceshelf.css index eb8a2b27..2a39ef7a 100644 --- a/resources/css/invoiceshelf.css +++ b/resources/css/invoiceshelf.css @@ -4,7 +4,6 @@ @import "./components/pace-loader.css"; @import "./components/v-tooltips.css"; -@plugin "@tailwindcss/forms"; @plugin "@tailwindcss/typography"; @plugin "tailwind-scrollbar"; @@ -25,6 +24,36 @@ --color-primary-900: var(--color-primary-900); --color-primary-950: var(--color-primary-950); --color-black: #040405; + + /* Semantic theme tokens */ + --color-surface: var(--color-surface); + --color-surface-secondary: var(--color-surface-secondary); + --color-surface-tertiary: var(--color-surface-tertiary); + --color-surface-muted: var(--color-surface-muted); + --color-heading: var(--color-heading); + --color-body: var(--color-body); + --color-muted: var(--color-muted); + --color-subtle: var(--color-subtle); + --color-line-light: var(--color-line-light); + --color-line-default: var(--color-line-default); + --color-line-strong: var(--color-line-strong); + --color-hover: var(--color-hover); + --color-hover-strong: var(--color-hover-strong); + + /* Status badge text */ + --color-status-yellow: var(--color-status-yellow); + --color-status-green: var(--color-status-green); + --color-status-blue: var(--color-status-blue); + --color-status-red: var(--color-status-red); + --color-status-purple: var(--color-status-purple); + + /* Alert colors */ + --color-alert-warning-bg: var(--color-alert-warning-bg); + --color-alert-warning-text: var(--color-alert-warning-text); + --color-alert-error-bg: var(--color-alert-error-bg); + --color-alert-error-text: var(--color-alert-error-text); + --color-alert-success-bg: var(--color-alert-success-bg); + --color-alert-success-text: var(--color-alert-success-text); } @theme { @@ -84,9 +113,101 @@ src: url("$fonts/Poppins-SemiBold.ttf") format("truetype"); } +/* Form base styles (replaces @tailwindcss/forms) */ +@layer base { +[type='text'], +[type='email'], +[type='url'], +[type='password'], +[type='number'], +[type='date'], +[type='datetime-local'], +[type='month'], +[type='search'], +[type='tel'], +[type='time'], +[type='week'], +[multiple], +textarea, +select { + @apply appearance-none bg-surface border border-line-default rounded-lg px-3 py-2 text-sm leading-6 text-heading; +} + +[type='text']:focus, +[type='email']:focus, +[type='url']:focus, +[type='password']:focus, +[type='number']:focus, +[type='date']:focus, +[type='datetime-local']:focus, +[type='month']:focus, +[type='search']:focus, +[type='tel']:focus, +[type='time']:focus, +[type='week']:focus, +[multiple]:focus, +textarea:focus, +select:focus { + @apply outline-2 outline-transparent outline-offset-2 border-primary-500 ring-1 ring-primary-500; +} + +select { + background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e"); + @apply bg-no-repeat pr-10; + background-position: right 0.5rem center; + background-size: 1.5em 1.5em; +} + +[type='checkbox'], +[type='radio'] { + @apply appearance-none p-0 text-primary-500 bg-surface border border-line-strong inline-block align-middle select-none shrink-0 h-4 w-4; + background-origin: border-box; + print-color-adjust: exact; +} + +[type='checkbox'] { + @apply rounded; +} + +[type='radio'] { + @apply rounded-full; +} + +[type='checkbox']:focus, +[type='radio']:focus { + @apply outline-2 outline-transparent outline-offset-2; + box-shadow: 0 0 0 2px var(--color-surface), 0 0 0 4px var(--color-primary-500); +} + +[type='checkbox']:checked, +[type='radio']:checked { + @apply border-transparent bg-current bg-center bg-no-repeat; + background-size: 100% 100%; +} + +[type='checkbox']:checked { + background-image: url("data:image/svg+xml,%3csvg viewBox='0 0 16 16' fill='white' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M12.207 4.793a1 1 0 010 1.414l-5 5a1 1 0 01-1.414 0l-2-2a1 1 0 011.414-1.414L6.5 9.086l4.293-4.293a1 1 0 011.414 0z'/%3e%3c/svg%3e"); +} + +[type='radio']:checked { + background-image: url("data:image/svg+xml,%3csvg viewBox='0 0 16 16' fill='white' xmlns='http://www.w3.org/2000/svg'%3e%3ccircle cx='8' cy='8' r='3'/%3e%3c/svg%3e"); +} + +[type='checkbox']:indeterminate { + background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 16 16'%3e%3cpath stroke='white' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M4 8h8'/%3e%3c/svg%3e"); + @apply border-transparent bg-current bg-center bg-no-repeat; + background-size: 100% 100%; +} + +::placeholder { + @apply text-subtle opacity-100; +} +} /* end @layer base */ + body { min-height: 100vh; min-height: -webkit-fill-available; + color: var(--color-heading); } html { diff --git a/resources/css/themes.css b/resources/css/themes.css index e911544e..9313cab8 100644 --- a/resources/css/themes.css +++ b/resources/css/themes.css @@ -10,4 +10,86 @@ --color-primary-800: rgb(27, 3, 211); --color-primary-900: rgb(25, 5, 173); --color-primary-950: rgb(9, 0, 118); + + /* Surfaces */ + --color-surface: rgb(255, 255, 255); + --color-surface-secondary: rgb(249, 250, 251); + --color-surface-tertiary: rgb(243, 244, 246); + --color-surface-muted: rgb(229, 231, 235); + + /* Text */ + --color-heading: rgb(17, 24, 39); + --color-body: rgb(55, 65, 81); + --color-muted: rgb(107, 114, 128); + --color-subtle: rgb(156, 163, 175); + + /* Borders */ + --color-line-light: rgb(229, 231, 235); + --color-line-default: rgb(209, 213, 219); + --color-line-strong: rgb(185, 193, 204); + + /* Hover */ + --color-hover: rgb(249, 250, 251); + --color-hover-strong: rgb(243, 244, 246); + + /* Status badge text */ + --color-status-yellow: rgb(113, 63, 18); + --color-status-green: rgb(20, 83, 45); + --color-status-blue: rgb(30, 58, 138); + --color-status-red: rgb(127, 29, 29); + --color-status-purple: rgb(107, 33, 168); + + /* Alert backgrounds & text */ + --color-alert-warning-bg: rgb(254, 252, 232); + --color-alert-warning-text: rgb(133, 77, 14); + --color-alert-error-bg: rgb(254, 242, 242); + --color-alert-error-text: rgb(153, 27, 27); + --color-alert-success-bg: rgb(240, 253, 244); + --color-alert-success-text: rgb(22, 101, 52); +} + +[data-theme="dark"] { + /* Surfaces — layered depth: tertiary (body) < secondary < surface (cards) */ + --color-surface: rgb(30, 41, 59); + --color-surface-secondary: rgb(23, 33, 50); + --color-surface-tertiary: rgb(10, 18, 32); + --color-surface-muted: rgb(51, 65, 85); + + /* Text */ + --color-heading: rgb(241, 245, 249); + --color-body: rgb(203, 213, 225); + --color-muted: rgb(148, 163, 184); + --color-subtle: rgb(100, 116, 139); + + /* Borders — brighter for visibility */ + --color-line-light: rgb(51, 65, 85); + --color-line-default: rgb(80, 95, 115); + --color-line-strong: rgb(130, 145, 165); + + /* Hover */ + --color-hover: rgb(40, 52, 72); + --color-hover-strong: rgb(51, 65, 85); + + /* Status badge text */ + --color-status-yellow: rgb(253, 224, 71); + --color-status-green: rgb(134, 239, 172); + --color-status-blue: rgb(147, 197, 253); + --color-status-red: rgb(252, 165, 165); + --color-status-purple: rgb(216, 180, 254); + + /* Alert backgrounds & text */ + --color-alert-warning-bg: rgba(113, 63, 18, 0.2); + --color-alert-warning-text: rgb(253, 224, 71); + --color-alert-error-bg: rgba(127, 29, 29, 0.2); + --color-alert-error-text: rgb(252, 165, 165); + --color-alert-success-bg: rgba(20, 83, 45, 0.2); + --color-alert-success-text: rgb(134, 239, 172); + + /* Primary adjustments for dark mode */ + --color-primary-50: rgba(167, 170, 255, 0.15); + --color-primary-100: rgba(167, 170, 255, 0.25); + --color-primary-400: rgb(167, 170, 255); + --color-primary-500: rgb(140, 140, 255); + --color-primary-600: rgb(167, 170, 255); + --color-primary-700: rgb(190, 192, 255); } diff --git a/resources/scripts/admin/components/CopyInputField.vue b/resources/scripts/admin/components/CopyInputField.vue index 1227b63f..7e9512db 100644 --- a/resources/scripts/admin/components/CopyInputField.vue +++ b/resources/scripts/admin/components/CopyInputField.vue @@ -6,7 +6,7 @@ px-4 py-2 rounded-lg - bg-gray-300/40 + bg-surface-muted/40 whitespace-nowrap flex-col mt-1 @@ -18,7 +18,7 @@ pr-10 text-sm font-medium - text-black + text-heading truncate select-all select-color " diff --git a/resources/scripts/admin/components/SelectNotePopup.vue b/resources/scripts/admin/components/SelectNotePopup.vue index a435e358..0cf7ed39 100644 --- a/resources/scripts/admin/components/SelectNotePopup.vue +++ b/resources/scripts/admin/components/SelectNotePopup.vue @@ -53,13 +53,13 @@ ring-1 ring-black/5 " > -
+
{{ $t('settings.exchange_rate.description', { currency: companyStore.selectedCompanyCurrency.name, @@ -34,12 +34,12 @@ @input="v.exchange_rate.$touch()" > - + {{ companyStore.selectedCompanyCurrency.code }} - + {{ $t('settings.exchange_rate.exchange_help_text', { currency: c.code, diff --git a/resources/scripts/admin/components/dropdowns/AdminCompanyIndexDropdown.vue b/resources/scripts/admin/components/dropdowns/AdminCompanyIndexDropdown.vue index f5f72ede..1afadbed 100644 --- a/resources/scripts/admin/components/dropdowns/AdminCompanyIndexDropdown.vue +++ b/resources/scripts/admin/components/dropdowns/AdminCompanyIndexDropdown.vue @@ -1,14 +1,14 @@ - + {{ $t('general.edit') }} diff --git a/resources/scripts/admin/components/dropdowns/AdminUserIndexDropdown.vue b/resources/scripts/admin/components/dropdowns/AdminUserIndexDropdown.vue index d212a176..ffcfc8b1 100644 --- a/resources/scripts/admin/components/dropdowns/AdminUserIndexDropdown.vue +++ b/resources/scripts/admin/components/dropdowns/AdminUserIndexDropdown.vue @@ -1,14 +1,14 @@ - + {{ $t('general.edit') }} @@ -20,7 +20,7 @@ > {{ $t('administration.users.impersonate') }} diff --git a/resources/scripts/admin/components/dropdowns/CustomFieldIndexDropdown.vue b/resources/scripts/admin/components/dropdowns/CustomFieldIndexDropdown.vue index 61721269..bdd76d0b 100644 --- a/resources/scripts/admin/components/dropdowns/CustomFieldIndexDropdown.vue +++ b/resources/scripts/admin/components/dropdowns/CustomFieldIndexDropdown.vue @@ -1,7 +1,7 @@ - + @@ -11,7 +11,7 @@ > {{ $t('general.edit') }} @@ -23,7 +23,7 @@ > {{ $t('general.delete') }} diff --git a/resources/scripts/admin/components/dropdowns/CustomerIndexDropdown.vue b/resources/scripts/admin/components/dropdowns/CustomerIndexDropdown.vue index e9cc7611..baade448 100644 --- a/resources/scripts/admin/components/dropdowns/CustomerIndexDropdown.vue +++ b/resources/scripts/admin/components/dropdowns/CustomerIndexDropdown.vue @@ -4,7 +4,7 @@ - + @@ -15,7 +15,7 @@ {{ $t('general.edit') }} @@ -32,7 +32,7 @@ {{ $t('general.view') }} @@ -45,7 +45,7 @@ > {{ $t('general.delete') }} diff --git a/resources/scripts/admin/components/dropdowns/EstimateIndexDropdown.vue b/resources/scripts/admin/components/dropdowns/EstimateIndexDropdown.vue index ea68e6e4..6ee39ab2 100644 --- a/resources/scripts/admin/components/dropdowns/EstimateIndexDropdown.vue +++ b/resources/scripts/admin/components/dropdowns/EstimateIndexDropdown.vue @@ -4,7 +4,7 @@ - + @@ -14,7 +14,7 @@ > {{ $t('general.copy_pdf_url') }} @@ -27,7 +27,7 @@ {{ $t('general.edit') }} @@ -40,7 +40,7 @@ > {{ $t('general.delete') }} @@ -56,7 +56,7 @@ {{ $t('general.view') }} @@ -69,7 +69,7 @@ > {{ $t('estimates.clone_estimate') }} @@ -81,7 +81,7 @@ > {{ $t('estimates.convert_to_invoice') }} @@ -97,7 +97,7 @@ > {{ $t('estimates.mark_as_sent') }} @@ -113,7 +113,7 @@ > {{ $t('estimates.send_estimate') }} @@ -122,7 +122,7 @@ {{ $t('estimates.resend_estimate') }} @@ -137,7 +137,7 @@ > {{ $t('estimates.mark_as_accepted') }} @@ -152,7 +152,7 @@ > {{ $t('estimates.mark_as_rejected') }} diff --git a/resources/scripts/admin/components/dropdowns/ExpenseCategoryIndexDropdown.vue b/resources/scripts/admin/components/dropdowns/ExpenseCategoryIndexDropdown.vue index c6d6d43f..d24887f9 100644 --- a/resources/scripts/admin/components/dropdowns/ExpenseCategoryIndexDropdown.vue +++ b/resources/scripts/admin/components/dropdowns/ExpenseCategoryIndexDropdown.vue @@ -7,7 +7,7 @@ > - + @@ -17,7 +17,7 @@ > {{ $t('general.edit') }} @@ -29,7 +29,7 @@ > {{ $t('general.delete') }} diff --git a/resources/scripts/admin/components/dropdowns/ExpenseIndexDropdown.vue b/resources/scripts/admin/components/dropdowns/ExpenseIndexDropdown.vue index 74ea564a..ef65ffa7 100644 --- a/resources/scripts/admin/components/dropdowns/ExpenseIndexDropdown.vue +++ b/resources/scripts/admin/components/dropdowns/ExpenseIndexDropdown.vue @@ -4,7 +4,7 @@ - + @@ -15,7 +15,7 @@ {{ $t('general.edit') }} @@ -28,7 +28,7 @@ > {{ $t('general.delete') }} diff --git a/resources/scripts/admin/components/dropdowns/InvoiceIndexDropdown.vue b/resources/scripts/admin/components/dropdowns/InvoiceIndexDropdown.vue index cab20230..0db6d0fb 100755 --- a/resources/scripts/admin/components/dropdowns/InvoiceIndexDropdown.vue +++ b/resources/scripts/admin/components/dropdowns/InvoiceIndexDropdown.vue @@ -4,7 +4,7 @@ - + @@ -15,7 +15,7 @@ {{ $t('general.edit') }} @@ -25,7 +25,7 @@ {{ $t('general.copy_pdf_url') }} @@ -41,7 +41,7 @@ {{ $t('general.view') }} @@ -51,7 +51,7 @@ {{ $t('invoices.send_invoice') }} @@ -60,7 +60,7 @@ {{ $t('invoices.resend_invoice') }} @@ -72,7 +72,7 @@ > {{ $t('invoices.record_payment') }} @@ -82,7 +82,7 @@ {{ $t('invoices.mark_as_sent') }} @@ -94,7 +94,7 @@ > {{ $t('invoices.clone_invoice') }} @@ -106,7 +106,7 @@ > {{ $t('general.delete') }} diff --git a/resources/scripts/admin/components/dropdowns/ItemIndexDropdown.vue b/resources/scripts/admin/components/dropdowns/ItemIndexDropdown.vue index c048e79c..0abc691b 100644 --- a/resources/scripts/admin/components/dropdowns/ItemIndexDropdown.vue +++ b/resources/scripts/admin/components/dropdowns/ItemIndexDropdown.vue @@ -4,7 +4,7 @@ - + @@ -15,7 +15,7 @@ {{ $t('general.edit') }} @@ -28,7 +28,7 @@ > {{ $t('general.delete') }} diff --git a/resources/scripts/admin/components/dropdowns/MemberIndexDropdown.vue b/resources/scripts/admin/components/dropdowns/MemberIndexDropdown.vue index dccc996e..e02838ee 100644 --- a/resources/scripts/admin/components/dropdowns/MemberIndexDropdown.vue +++ b/resources/scripts/admin/components/dropdowns/MemberIndexDropdown.vue @@ -4,7 +4,7 @@ - + @@ -12,7 +12,7 @@ {{ $t('general.edit') }} @@ -22,7 +22,7 @@ {{ $t('general.delete') }} diff --git a/resources/scripts/admin/components/dropdowns/NoteIndexDropdown.vue b/resources/scripts/admin/components/dropdowns/NoteIndexDropdown.vue index 651b253a..bb51920e 100644 --- a/resources/scripts/admin/components/dropdowns/NoteIndexDropdown.vue +++ b/resources/scripts/admin/components/dropdowns/NoteIndexDropdown.vue @@ -4,7 +4,7 @@ - + @@ -14,7 +14,7 @@ > {{ $t('general.edit') }} @@ -26,7 +26,7 @@ > {{ $t('general.delete') }} diff --git a/resources/scripts/admin/components/dropdowns/PaymentIndexDropdown.vue b/resources/scripts/admin/components/dropdowns/PaymentIndexDropdown.vue index f256875e..540ae5c8 100644 --- a/resources/scripts/admin/components/dropdowns/PaymentIndexDropdown.vue +++ b/resources/scripts/admin/components/dropdowns/PaymentIndexDropdown.vue @@ -4,7 +4,7 @@ - + @@ -18,7 +18,7 @@ > {{ $t('general.copy_pdf_url') }} @@ -31,7 +31,7 @@ {{ $t('general.edit') }} @@ -48,7 +48,7 @@ {{ $t('general.view') }} @@ -65,7 +65,7 @@ > {{ $t('payments.send_payment') }} @@ -77,7 +77,7 @@ > {{ $t('general.delete') }} diff --git a/resources/scripts/admin/components/dropdowns/PaymentModeIndexDropdown.vue b/resources/scripts/admin/components/dropdowns/PaymentModeIndexDropdown.vue index 5402ca2f..1e308ad9 100644 --- a/resources/scripts/admin/components/dropdowns/PaymentModeIndexDropdown.vue +++ b/resources/scripts/admin/components/dropdowns/PaymentModeIndexDropdown.vue @@ -4,14 +4,14 @@ - + {{ $t('general.edit') }} @@ -20,7 +20,7 @@ {{ $t('general.delete') }} diff --git a/resources/scripts/admin/components/dropdowns/RecurringInvoiceIndexDropdown.vue b/resources/scripts/admin/components/dropdowns/RecurringInvoiceIndexDropdown.vue index 6da6db96..2aaf52df 100644 --- a/resources/scripts/admin/components/dropdowns/RecurringInvoiceIndexDropdown.vue +++ b/resources/scripts/admin/components/dropdowns/RecurringInvoiceIndexDropdown.vue @@ -7,7 +7,7 @@ > - + @@ -18,7 +18,7 @@ {{ $t('general.edit') }} @@ -35,7 +35,7 @@ {{ $t('general.view') }} @@ -48,7 +48,7 @@ > {{ $t('general.delete') }} diff --git a/resources/scripts/admin/components/dropdowns/RoleIndexDropdown.vue b/resources/scripts/admin/components/dropdowns/RoleIndexDropdown.vue index 865fcdb9..e54fbd9e 100644 --- a/resources/scripts/admin/components/dropdowns/RoleIndexDropdown.vue +++ b/resources/scripts/admin/components/dropdowns/RoleIndexDropdown.vue @@ -4,7 +4,7 @@ - + @@ -14,7 +14,7 @@ > {{ $t('general.edit') }} @@ -26,7 +26,7 @@ > {{ $t('general.delete') }} diff --git a/resources/scripts/admin/components/dropdowns/TaxTypeIndexDropdown.vue b/resources/scripts/admin/components/dropdowns/TaxTypeIndexDropdown.vue index 96cc8133..ba8c1654 100644 --- a/resources/scripts/admin/components/dropdowns/TaxTypeIndexDropdown.vue +++ b/resources/scripts/admin/components/dropdowns/TaxTypeIndexDropdown.vue @@ -4,7 +4,7 @@ - + @@ -14,7 +14,7 @@ > {{ $t('general.edit') }} @@ -26,7 +26,7 @@ > {{ $t('general.delete') }} diff --git a/resources/scripts/admin/components/estimate-invoice-common/CreateItemRow.vue b/resources/scripts/admin/components/estimate-invoice-common/CreateItemRow.vue index f0d971c1..4f0b42c5 100644 --- a/resources/scripts/admin/components/estimate-invoice-common/CreateItemRow.vue +++ b/resources/scripts/admin/components/estimate-invoice-common/CreateItemRow.vue @@ -1,5 +1,5 @@ - + @@ -17,7 +17,7 @@ @@ -96,7 +96,7 @@ @@ -129,7 +129,7 @@ @@ -143,7 +143,7 @@ diff --git a/resources/scripts/admin/components/estimate-invoice-common/CreateItemRowTax.vue b/resources/scripts/admin/components/estimate-invoice-common/CreateItemRowTax.vue index 1d262f55..3613e1ee 100644 --- a/resources/scripts/admin/components/estimate-invoice-common/CreateItemRowTax.vue +++ b/resources/scripts/admin/components/estimate-invoice-common/CreateItemRowTax.vue @@ -42,7 +42,7 @@ @@ -65,7 +65,7 @@ diff --git a/resources/scripts/admin/components/estimate-invoice-common/CreateItems.vue b/resources/scripts/admin/components/estimate-invoice-common/CreateItems.vue index 8fe0d3cf..40d38244 100644 --- a/resources/scripts/admin/components/estimate-invoice-common/CreateItems.vue +++ b/resources/scripts/admin/components/estimate-invoice-common/CreateItems.vue @@ -1,4 +1,5 @@ + - + @@ -62,8 +63,8 @@ not-italic font-medium leading-5 - text-right text-gray-700 - border-t border-b border-gray-200 border-solid + text-right text-body + " > @@ -81,8 +82,8 @@ not-italic font-medium leading-5 - text-left text-gray-700 - border-t border-b border-gray-200 border-solid + text-left text-body + " > @@ -101,8 +102,8 @@ not-italic font-medium leading-5 - text-left text-gray-700 - border-t border-b border-gray-200 border-solid + text-left text-body + " > @@ -120,8 +121,8 @@ not-italic font-medium leading-5 - text-right text-gray-700 - border-t border-b border-gray-200 border-solid + text-right text-body + " > @@ -164,7 +165,7 @@ px-6 py-3 text-base - border border-t-0 border-gray-200 border-solid + border-t border-line-light cursor-pointer text-primary-400 hover:bg-primary-100 @@ -174,6 +175,7 @@ {{ $t('general.add_new_item') }} + diff --git a/resources/scripts/admin/layouts/partials/TheSiteSidebar.vue b/resources/scripts/admin/layouts/partials/TheSiteSidebar.vue index 18bd7507..55c200e6 100644 --- a/resources/scripts/admin/layouts/partials/TheSiteSidebar.vue +++ b/resources/scripts/admin/layouts/partials/TheSiteSidebar.vue @@ -27,7 +27,7 @@ leave-from="translate-x-0" leave-to="-translate-x-full" > - + {{ $t(menu[0].group_label) }} @@ -89,7 +89,7 @@ :class="[ hasActiveUrl(item.link) ? 'text-primary-600 bg-primary-50 font-semibold' - : 'text-gray-600 hover:bg-gray-50', + : 'text-body hover:bg-hover', 'cursor-pointer mx-3 px-3 py-2.5 flex items-center rounded-lg text-sm not-italic font-medium transition-colors', ]" @click="globalStore.setSidebarVisibility(false)" @@ -99,7 +99,7 @@ :class="[ hasActiveUrl(item.link) ? 'text-primary-500' - : 'text-gray-400', + : 'text-subtle', 'mr-3 shrink-0 h-5 w-5', ]" @click="globalStore.setSidebarVisibility(false)" @@ -124,8 +124,8 @@ h-screen pb-32 overflow-y-auto - bg-white - border-r border-gray-200 border-solid + bg-surface + border-r border-line-default border-solid xl:w-64 md:fixed md:flex md:flex-col md:inset-y-0 pt-16 @@ -138,7 +138,7 @@ > {{ $t(menu[0].group_label) }} @@ -149,7 +149,7 @@ :class="[ hasActiveUrl(item.link) ? 'text-primary-600 bg-primary-50 font-semibold' - : 'text-gray-600 hover:bg-gray-50', + : 'text-body hover:bg-hover', 'cursor-pointer mx-3 px-3 py-2.5 group flex items-center rounded-lg text-sm not-italic font-medium transition-colors', ]" > @@ -158,7 +158,7 @@ :class="[ hasActiveUrl(item.link) ? 'text-primary-500' - : 'text-gray-400 group-hover:text-gray-600', + : 'text-subtle group-hover:text-body', 'mr-3 shrink-0 h-5 w-5', ]" /> diff --git a/resources/scripts/admin/views/NoCompanyView.vue b/resources/scripts/admin/views/NoCompanyView.vue index 34093395..9dfb2aed 100644 --- a/resources/scripts/admin/views/NoCompanyView.vue +++ b/resources/scripts/admin/views/NoCompanyView.vue @@ -4,12 +4,12 @@ - + {{ $t('general.welcome') }}, {{ userStore.currentUser.name }} - + {{ $t('general.no_company_description') }} @@ -17,7 +17,7 @@ {{ $t('members.pending_invitations') }} @@ -25,13 +25,13 @@ - + {{ invitation.company?.name }} - + {{ invitation.role?.title }} · {{ $t('members.invited_by') }}: {{ invitation.invited_by?.name }} diff --git a/resources/scripts/admin/views/SampleTable.vue b/resources/scripts/admin/views/SampleTable.vue index 58f48f5b..60c031ad 100644 --- a/resources/scripts/admin/views/SampleTable.vue +++ b/resources/scripts/admin/views/SampleTable.vue @@ -41,13 +41,13 @@ - + New Invoice @@ -55,7 +55,7 @@ New Estimate @@ -63,7 +63,7 @@ New Customer @@ -111,7 +111,7 @@ export default { key: 'name', label: 'Name', thClass: 'extra', - tdClass: 'font-medium text-gray-900', + tdClass: 'font-medium text-heading', }, { key: 'age', label: 'Age' }, { key: 'image', label: 'Image' }, @@ -131,7 +131,7 @@ export default { key: 'name', label: 'Name', thClass: 'extra', - tdClass: 'font-medium text-gray-900', + tdClass: 'font-medium text-heading', }, { key: 'price', label: 'Price' }, { key: 'created_at', label: 'Created At' }, diff --git a/resources/scripts/admin/views/administration/AdminDashboard.vue b/resources/scripts/admin/views/administration/AdminDashboard.vue index cdf29b5b..1841be54 100644 --- a/resources/scripts/admin/views/administration/AdminDashboard.vue +++ b/resources/scripts/admin/views/administration/AdminDashboard.vue @@ -19,11 +19,11 @@ - - {{ $t('general.app_version') }} + + {{ $t('general.app_version') }} - + {{ data.app_version }} @@ -32,11 +32,11 @@ - - PHP + + PHP - + {{ data.php_version }} @@ -45,14 +45,14 @@ - - {{ $t('general.database') }} + + {{ $t('general.database') }} - + {{ data.database?.driver?.toUpperCase() }} - + {{ data.database?.version }} @@ -61,11 +61,11 @@ - - {{ $t('navigation.companies') }} + + {{ $t('navigation.companies') }} - + {{ data.counts?.companies }} @@ -74,11 +74,11 @@ - - {{ $t('navigation.all_users') }} + + {{ $t('navigation.all_users') }} - + {{ data.counts?.users }} diff --git a/resources/scripts/admin/views/administration/companies/Edit.vue b/resources/scripts/admin/views/administration/companies/Edit.vue index ef929083..9b1f726e 100644 --- a/resources/scripts/admin/views/administration/companies/Edit.vue +++ b/resources/scripts/admin/views/administration/companies/Edit.vue @@ -65,7 +65,7 @@ - + {{ $t('administration.companies.address') }} diff --git a/resources/scripts/admin/views/administration/companies/Index.vue b/resources/scripts/admin/views/administration/companies/Index.vue index 5e99a81d..78de8150 100644 --- a/resources/scripts/admin/views/administration/companies/Index.vue +++ b/resources/scripts/admin/views/administration/companies/Index.vue @@ -46,7 +46,7 @@ :title="$t('administration.companies.no_companies')" :description="$t('administration.companies.list_description')" > - + @@ -70,12 +70,12 @@ {{ row.data.owner.name }} - - + - {{ row.data.owner.email }} - - + - @@ -113,7 +113,7 @@ const companyTableColumns = computed(() => { key: 'name', label: t('administration.companies.company_name'), thClass: 'extra', - tdClass: 'font-medium text-gray-900', + tdClass: 'font-medium text-heading', }, { key: 'owner', diff --git a/resources/scripts/admin/views/administration/settings/SettingsIndex.vue b/resources/scripts/admin/views/administration/settings/SettingsIndex.vue index 3c38a374..7fdb6f96 100644 --- a/resources/scripts/admin/views/administration/settings/SettingsIndex.vue +++ b/resources/scripts/admin/views/administration/settings/SettingsIndex.vue @@ -24,7 +24,7 @@ /> - + - + {{ $t('administration.users.role') }}: {{ userData.role }} diff --git a/resources/scripts/admin/views/administration/users/Index.vue b/resources/scripts/admin/views/administration/users/Index.vue index 66d8fea4..878c1b7e 100644 --- a/resources/scripts/admin/views/administration/users/Index.vue +++ b/resources/scripts/admin/views/administration/users/Index.vue @@ -66,7 +66,7 @@ > @@ -107,18 +107,18 @@ {{ company.name }} +{{ row.data.companies.length - 3 }} - - + - @@ -158,7 +158,7 @@ const userTableColumns = computed(() => { key: 'name', label: t('users.name'), thClass: 'extra', - tdClass: 'font-medium text-gray-900', + tdClass: 'font-medium text-heading', }, { key: 'email', @@ -232,7 +232,7 @@ function getRoleBadgeClass(role) { case 'admin': return 'bg-blue-100 text-blue-800' default: - return 'bg-gray-100 text-gray-800' + return 'bg-surface-tertiary text-heading' } } diff --git a/resources/scripts/admin/views/auth/ForgotPassword.vue b/resources/scripts/admin/views/auth/ForgotPassword.vue index 1c23f38b..9ddc54b1 100644 --- a/resources/scripts/admin/views/auth/ForgotPassword.vue +++ b/resources/scripts/admin/views/auth/ForgotPassword.vue @@ -32,7 +32,7 @@ {{ $t('general.back_to_login') }} diff --git a/resources/scripts/admin/views/auth/Login.vue b/resources/scripts/admin/views/auth/Login.vue index d5d7ed27..d1c40a4a 100644 --- a/resources/scripts/admin/views/auth/Login.vue +++ b/resources/scripts/admin/views/auth/Login.vue @@ -32,7 +32,7 @@ @@ -43,7 +43,7 @@ {{ $t('login.forgot_password') }} diff --git a/resources/scripts/admin/views/auth/RegisterWithInvitation.vue b/resources/scripts/admin/views/auth/RegisterWithInvitation.vue index 80d42568..15326fbd 100644 --- a/resources/scripts/admin/views/auth/RegisterWithInvitation.vue +++ b/resources/scripts/admin/views/auth/RegisterWithInvitation.vue @@ -1,5 +1,5 @@ - + @@ -16,7 +16,7 @@ - Loading invitation details... + Loading invitation details... @@ -25,10 +25,10 @@ name="ExclamationCircleIcon" class="w-16 h-16 mx-auto text-red-400 mb-4" /> - + Invalid Invitation - {{ error }} + {{ error }} Go to Login @@ -37,10 +37,10 @@ - + Create Your Account - + You've been invited to join {{ invitationDetails.company_name }} as {{ invitationDetails.role_name }} @@ -112,7 +112,7 @@ - + Already have an account? Log in diff --git a/resources/scripts/admin/views/customers/Create.vue b/resources/scripts/admin/views/customers/Create.vue index d83ec9c8..8f4b06e5 100644 --- a/resources/scripts/admin/views/customers/Create.vue +++ b/resources/scripts/admin/views/customers/Create.vue @@ -184,7 +184,7 @@ - + {{ $t('customers.portal_access_text') }} @@ -224,7 +224,7 @@ @@ -251,7 +251,7 @@ diff --git a/resources/scripts/admin/views/customers/Index.vue b/resources/scripts/admin/views/customers/Index.vue index 83864fa6..902ef71e 100644 --- a/resources/scripts/admin/views/customers/Index.vue +++ b/resources/scripts/admin/views/customers/Index.vue @@ -113,7 +113,7 @@ - + {{ $t('general.delete') }} @@ -158,7 +158,7 @@ @@ -247,13 +247,13 @@ const customerColumns = computed(() => { key: 'status', thClass: 'extra w-10 pr-0', sortable: false, - tdClass: 'font-medium text-gray-900 pr-0', + tdClass: 'font-medium text-heading pr-0', }, { key: 'name', label: t('customers.name'), thClass: 'extra', - tdClass: 'font-medium text-gray-900', + tdClass: 'font-medium text-heading', }, { key: 'phone', label: t('customers.phone') }, { key: 'due_amount', label: t('customers.amount_due') }, diff --git a/resources/scripts/admin/views/customers/View.vue b/resources/scripts/admin/views/customers/View.vue index 205ebf28..e9a935fb 100644 --- a/resources/scripts/admin/views/customers/View.vue +++ b/resources/scripts/admin/views/customers/View.vue @@ -35,7 +35,7 @@ :to="`/admin/estimates/create?customer=${$route.params.id}`" > - + {{ $t('estimates.new_estimate') }} @@ -45,7 +45,7 @@ :to="`/admin/invoices/create?customer=${$route.params.id}`" > - + {{ $t('invoices.new_invoice') }} @@ -55,7 +55,7 @@ :to="`/admin/payments/create?customer=${$route.params.id}`" > - + {{ $t('payments.new_payment') }} @@ -65,7 +65,7 @@ :to="`/admin/expenses/create?customer=${$route.params.id}`" > - + {{ $t('expenses.new_expense') }} diff --git a/resources/scripts/admin/views/customers/partials/CustomerInfo.vue b/resources/scripts/admin/views/customers/partials/CustomerInfo.vue index 75fcdbe0..5a294096 100644 --- a/resources/scripts/admin/views/customers/partials/CustomerInfo.vue +++ b/resources/scripts/admin/views/customers/partials/CustomerInfo.vue @@ -1,5 +1,5 @@ - + {{ $t('customers.basic_info') }} @@ -92,12 +92,12 @@ > {{ $t('general.yes') }} {{ $t('general.no') }} - + {{ field.default_answer }} diff --git a/resources/scripts/admin/views/customers/partials/CustomerViewSidebar.vue b/resources/scripts/admin/views/customers/partials/CustomerViewSidebar.vue index 1ed1a73e..84cbc913 100644 --- a/resources/scripts/admin/views/customers/partials/CustomerViewSidebar.vue +++ b/resources/scripts/admin/views/customers/partials/CustomerViewSidebar.vue @@ -9,7 +9,7 @@ pt-16 pb-[6.6rem] ml-56 - bg-white + bg-surface xl:ml-64 w-88 xl:block @@ -23,7 +23,7 @@ px-4 pt-8 pb-2 - border border-gray-200 border-solid + border border-line-default border-solid height-full " > @@ -35,7 +35,7 @@ variant="gray" @input="onSearch()" > - + @@ -58,7 +58,7 @@ pb-2 mb-2 text-sm - border-b border-gray-200 border-solid + border-b border-line-default border-solid " > {{ $t('general.sort_by') }} @@ -111,7 +111,7 @@ class=" h-full overflow-y-scroll - border-l border-gray-200 border-solid + border-l border-line-default border-solid sidebar base-scroll " @@ -122,9 +122,9 @@ :id="'customer-' + customer.id" :to="`/admin/customers/${customer.id}/view`" :class="[ - 'flex justify-between p-4 items-center cursor-pointer hover:bg-gray-100 border-l-4 border-l-transparent', + 'flex justify-between p-4 items-center cursor-pointer hover:bg-hover-strong border-l-4 border-l-transparent', { - 'bg-gray-100 border-l-4 border-l-primary-500 border-solid': + 'bg-surface-tertiary border-l-4 border-l-primary-500 border-solid': hasActiveUrl(customer.id), }, ]" @@ -139,7 +139,7 @@ not-italic font-normal leading-5 - text-black + text-heading capitalize truncate " @@ -154,7 +154,7 @@ not-italic font-medium leading-5 - text-gray-600 + text-body " /> @@ -173,7 +173,7 @@ {{ $t('customers.no_matching_customers') }} diff --git a/resources/scripts/admin/views/dashboard/DashboardChart.vue b/resources/scripts/admin/views/dashboard/DashboardChart.vue index 9867a82b..d30159b8 100644 --- a/resources/scripts/admin/views/dashboard/DashboardChart.vue +++ b/resources/scripts/admin/views/dashboard/DashboardChart.vue @@ -2,7 +2,7 @@ diff --git a/resources/scripts/admin/views/dashboard/DashboardChartPlaceholder.vue b/resources/scripts/admin/views/dashboard/DashboardChartPlaceholder.vue index a537ecf1..04e4fd73 100644 --- a/resources/scripts/admin/views/dashboard/DashboardChartPlaceholder.vue +++ b/resources/scripts/admin/views/dashboard/DashboardChartPlaceholder.vue @@ -1,6 +1,6 @@ diff --git a/resources/scripts/admin/views/dashboard/DashboardStatsItem.vue b/resources/scripts/admin/views/dashboard/DashboardStatsItem.vue index 04d10b7d..89da715d 100644 --- a/resources/scripts/admin/views/dashboard/DashboardStatsItem.vue +++ b/resources/scripts/admin/views/dashboard/DashboardStatsItem.vue @@ -6,10 +6,10 @@ flex justify-between p-5 - bg-white + bg-surface rounded-xl - shadow-sm - border border-gray-100 + shadow + border border-line-light hover:shadow-md transition-shadow xl:p-6 @@ -19,10 +19,10 @@ :to="route" > - + - + {{ label }} diff --git a/resources/scripts/admin/views/dashboard/DashboardStatsPlaceholder.vue b/resources/scripts/admin/views/dashboard/DashboardStatsPlaceholder.vue index a114818d..e5a99893 100644 --- a/resources/scripts/admin/views/dashboard/DashboardStatsPlaceholder.vue +++ b/resources/scripts/admin/views/dashboard/DashboardStatsPlaceholder.vue @@ -1,7 +1,7 @@ - + {{ $t('dashboard.recent_invoices_card.title') }} @@ -57,7 +57,7 @@ class="recent-estimates" > - + {{ $t('dashboard.recent_estimate_card.title') }} diff --git a/resources/scripts/admin/views/estimates/Index.vue b/resources/scripts/admin/views/estimates/Index.vue index 60919823..daa9e9a5 100644 --- a/resources/scripts/admin/views/estimates/Index.vue +++ b/resources/scripts/admin/views/estimates/Index.vue @@ -129,7 +129,7 @@ h-10 mt-5 list-none - border-b-2 border-gray-200 border-solid + border-b-2 border-line-default border-solid " > @@ -163,7 +163,7 @@ - + {{ $t('general.delete') }} @@ -298,13 +298,13 @@ const estimateColumns = computed(() => { key: 'checkbox', thClass: 'extra w-10 pr-0', sortable: false, - tdClass: 'font-medium text-gray-900 pr-0', + tdClass: 'font-medium text-heading pr-0', }, { key: 'estimate_date', label: t('estimates.date'), thClass: 'extra', - tdClass: 'font-medium text-gray-500', + tdClass: 'font-medium text-muted', }, { key: 'estimate_number', label: t('estimates.number', 2) }, { key: 'name', label: t('estimates.customer') }, @@ -312,7 +312,7 @@ const estimateColumns = computed(() => { { key: 'total', label: t('estimates.total'), - tdClass: 'font-medium text-gray-900', + tdClass: 'font-medium text-heading', }, { key: 'actions', diff --git a/resources/scripts/admin/views/estimates/View.vue b/resources/scripts/admin/views/estimates/View.vue index 5d05d781..0fce06fa 100644 --- a/resources/scripts/admin/views/estimates/View.vue +++ b/resources/scripts/admin/views/estimates/View.vue @@ -46,7 +46,7 @@ pt-16 pb-[6.4rem] ml-56 - bg-white + bg-surface xl:ml-64 w-88 xl:block @@ -60,7 +60,7 @@ px-4 pt-8 pb-2 - border border-gray-200 border-solid + border border-line-default border-solid height-full " > @@ -73,7 +73,7 @@ @input="onSearched()" > - + @@ -98,7 +98,7 @@ pb-2 mb-1 mb-2 text-sm - border-b border-gray-200 border-solid + border-b border-line-default border-solid " > {{ $t('general.sort_by') }} @@ -159,7 +159,7 @@ class=" h-full overflow-y-scroll - border-l border-gray-200 border-solid + border-l border-line-default border-solid base-scroll " > @@ -169,9 +169,9 @@ :id="'estimate-' + estimate.id" :to="`/admin/estimates/${estimate.id}/view`" :class="[ - 'flex justify-between side-estimate p-4 cursor-pointer hover:bg-gray-100 items-center border-l-4 border-l-transparent', + 'flex justify-between side-estimate p-4 cursor-pointer hover:bg-hover-strong items-center border-l-4 border-l-transparent', { - 'bg-gray-100 border-l-4 border-l-primary-500 border-solid': + 'bg-surface-tertiary border-l-4 border-l-primary-500 border-solid': hasActiveUrl(estimate.id), }, ]" @@ -187,7 +187,7 @@ not-italic font-normal leading-5 - text-black + text-heading capitalize truncate " @@ -201,7 +201,7 @@ not-italic font-medium leading-5 - text-gray-600 + text-body " > {{ estimate.estimate_number }} @@ -226,7 +226,7 @@ not-italic font-semibold leading-8 - text-right text-gray-900 + text-right text-heading " /> @@ -236,7 +236,7 @@ not-italic font-normal leading-5 - text-right text-gray-600 + text-right text-body est-date " > @@ -250,7 +250,7 @@ {{ $t('estimates.no_matching_estimates') }} @@ -267,7 +267,7 @@ flex-1 border border-gray-400 border-solid rounded-md - bg-white + bg-surface frame-style " /> diff --git a/resources/scripts/admin/views/expenses/Index.vue b/resources/scripts/admin/views/expenses/Index.vue index 2dc1b4f1..56150361 100644 --- a/resources/scripts/admin/views/expenses/Index.vue +++ b/resources/scripts/admin/views/expenses/Index.vue @@ -135,7 +135,7 @@ v-if="userStore.hasAbilities(abilities.DELETE_EXPENSE)" @click="removeMultipleExpenses" > - + {{ $t('general.delete') }} @@ -275,7 +275,7 @@ const expenseColumns = computed(() => { { key: 'status', thClass: 'extra w-10', - tdClass: 'font-medium text-gray-900', + tdClass: 'font-medium text-heading', placeholderClass: 'w-10', sortable: false, }, @@ -283,13 +283,13 @@ const expenseColumns = computed(() => { key: 'expense_date', label: t('expenses.date'), thClass: 'extra', - tdClass: 'font-medium text-gray-900', + tdClass: 'font-medium text-heading', }, { key: 'expense_number', label: t('expenses.expense_number'), thClass: 'extra', - tdClass: 'font-medium text-gray-900', + tdClass: 'font-medium text-heading', }, { key: 'name', diff --git a/resources/scripts/admin/views/installation/Step1RequirementsCheck.vue b/resources/scripts/admin/views/installation/Step1RequirementsCheck.vue index 09ad9112..11c489d5 100644 --- a/resources/scripts/admin/views/installation/Step1RequirementsCheck.vue +++ b/resources/scripts/admin/views/installation/Step1RequirementsCheck.vue @@ -7,7 +7,7 @@ {{ @@ -32,7 +32,7 @@ {{ index }} diff --git a/resources/scripts/admin/views/installation/Step2PermissionCheck.vue b/resources/scripts/admin/views/installation/Step2PermissionCheck.vue index f73303fb..3cb9deb3 100644 --- a/resources/scripts/admin/views/installation/Step2PermissionCheck.vue +++ b/resources/scripts/admin/views/installation/Step2PermissionCheck.vue @@ -12,7 +12,7 @@ grid grid-flow-row grid-cols-3 lg:gap-24 sm:gap-4 - border border-gray-200 + border border-line-default " > @@ -29,7 +29,7 @@ diff --git a/resources/scripts/admin/views/installation/Step3DatabaseConfig.vue b/resources/scripts/admin/views/installation/Step3DatabaseConfig.vue index 1c442078..8e02e8d3 100644 --- a/resources/scripts/admin/views/installation/Step3DatabaseConfig.vue +++ b/resources/scripts/admin/views/installation/Step3DatabaseConfig.vue @@ -2,7 +2,7 @@ - {{ $t('wizard.verify_domain.notes.notes') }} - + {{ $t('wizard.verify_domain.notes.notes') }} + {{ $t('wizard.verify_domain.notes.not_contain') }} - https:// {{ $t('wizard.verify_domain.notes.or') }} - http {{ $t('wizard.verify_domain.notes.in_front') }} + https:// {{ $t('wizard.verify_domain.notes.or') }} + http {{ $t('wizard.verify_domain.notes.in_front') }} {{ $t('wizard.verify_domain.notes.if_you') }} - localhost:8080 + localhost:8080 diff --git a/resources/scripts/admin/views/installation/Step6AccountSettings.vue b/resources/scripts/admin/views/installation/Step6AccountSettings.vue index ae60f065..d8ba86fa 100644 --- a/resources/scripts/admin/views/installation/Step6AccountSettings.vue +++ b/resources/scripts/admin/views/installation/Step6AccountSettings.vue @@ -70,7 +70,7 @@ @@ -95,7 +95,7 @@ diff --git a/resources/scripts/admin/views/installation/Step7CompanyInfo.vue b/resources/scripts/admin/views/installation/Step7CompanyInfo.vue index 26e40b6e..57f207d7 100644 --- a/resources/scripts/admin/views/installation/Step7CompanyInfo.vue +++ b/resources/scripts/admin/views/installation/Step7CompanyInfo.vue @@ -2,7 +2,7 @@ diff --git a/resources/scripts/admin/views/installation/Step8CompanyPreferences.vue b/resources/scripts/admin/views/installation/Step8CompanyPreferences.vue index 37d7f775..73334a54 100644 --- a/resources/scripts/admin/views/installation/Step8CompanyPreferences.vue +++ b/resources/scripts/admin/views/installation/Step8CompanyPreferences.vue @@ -2,7 +2,7 @@ diff --git a/resources/scripts/admin/views/installation/mail-driver/MailgunMailDriver.vue b/resources/scripts/admin/views/installation/mail-driver/MailgunMailDriver.vue index f84a8ce8..10038124 100644 --- a/resources/scripts/admin/views/installation/mail-driver/MailgunMailDriver.vue +++ b/resources/scripts/admin/views/installation/mail-driver/MailgunMailDriver.vue @@ -63,7 +63,7 @@ diff --git a/resources/scripts/admin/views/installation/mail-driver/SesMailDriver.vue b/resources/scripts/admin/views/installation/mail-driver/SesMailDriver.vue index a2ff3af3..c64d7df6 100644 --- a/resources/scripts/admin/views/installation/mail-driver/SesMailDriver.vue +++ b/resources/scripts/admin/views/installation/mail-driver/SesMailDriver.vue @@ -161,7 +161,7 @@ diff --git a/resources/scripts/admin/views/installation/mail-driver/SmtpMailDriver.vue b/resources/scripts/admin/views/installation/mail-driver/SmtpMailDriver.vue index e18bdc5e..fc9c58ac 100644 --- a/resources/scripts/admin/views/installation/mail-driver/SmtpMailDriver.vue +++ b/resources/scripts/admin/views/installation/mail-driver/SmtpMailDriver.vue @@ -68,7 +68,7 @@ diff --git a/resources/scripts/admin/views/invoices/Index.vue b/resources/scripts/admin/views/invoices/Index.vue index 8be47245..05855409 100644 --- a/resources/scripts/admin/views/invoices/Index.vue +++ b/resources/scripts/admin/views/invoices/Index.vue @@ -126,7 +126,7 @@ h-10 mt-5 list-none - border-b-2 border-gray-200 border-solid + border-b-2 border-line-default border-solid " > @@ -161,7 +161,7 @@ - + {{ $t('general.delete') }} @@ -341,7 +341,7 @@ const invoiceColumns = computed(() => { { key: 'checkbox', thClass: 'extra w-10', - tdClass: 'font-medium text-gray-900', + tdClass: 'font-medium text-heading', placeholderClass: 'w-10', sortable: false, }, @@ -361,7 +361,7 @@ const invoiceColumns = computed(() => { { key: 'total', label: t('invoices.total'), - tdClass: 'font-medium text-gray-900', + tdClass: 'font-medium text-heading', }, { diff --git a/resources/scripts/admin/views/invoices/View.vue b/resources/scripts/admin/views/invoices/View.vue index 34ea6fc8..50a7f354 100644 --- a/resources/scripts/admin/views/invoices/View.vue +++ b/resources/scripts/admin/views/invoices/View.vue @@ -295,7 +295,7 @@ onSearched = debounce(onSearched, 500) pt-16 pb-[6.4rem] ml-56 - bg-white + bg-surface xl:ml-64 w-88 xl:block @@ -309,7 +309,7 @@ onSearched = debounce(onSearched, 500) px-4 pt-8 pb-2 - border border-gray-200 border-solid + border border-line-default border-solid height-full " > @@ -322,7 +322,7 @@ onSearched = debounce(onSearched, 500) @input="onSearched()" > - + @@ -341,7 +341,7 @@ onSearched = debounce(onSearched, 500) pb-2 mb-1 mb-2 text-sm - border-b border-gray-200 border-solid + border-b border-line-default border-solid " > {{ $t('general.sort_by') }} @@ -402,7 +402,7 @@ onSearched = debounce(onSearched, 500) class=" h-full overflow-y-scroll - border-l border-gray-200 border-solid + border-l border-line-default border-solid base-scroll " > @@ -412,9 +412,9 @@ onSearched = debounce(onSearched, 500) :id="'invoice-' + invoice.id" :to="`/admin/invoices/${invoice.id}/view`" :class="[ - 'flex justify-between side-invoice p-4 cursor-pointer hover:bg-gray-100 items-center border-l-4 border-l-transparent', + 'flex justify-between side-invoice p-4 cursor-pointer hover:bg-hover-strong items-center border-l-4 border-l-transparent', { - 'bg-gray-100 border-l-4 border-l-primary-500 border-solid': + 'bg-surface-tertiary border-l-4 border-l-primary-500 border-solid': hasActiveUrl(invoice.id), }, ]" @@ -430,7 +430,7 @@ onSearched = debounce(onSearched, 500) not-italic font-normal leading-5 - text-black + text-heading capitalize truncate " @@ -444,7 +444,7 @@ onSearched = debounce(onSearched, 500) not-italic font-medium leading-5 - text-gray-600 + text-body " > {{ invoice.invoice_number }} @@ -465,7 +465,7 @@ onSearched = debounce(onSearched, 500) not-italic font-semibold leading-8 - text-right text-gray-900 + text-right text-heading block " :amount="invoice.total" @@ -477,7 +477,7 @@ onSearched = debounce(onSearched, 500) not-italic font-normal leading-5 - text-right text-gray-600 + text-right text-body est-date " > @@ -491,7 +491,7 @@ onSearched = debounce(onSearched, 500) {{ $t('invoices.no_matching_invoices') }} @@ -507,7 +507,7 @@ onSearched = debounce(onSearched, 500) class=" flex-1 border border-gray-400 border-solid - bg-white + bg-surface rounded-md frame-style " diff --git a/resources/scripts/admin/views/items/Index.vue b/resources/scripts/admin/views/items/Index.vue index ce9596db..1550fbc6 100644 --- a/resources/scripts/admin/views/items/Index.vue +++ b/resources/scripts/admin/views/items/Index.vue @@ -97,7 +97,7 @@ items-center justify-end h-5 - border-gray-200 border-solid + border-line-default border-solid " > @@ -117,7 +117,7 @@ - + {{ $t('general.delete') }} @@ -237,7 +237,7 @@ const itemColumns = computed(() => { { key: 'status', thClass: 'extra w-10', - tdClass: 'font-medium text-gray-900', + tdClass: 'font-medium text-heading', placeholderClass: 'w-10', sortable: false, }, @@ -245,7 +245,7 @@ const itemColumns = computed(() => { key: 'name', label: t('items.name'), thClass: 'extra', - tdClass: 'font-medium text-gray-900', + tdClass: 'font-medium text-heading', }, { key: 'unit_name', label: t('items.unit') }, { key: 'price', label: t('items.price') }, diff --git a/resources/scripts/admin/views/members/Index.vue b/resources/scripts/admin/views/members/Index.vue index 96d288bc..9e0b0329 100644 --- a/resources/scripts/admin/views/members/Index.vue +++ b/resources/scripts/admin/views/members/Index.vue @@ -102,7 +102,7 @@ items-center justify-end h-5 - border-gray-200 border-solid + border-line-default border-solid " > @@ -122,7 +122,7 @@ - + {{ $t('general.delete') }} @@ -191,21 +191,21 @@ v-if="userStore.currentUser.is_owner && usersStore.pendingInvitations.length > 0" class="mt-8" > - + {{ $t('members.pending_invitations') }} - + - + {{ invitation.email }} - + {{ invitation.role?.title }} · {{ $t('members.invited_by') }}: {{ invitation.invited_by?.name }} @@ -269,14 +269,14 @@ const userTableColumns = computed(() => { { key: 'status', thClass: 'extra', - tdClass: 'font-medium text-gray-900', + tdClass: 'font-medium text-heading', sortable: false, }, { key: 'name', label: t('members.name'), thClass: 'extra', - tdClass: 'font-medium text-gray-900', + tdClass: 'font-medium text-heading', }, { key: 'email', label: 'Email' }, { diff --git a/resources/scripts/admin/views/modules/Index.vue b/resources/scripts/admin/views/modules/Index.vue index b9222ebf..16f4b8c0 100644 --- a/resources/scripts/admin/views/modules/Index.vue +++ b/resources/scripts/admin/views/modules/Index.vue @@ -53,7 +53,7 @@ - + {{ $t('modules.no_modules_installed') }} @@ -61,10 +61,10 @@ - + {{ $t('modules.connect_installation') }} - + {{ $t('modules.api_token_description', { url: globalStore.config.base_url.replace(/^http:\/\//, ''), diff --git a/resources/scripts/admin/views/modules/View.vue b/resources/scripts/admin/views/modules/View.vue index 51b95923..a88df3b3 100644 --- a/resources/scripts/admin/views/modules/View.vue +++ b/resources/scripts/admin/views/modules/View.vue @@ -1,6 +1,6 @@ - + @@ -30,7 +30,7 @@ @@ -159,7 +159,7 @@ {{ $t('modules.version') }} {{ moduleVersion }} ({{ $t('modules.last_updated') }} @@ -170,7 +170,7 @@ @@ -178,7 +178,7 @@ Pricing plans - + @@ -203,18 +203,18 @@ :class="[ checked ? 'bg-primary-600 border-transparent' - : 'bg-white border-gray-300', + : 'bg-surface border-line-strong', active ? 'ring-2 ring-offset-2 ring-primary-500' : '', 'h-4 w-4 rounded-full border flex items-center justify-center', ]" aria-hidden="true" > - + @@ -226,7 +226,7 @@ > @@ -328,18 +328,18 @@ - - + + {{ $t('modules.what_you_get') }} - + - + - + @@ -370,7 +370,7 @@ {{ $t(step.translationKey) }} - + {{ step.time }} - - + Frequently Asked Questions - + {{ faq.question }} - + {{ faq.answer }} @@ -607,7 +607,7 @@ License @@ -622,7 +622,7 @@ class="mt-24 sm:mt-32 lg:max-w-none" > - + {{ $t('modules.other_modules') }} - + - + - + @@ -70,7 +70,7 @@ - + - + diff --git a/resources/scripts/admin/views/modules/partials/RecentModuleCard.vue b/resources/scripts/admin/views/modules/partials/RecentModuleCard.vue index e735270b..dcd88651 100644 --- a/resources/scripts/admin/views/modules/partials/RecentModuleCard.vue +++ b/resources/scripts/admin/views/modules/partials/RecentModuleCard.vue @@ -1,7 +1,7 @@ - + - + {{ $t('estimates.notes') }} diff --git a/resources/scripts/admin/views/payments/Index.vue b/resources/scripts/admin/views/payments/Index.vue index 5ff72c7c..2006ab1a 100644 --- a/resources/scripts/admin/views/payments/Index.vue +++ b/resources/scripts/admin/views/payments/Index.vue @@ -116,7 +116,7 @@ - + {{ $t('general.delete') }} @@ -246,7 +246,7 @@ const paymentColumns = computed(() => { key: 'payment_date', label: t('payments.date'), thClass: 'extra', - tdClass: 'font-medium text-gray-900', + tdClass: 'font-medium text-heading', }, { key: 'payment_number', label: t('payments.payment_number') }, { key: 'name', label: t('payments.customer') }, diff --git a/resources/scripts/admin/views/payments/View.vue b/resources/scripts/admin/views/payments/View.vue index 9fcc87ef..34313d99 100644 --- a/resources/scripts/admin/views/payments/View.vue +++ b/resources/scripts/admin/views/payments/View.vue @@ -31,7 +31,7 @@ pt-16 pb-[6rem] ml-56 - bg-white + bg-surface xl:ml-64 w-88 xl:block @@ -45,7 +45,7 @@ px-4 pt-8 pb-6 - border border-gray-200 border-solid + border border-line-default border-solid " > {{ $t('general.sort_by') }} @@ -139,7 +139,7 @@ @@ -192,7 +192,7 @@ not-italic font-medium leading-5 - text-gray-500 + text-muted capitalize " > @@ -209,13 +209,13 @@ not-italic font-semibold leading-8 - text-right text-gray-900 + text-right text-heading " :amount="payment?.amount" :currency="payment.customer?.currency" /> - + {{ payment.formatted_payment_date }} @@ -226,7 +226,7 @@ {{ $t('payments.no_matching_payments') }} diff --git a/resources/scripts/admin/views/recurring-invoices/Index.vue b/resources/scripts/admin/views/recurring-invoices/Index.vue index 395101e3..2c1e707e 100644 --- a/resources/scripts/admin/views/recurring-invoices/Index.vue +++ b/resources/scripts/admin/views/recurring-invoices/Index.vue @@ -120,7 +120,7 @@ h-10 mt-5 list-none - border-b-2 border-gray-200 border-solid + border-b-2 border-line-default border-solid " > @@ -155,7 +155,7 @@ - + {{ $t('general.delete') }} @@ -212,7 +212,7 @@ : '' " tag="span" - class="text-xs text-gray-400" + class="text-xs text-subtle" /> @@ -306,7 +306,7 @@ const invoiceColumns = computed(() => { { key: 'checkbox', thClass: 'extra', - tdClass: 'font-medium text-gray-900', + tdClass: 'font-medium text-heading', }, { key: 'starts_at', diff --git a/resources/scripts/admin/views/recurring-invoices/create/RecurringInvoiceCreateBasicFields.vue b/resources/scripts/admin/views/recurring-invoices/create/RecurringInvoiceCreateBasicFields.vue index d21c556d..bf95f706 100644 --- a/resources/scripts/admin/views/recurring-invoices/create/RecurringInvoiceCreateBasicFields.vue +++ b/resources/scripts/admin/views/recurring-invoices/create/RecurringInvoiceCreateBasicFields.vue @@ -16,11 +16,11 @@ - + {{ $t('recurring_invoices.send_automatically') }} {{ $t('recurring_invoices.send_automatically_desc') }} diff --git a/resources/scripts/admin/views/recurring-invoices/partials/Invoices.vue b/resources/scripts/admin/views/recurring-invoices/partials/Invoices.vue index fa997aa3..e56ee1a8 100644 --- a/resources/scripts/admin/views/recurring-invoices/partials/Invoices.vue +++ b/resources/scripts/admin/views/recurring-invoices/partials/Invoices.vue @@ -73,7 +73,7 @@ const invoiceColumns = computed(() => { key: 'invoice_date', label: t('invoices.date'), thClass: 'extra', - tdClass: 'font-medium text-gray-900', + tdClass: 'font-medium text-heading', }, { key: 'invoice_number', label: t('invoices.invoice') }, { key: 'customer.name', label: t('invoices.customer') }, diff --git a/resources/scripts/admin/views/recurring-invoices/partials/RecurringInvoiceViewSidebar.vue b/resources/scripts/admin/views/recurring-invoices/partials/RecurringInvoiceViewSidebar.vue index 638101f9..4eb8e759 100644 --- a/resources/scripts/admin/views/recurring-invoices/partials/RecurringInvoiceViewSidebar.vue +++ b/resources/scripts/admin/views/recurring-invoices/partials/RecurringInvoiceViewSidebar.vue @@ -148,7 +148,7 @@ onSearched = debounce(onSearched, 500) pt-16 pb-[6.4rem] ml-56 - bg-white + bg-surface xl:ml-64 w-88 xl:block @@ -162,7 +162,7 @@ onSearched = debounce(onSearched, 500) px-4 pt-8 pb-2 - border border-gray-200 border-solid + border border-line-default border-solid height-full " > @@ -175,7 +175,7 @@ onSearched = debounce(onSearched, 500) @input="onSearched()" > - + @@ -194,7 +194,7 @@ onSearched = debounce(onSearched, 500) pb-2 mb-1 mb-2 text-sm - border-b border-gray-200 border-solid + border-b border-line-default border-solid " > {{ $t('general.sort_by') }} @@ -241,7 +241,7 @@ onSearched = debounce(onSearched, 500) class=" h-full overflow-y-scroll - border-l border-gray-200 border-solid + border-l border-line-default border-solid base-scroll " > @@ -251,9 +251,9 @@ onSearched = debounce(onSearched, 500) :id="'recurring-invoice-' + invoice.id" :to="`/admin/recurring-invoices/${invoice.id}/view`" :class="[ - 'flex justify-between side-invoice p-4 cursor-pointer hover:bg-gray-100 items-center border-l-4 border-l-transparent', + 'flex justify-between side-invoice p-4 cursor-pointer hover:bg-hover-strong items-center border-l-4 border-l-transparent', { - 'bg-gray-100 border-l-4 border-l-primary-500 border-solid': + 'bg-surface-tertiary border-l-4 border-l-primary-500 border-solid': hasActiveUrl(invoice.id), }, ]" @@ -269,7 +269,7 @@ onSearched = debounce(onSearched, 500) not-italic font-normal leading-5 - text-black + text-heading capitalize truncate " @@ -283,7 +283,7 @@ onSearched = debounce(onSearched, 500) not-italic font-medium leading-5 - text-gray-600 + text-body " > {{ invoice.invoice_number }} @@ -305,7 +305,7 @@ onSearched = debounce(onSearched, 500) not-italic font-semibold leading-8 - text-right text-gray-900 + text-right text-heading " :amount="invoice.total" :currency="invoice.customer.currency" @@ -317,7 +317,7 @@ onSearched = debounce(onSearched, 500) not-italic font-normal leading-5 - text-right text-gray-600 + text-right text-body est-date " > @@ -331,7 +331,7 @@ onSearched = debounce(onSearched, 500) {{ $t('invoices.no_matching_invoices') }} diff --git a/resources/scripts/admin/views/reports/ExpensesReport.vue b/resources/scripts/admin/views/reports/ExpensesReport.vue index 85836669..b6915c32 100644 --- a/resources/scripts/admin/views/reports/ExpensesReport.vue +++ b/resources/scripts/admin/views/reports/ExpensesReport.vue @@ -55,7 +55,7 @@ hidden w-full h-screen - border-gray-100 border-solid + border-line-light border-solid rounded md:flex " diff --git a/resources/scripts/admin/views/reports/ProfitLossReport.vue b/resources/scripts/admin/views/reports/ProfitLossReport.vue index d2ed6df1..91449421 100644 --- a/resources/scripts/admin/views/reports/ProfitLossReport.vue +++ b/resources/scripts/admin/views/reports/ProfitLossReport.vue @@ -55,7 +55,7 @@ hidden w-full h-screen - border-gray-100 border-solid + border-line-light border-solid rounded md:flex " diff --git a/resources/scripts/admin/views/reports/SalesReports.vue b/resources/scripts/admin/views/reports/SalesReports.vue index 4fed5772..3d53543a 100644 --- a/resources/scripts/admin/views/reports/SalesReports.vue +++ b/resources/scripts/admin/views/reports/SalesReports.vue @@ -68,7 +68,7 @@ hidden w-full h-screen - border-gray-100 border-solid + border-line-light border-solid rounded md:flex " diff --git a/resources/scripts/admin/views/reports/TaxReport.vue b/resources/scripts/admin/views/reports/TaxReport.vue index d6f53941..461a547b 100644 --- a/resources/scripts/admin/views/reports/TaxReport.vue +++ b/resources/scripts/admin/views/reports/TaxReport.vue @@ -54,7 +54,7 @@ hidden w-full h-screen - border-gray-100 border-solid + border-line-light border-solid rounded md:flex " diff --git a/resources/scripts/admin/views/settings/BackupSetting.vue b/resources/scripts/admin/views/settings/BackupSetting.vue index 9cc3d56f..625e1932 100644 --- a/resources/scripts/admin/views/settings/BackupSetting.vue +++ b/resources/scripts/admin/views/settings/BackupSetting.vue @@ -47,18 +47,18 @@ - + - + {{ $t('general.download') }} - + {{ $t('general.delete') }} @@ -95,17 +95,17 @@ const backupColumns = computed(() => { key: 'path', label: t('settings.backup.path'), thClass: 'extra', - tdClass: 'font-medium text-gray-900', + tdClass: 'font-medium text-heading', }, { key: 'created_at', label: t('settings.backup.created_at'), - tdClass: 'font-medium text-gray-900', + tdClass: 'font-medium text-heading', }, { key: 'size', label: t('settings.backup.size'), - tdClass: 'font-medium text-gray-900', + tdClass: 'font-medium text-heading', }, { key: 'actions', diff --git a/resources/scripts/admin/views/settings/CompanyInfoSettings.vue b/resources/scripts/admin/views/settings/CompanyInfoSettings.vue index d712aae9..a5c0d442 100644 --- a/resources/scripts/admin/views/settings/CompanyInfoSettings.vue +++ b/resources/scripts/admin/views/settings/CompanyInfoSettings.vue @@ -110,10 +110,10 @@ - + {{ $t('settings.company_info.delete_company') }} - + {{ $t('settings.company_info.delete_company_description') }} diff --git a/resources/scripts/admin/views/settings/CompanyMailConfigSetting.vue b/resources/scripts/admin/views/settings/CompanyMailConfigSetting.vue index c739478d..4f943bdd 100644 --- a/resources/scripts/admin/views/settings/CompanyMailConfigSetting.vue +++ b/resources/scripts/admin/views/settings/CompanyMailConfigSetting.vue @@ -35,7 +35,7 @@ - + {{ $t('settings.mail.using_global_mail_config') }} diff --git a/resources/scripts/admin/views/settings/CustomFieldsSetting.vue b/resources/scripts/admin/views/settings/CustomFieldsSetting.vue index 016d37f9..39c5705c 100644 --- a/resources/scripts/admin/views/settings/CustomFieldsSetting.vue +++ b/resources/scripts/admin/views/settings/CustomFieldsSetting.vue @@ -27,7 +27,7 @@ > {{ row.data.name }} - ({{ row.data.slug }}) + ({{ row.data.slug }}) @@ -96,7 +96,7 @@ const customFieldsColumns = computed(() => { key: 'name', label: t('settings.custom_fields.name'), thClass: 'extra', - tdClass: 'font-medium text-gray-900', + tdClass: 'font-medium text-heading', }, { key: 'model_type', diff --git a/resources/scripts/admin/views/settings/ExchangeRateProviderSetting.vue b/resources/scripts/admin/views/settings/ExchangeRateProviderSetting.vue index 7aaa7132..f72a4f44 100644 --- a/resources/scripts/admin/views/settings/ExchangeRateProviderSetting.vue +++ b/resources/scripts/admin/views/settings/ExchangeRateProviderSetting.vue @@ -8,7 +8,7 @@ {{ $t('settings.menu_title.exchange_rate') }} {{ $t('settings.exchange_rate.providers_description') }} @@ -49,17 +49,17 @@ - + - + {{ $t('general.edit') }} - + {{ $t('general.delete') }} @@ -104,19 +104,19 @@ const drivers = computed(() => { key: 'driver', label: t('settings.exchange_rate.driver'), thClass: 'extra', - tdClass: 'font-medium text-gray-900', + tdClass: 'font-medium text-heading', }, { key: 'key', label: t('settings.exchange_rate.key'), thClass: 'extra', - tdClass: 'font-medium text-gray-900', + tdClass: 'font-medium text-heading', }, { key: 'active', label: t('settings.exchange_rate.active'), thClass: 'extra', - tdClass: 'font-medium text-gray-900', + tdClass: 'font-medium text-heading', }, { key: 'actions', diff --git a/resources/scripts/admin/views/settings/ExpenseCategorySetting.vue b/resources/scripts/admin/views/settings/ExpenseCategorySetting.vue index c0db9d01..4d5accc5 100644 --- a/resources/scripts/admin/views/settings/ExpenseCategorySetting.vue +++ b/resources/scripts/admin/views/settings/ExpenseCategorySetting.vue @@ -65,13 +65,13 @@ const ExpenseCategoryColumns = computed(() => { key: 'name', label: t('settings.expense_category.category_name'), thClass: 'extra', - tdClass: 'font-medium text-gray-900', + tdClass: 'font-medium text-heading', }, { key: 'description', label: t('settings.expense_category.category_description'), thClass: 'extra', - tdClass: 'font-medium text-gray-900', + tdClass: 'font-medium text-heading', }, { diff --git a/resources/scripts/admin/views/settings/FileDiskSetting.vue b/resources/scripts/admin/views/settings/FileDiskSetting.vue index abe106d1..eeed11ac 100644 --- a/resources/scripts/admin/views/settings/FileDiskSetting.vue +++ b/resources/scripts/admin/views/settings/FileDiskSetting.vue @@ -39,7 +39,7 @@ - + @@ -56,7 +56,7 @@ v-if="row.data.type !== 'SYSTEM'" @click="openEditDiskModal(row.data)" > - + {{ $t('general.edit') }} @@ -65,7 +65,7 @@ v-if="row.data.type !== 'SYSTEM' && !row.data.set_as_default" @click="removeDisk(row.data.id)" > - + {{ $t('general.delete') }} @@ -109,26 +109,26 @@ const fileDiskColumns = computed(() => { key: 'name', label: t('settings.disk.disk_name'), thClass: 'extra', - tdClass: 'font-medium text-gray-900', + tdClass: 'font-medium text-heading', }, { key: 'driver', label: t('settings.disk.filesystem_driver'), thClass: 'extra', - tdClass: 'font-medium text-gray-900', + tdClass: 'font-medium text-heading', }, { key: 'type', label: t('settings.disk.disk_type'), thClass: 'extra', - tdClass: 'font-medium text-gray-900', + tdClass: 'font-medium text-heading', }, { key: 'set_as_default', label: t('settings.disk.is_default'), thClass: 'extra', - tdClass: 'font-medium text-gray-900', + tdClass: 'font-medium text-heading', }, { key: 'actions', diff --git a/resources/scripts/admin/views/settings/NotesSetting.vue b/resources/scripts/admin/views/settings/NotesSetting.vue index 4b4c934d..1e0806b6 100644 --- a/resources/scripts/admin/views/settings/NotesSetting.vue +++ b/resources/scripts/admin/views/settings/NotesSetting.vue @@ -66,13 +66,13 @@ const notesColumns = computed(() => { key: 'name', label: t('settings.customization.notes.name'), thClass: 'extra', - tdClass: 'font-medium text-gray-900 flex gap-1 items-center', + tdClass: 'font-medium text-heading flex gap-1 items-center', }, { key: 'type', label: t('settings.customization.notes.type'), thClass: 'extra', - tdClass: 'font-medium text-gray-900', + tdClass: 'font-medium text-heading', }, { diff --git a/resources/scripts/admin/views/settings/NotificationsSetting.vue b/resources/scripts/admin/views/settings/NotificationsSetting.vue index f863af28..4463acae 100644 --- a/resources/scripts/admin/views/settings/NotificationsSetting.vue +++ b/resources/scripts/admin/views/settings/NotificationsSetting.vue @@ -44,7 +44,7 @@ - + { key: 'name', label: t('settings.payment_modes.mode_name'), thClass: 'extra', - tdClass: 'font-medium text-gray-900', + tdClass: 'font-medium text-heading', }, { key: 'actions', diff --git a/resources/scripts/admin/views/settings/RolesSettings.vue b/resources/scripts/admin/views/settings/RolesSettings.vue index ef049f43..2f0a21da 100644 --- a/resources/scripts/admin/views/settings/RolesSettings.vue +++ b/resources/scripts/admin/views/settings/RolesSettings.vue @@ -64,12 +64,12 @@ const roleColumns = computed(() => { key: 'name', label: t('settings.roles.role_name'), thClass: 'extra', - tdClass: 'font-medium text-gray-900', + tdClass: 'font-medium text-heading', }, { key: 'created_at', label: t('settings.roles.added_on'), - tdClass: 'font-medium text-gray-900', + tdClass: 'font-medium text-heading', }, { diff --git a/resources/scripts/admin/views/settings/SettingsIndex.vue b/resources/scripts/admin/views/settings/SettingsIndex.vue index 42728de7..5bf54673 100644 --- a/resources/scripts/admin/views/settings/SettingsIndex.vue +++ b/resources/scripts/admin/views/settings/SettingsIndex.vue @@ -24,7 +24,7 @@ /> - + { key: 'name', label: t('settings.tax_types.tax_name'), thClass: 'extra', - tdClass: 'font-medium text-gray-900', + tdClass: 'font-medium text-heading', }, { key: 'calculation_type', label: t('settings.tax_types.calculation_type'), thClass: 'extra', - tdClass: 'font-medium text-gray-900', + tdClass: 'font-medium text-heading', }, { key: 'amount', label: t('settings.tax_types.amount'), thClass: 'extra', - tdClass: 'font-medium text-gray-900', + tdClass: 'font-medium text-heading', }, { key: 'actions', diff --git a/resources/scripts/admin/views/settings/UpdateAppSetting.vue b/resources/scripts/admin/views/settings/UpdateAppSetting.vue index 2723ae7f..d572fb77 100644 --- a/resources/scripts/admin/views/settings/UpdateAppSetting.vue +++ b/resources/scripts/admin/views/settings/UpdateAppSetting.vue @@ -8,7 +8,7 @@ {{ $t('settings.update_app.current_version') }} - + - + {{ i }} @@ -170,7 +170,7 @@ {{ $t('settings.update_app.update_progress') }} {{ $t('settings.update_app.progress_text') }} @@ -189,13 +189,13 @@ justify-between w-full py-3 - border-b border-gray-200 border-solid + border-b border-line-default border-solid last:border-b-0 " > {{ $t(step.translationKey) }} - + {{ step.time }} - + {{ $t(`settings.customization.${type}s.${type}_number_format`) }} - + {{ $t(`settings.customization.${type}s.${type}_number_format_description`) }} @@ -27,8 +27,8 @@ not-italic font-medium leading-5 - text-left text-gray-700 - border-t border-b border-gray-200 border-solid + text-left text-body + border-t border-b border-line-default border-solid " > {{ $t('settings.customization.component') }} @@ -53,8 +53,8 @@ not-italic font-medium leading-5 - text-left text-gray-700 - border-t border-b border-gray-200 border-solid + text-left text-body + border-t border-b border-line-default border-solid " > {{ $t('settings.customization.Parameter') }} @@ -67,15 +67,15 @@ not-italic font-medium leading-5 - text-left text-gray-700 - border-t border-b border-gray-200 border-solid + text-left text-body + border-t border-b border-line-default border-solid " > - + @@ -93,7 +93,7 @@ text-sm not-italic font-medium - text-primary-800 + text-primary-500 whitespace-nowrap mr-2 min-w-[200px] @@ -102,7 +102,7 @@ {{ element.label }} - + {{ element.description }} diff --git a/resources/scripts/admin/views/settings/customization/estimates/EstimatesTab.vue b/resources/scripts/admin/views/settings/customization/estimates/EstimatesTab.vue index 978cdc37..96f2b25f 100644 --- a/resources/scripts/admin/views/settings/customization/estimates/EstimatesTab.vue +++ b/resources/scripts/admin/views/settings/customization/estimates/EstimatesTab.vue @@ -15,7 +15,7 @@ - + - + {{ $t('settings.customization.estimates.convert_estimate_options') }} - + {{ $t('settings.customization.estimates.convert_estimate_description') }} diff --git a/resources/scripts/admin/views/settings/customization/estimates/EstimatesTabDefaultFormats.vue b/resources/scripts/admin/views/settings/customization/estimates/EstimatesTabDefaultFormats.vue index dc75dbde..2f4bd4cb 100644 --- a/resources/scripts/admin/views/settings/customization/estimates/EstimatesTabDefaultFormats.vue +++ b/resources/scripts/admin/views/settings/customization/estimates/EstimatesTabDefaultFormats.vue @@ -1,9 +1,9 @@ - + {{ $t('settings.customization.estimates.default_formats') }} - + {{ $t('settings.customization.estimates.default_formats_description') }} diff --git a/resources/scripts/admin/views/settings/customization/estimates/EstimatesTabExpiryDate.vue b/resources/scripts/admin/views/settings/customization/estimates/EstimatesTabExpiryDate.vue index f8a0591a..b5dcac8b 100644 --- a/resources/scripts/admin/views/settings/customization/estimates/EstimatesTabExpiryDate.vue +++ b/resources/scripts/admin/views/settings/customization/estimates/EstimatesTabExpiryDate.vue @@ -1,9 +1,9 @@ - + {{ $t('settings.customization.estimates.expiry_date') }} - + {{ $t('settings.customization.estimates.expiry_date_description') }} diff --git a/resources/scripts/admin/views/settings/customization/invoices/InvoicesTab.vue b/resources/scripts/admin/views/settings/customization/invoices/InvoicesTab.vue index 28b6cefc..780fb9a5 100644 --- a/resources/scripts/admin/views/settings/customization/invoices/InvoicesTab.vue +++ b/resources/scripts/admin/views/settings/customization/invoices/InvoicesTab.vue @@ -15,7 +15,7 @@ - + - + {{ $t('settings.customization.invoices.default_formats') }} - + {{ $t('settings.customization.invoices.default_formats_description') }} diff --git a/resources/scripts/admin/views/settings/customization/invoices/InvoicesTabDueDate.vue b/resources/scripts/admin/views/settings/customization/invoices/InvoicesTabDueDate.vue index f994fa15..a12d5bba 100644 --- a/resources/scripts/admin/views/settings/customization/invoices/InvoicesTabDueDate.vue +++ b/resources/scripts/admin/views/settings/customization/invoices/InvoicesTabDueDate.vue @@ -1,9 +1,9 @@ - + {{ $t('settings.customization.invoices.due_date') }} - + {{ $t('settings.customization.invoices.due_date_description') }} diff --git a/resources/scripts/admin/views/settings/customization/invoices/InvoicesTabRetrospective.vue b/resources/scripts/admin/views/settings/customization/invoices/InvoicesTabRetrospective.vue index 4aa42db6..9389d3f0 100644 --- a/resources/scripts/admin/views/settings/customization/invoices/InvoicesTabRetrospective.vue +++ b/resources/scripts/admin/views/settings/customization/invoices/InvoicesTabRetrospective.vue @@ -1,8 +1,8 @@ - + {{ $t('settings.customization.invoices.retrospective_edits') }} - + {{ $t('settings.customization.invoices.retrospective_edits_description') }} diff --git a/resources/scripts/admin/views/settings/customization/items/ItemsTab.vue b/resources/scripts/admin/views/settings/customization/items/ItemsTab.vue index 73ff180b..d386e3e7 100644 --- a/resources/scripts/admin/views/settings/customization/items/ItemsTab.vue +++ b/resources/scripts/admin/views/settings/customization/items/ItemsTab.vue @@ -15,14 +15,14 @@ - + {{ $t('general.edit') }} @@ -30,7 +30,7 @@ {{ $t('general.delete') }} @@ -60,7 +60,7 @@ const columns = computed(() => { key: 'name', label: t('settings.customization.items.unit_name'), thClass: 'extra', - tdClass: 'font-medium text-gray-900', + tdClass: 'font-medium text-heading', }, { key: 'actions', diff --git a/resources/scripts/admin/views/settings/customization/payments/PaymentsTab.vue b/resources/scripts/admin/views/settings/customization/payments/PaymentsTab.vue index 8552124f..5da762d9 100644 --- a/resources/scripts/admin/views/settings/customization/payments/PaymentsTab.vue +++ b/resources/scripts/admin/views/settings/customization/payments/PaymentsTab.vue @@ -7,7 +7,7 @@ - + - + {{ $t('settings.customization.payments.default_formats') }} - + {{ $t('settings.customization.payments.default_formats_description') }} diff --git a/resources/scripts/admin/views/settings/mail-driver/MailgunMailDriver.vue b/resources/scripts/admin/views/settings/mail-driver/MailgunMailDriver.vue index 18a86af9..e606231c 100644 --- a/resources/scripts/admin/views/settings/mail-driver/MailgunMailDriver.vue +++ b/resources/scripts/admin/views/settings/mail-driver/MailgunMailDriver.vue @@ -60,7 +60,7 @@ diff --git a/resources/scripts/admin/views/settings/mail-driver/SesMailDriver.vue b/resources/scripts/admin/views/settings/mail-driver/SesMailDriver.vue index 098d5e3a..2c8fc30f 100644 --- a/resources/scripts/admin/views/settings/mail-driver/SesMailDriver.vue +++ b/resources/scripts/admin/views/settings/mail-driver/SesMailDriver.vue @@ -155,7 +155,7 @@ diff --git a/resources/scripts/admin/views/settings/mail-driver/SmtpMailDriver.vue b/resources/scripts/admin/views/settings/mail-driver/SmtpMailDriver.vue index 49ab5501..15ae7ea9 100644 --- a/resources/scripts/admin/views/settings/mail-driver/SmtpMailDriver.vue +++ b/resources/scripts/admin/views/settings/mail-driver/SmtpMailDriver.vue @@ -64,7 +64,7 @@ diff --git a/resources/scripts/components/CompanySwitcher.vue b/resources/scripts/components/CompanySwitcher.vue index 9c0b1ce0..2881ad62 100644 --- a/resources/scripts/components/CompanySwitcher.vue +++ b/resources/scripts/components/CompanySwitcher.vue @@ -45,7 +45,7 @@ > @@ -77,7 +77,7 @@ - + - + {{ $t('company_switcher.no_results_found') }} @@ -120,10 +120,10 @@ px-3 rounded-md cursor-pointer - hover:bg-gray-100 hover:text-primary-500 + hover:bg-hover-strong hover:text-primary-500 " :class="{ - 'bg-gray-100 text-primary-500': + 'bg-surface-tertiary text-primary-500': companyStore.selectedCompany && companyStore.selectedCompany.id === company.id, }" @click="changeCompany(company)" @@ -138,7 +138,7 @@ overflow-hidden text-base font-semibold - bg-gray-200 + bg-surface-muted rounded-md w-9 h-9 @@ -166,12 +166,12 @@ {{ $t('members.pending_invitations') }} @@ -186,14 +186,14 @@ class=" flex items-center justify-center mr-3 overflow-hidden text-xs font-semibold - bg-gray-200 rounded-md w-9 h-9 shrink-0 text-gray-400 + bg-surface-muted rounded-md w-9 h-9 shrink-0 text-subtle " > {{ initGenerator(invitation.company?.name || '?') }} - {{ invitation.company?.name }} - {{ invitation.role?.title }} + {{ invitation.company?.name }} + {{ invitation.role?.title }} @@ -204,7 +204,7 @@ {{ $t('general.accept') }} {{ $t('general.decline') }} @@ -221,7 +221,7 @@ justify-center p-4 pl-3 - border-t-2 border-gray-100 + border-t-2 border-line-light cursor-pointer text-primary-400 hover:text-primary-500 diff --git a/resources/scripts/components/GlobalSearchBar.vue b/resources/scripts/components/GlobalSearchBar.vue index 015d49be..dbcfbfa2 100644 --- a/resources/scripts/components/GlobalSearchBar.vue +++ b/resources/scripts/components/GlobalSearchBar.vue @@ -9,7 +9,7 @@ @input="onSearch" > - + @@ -32,7 +32,7 @@ scrollbar-thumb-gray-300 scrollbar-track-gray-100 overflow-y-auto - bg-white + bg-surface rounded-md mt-2 shadow-lg @@ -51,24 +51,24 @@ flex items-center justify-center - text-gray-400 text-base + text-subtle text-base flex-col mt-4 " > - + {{ $t('global_search.no_results_found') }} - + {{ $t('global_search.customers') }} {{ customer.name }} {{ customer.contact_name }} - {{ + {{ customer.email }} @@ -109,14 +109,14 @@ {{ $t('global_search.users') }} {{ user.name }} - {{ user.email }} + {{ user.email }} diff --git a/resources/scripts/components/InvoiceInformationCard.vue b/resources/scripts/components/InvoiceInformationCard.vue index 53219252..17c7436a 100644 --- a/resources/scripts/components/InvoiceInformationCard.vue +++ b/resources/scripts/components/InvoiceInformationCard.vue @@ -1,33 +1,33 @@ - + - + {{ $t('invoices.invoice_information') }} - - + + - + {{ $t('general.from') }} - + {{ invoice.company.name }} - + {{ $t('general.to') }} - + {{ invoice.customer.name }} - + {{ $t('invoices.paid_status').toLowerCase() }} - + - + {{ $t('invoices.total') }} - + - + {{ $t('invoices.notes') }} - + diff --git a/resources/scripts/components/InvoicePublicPage.vue b/resources/scripts/components/InvoicePublicPage.vue index 6cb0b772..b350026c 100644 --- a/resources/scripts/components/InvoicePublicPage.vue +++ b/resources/scripts/components/InvoicePublicPage.vue @@ -61,7 +61,7 @@ I Powered by diff --git a/resources/scripts/components/base-select/BaseMultiselect.vue b/resources/scripts/components/base-select/BaseMultiselect.vue index 6b173ef3..3e4ee669 100755 --- a/resources/scripts/components/base-select/BaseMultiselect.vue +++ b/resources/scripts/components/base-select/BaseMultiselect.vue @@ -437,9 +437,9 @@ export default { required: false, default: () => ({ container: - 'p-0 relative mx-auto w-full flex items-center justify-end box-border cursor-pointer border border-gray-200 rounded-md bg-white text-sm leading-snug outline-hidden max-h-10', + 'p-0 relative mx-auto w-full flex items-center justify-end box-border cursor-pointer border border-line-default rounded-md bg-surface text-sm leading-snug outline-hidden max-h-10', containerDisabled: - 'cursor-default bg-gray-200/50 !text-gray-400', + 'cursor-default bg-surface-muted/50 !text-subtle', containerOpen: '', containerOpenTop: '', containerActive: 'ring-1 ring-primary-400 border-primary-400', @@ -451,10 +451,10 @@ export default { multipleLabel: 'flex items-center h-full absolute left-0 top-0 pointer-events-none bg-transparent leading-snug pl-3.5', search: - 'w-full absolute inset-0 outline-hidden appearance-none box-border border-0 text-sm font-sans bg-white rounded-md pl-3.5', + 'w-full absolute inset-0 outline-hidden appearance-none box-border border-0 text-sm font-sans bg-surface rounded-md pl-3.5', tags: 'grow shrink flex flex-wrap mt-1 pl-2', tag: 'bg-primary-500 text-white text-sm font-semibold py-0.5 pl-2 rounded mr-1 mb-1 flex items-center whitespace-nowrap', - tagDisabled: 'pr-2 !bg-gray-400 text-white', + tagDisabled: 'pr-2 !bg-subtle text-white', tagRemove: 'flex items-center justify-center p-1 mx-0.5 rounded-xs hover:bg-black/10 group', tagRemoveIcon: @@ -464,7 +464,7 @@ export default { 'absolute inset-0 border-0 focus:outline-hidden !shadow-none !focus:shadow-none appearance-none p-0 text-sm font-sans box-border w-full', tagsSearchCopy: 'invisible whitespace-pre-wrap inline-block h-px', placeholder: - 'flex items-center h-full absolute left-0 top-0 pointer-events-none bg-transparent leading-snug pl-3.5 text-gray-400 text-sm', + 'flex items-center h-full absolute left-0 top-0 pointer-events-none bg-transparent leading-snug pl-3.5 text-subtle text-sm', caret: 'bg-multiselect-caret bg-center bg-no-repeat w-5 h-5 py-px box-content z-5 relative mr-1 opacity-40 shrink-0 grow-0 transition-transform', caretOpen: 'rotate-180 pointer-events-auto', @@ -475,7 +475,7 @@ export default { spinner: 'bg-multiselect-spinner bg-center bg-no-repeat w-4 h-4 z-10 mr-3.5 animate-spin shrink-0 grow-0', dropdown: - 'max-h-60 shadow-lg absolute -left-px -right-px -bottom-1 border border-gray-300 mt-1 overflow-y-auto z-50 bg-white flex flex-col rounded-md', + 'max-h-60 shadow-lg absolute -left-px -right-px -bottom-1 border border-line-strong mt-1 overflow-y-auto z-50 bg-surface flex flex-col rounded-md', dropdownTop: '-translate-y-full -top-2 bottom-auto flex-col-reverse rounded-md', dropdownBottom: 'translate-y-full', @@ -484,25 +484,25 @@ export default { optionsTop: 'flex-col-reverse', group: 'p-0 m-0', groupLabel: - 'flex text-sm box-border items-center justify-start text-left py-1 px-3 font-semibold bg-gray-200 cursor-default leading-normal', + 'flex text-sm box-border items-center justify-start text-left py-1 px-3 font-semibold bg-surface-muted cursor-default leading-normal', groupLabelPointable: 'cursor-pointer', - groupLabelPointed: 'bg-gray-300 text-gray-700', + groupLabelPointed: 'bg-surface-muted text-body', groupLabelSelected: 'bg-primary-600 text-white', - groupLabelDisabled: 'bg-gray-100 text-gray-300 cursor-not-allowed', + groupLabelDisabled: 'bg-surface-tertiary text-subtle cursor-not-allowed', groupLabelSelectedPointed: 'bg-primary-600 text-white opacity-90', groupLabelSelectedDisabled: 'text-primary-100 bg-primary-600/50 cursor-not-allowed', groupOptions: 'p-0 m-0', option: 'flex items-center justify-start box-border text-left cursor-pointer text-sm leading-snug py-2 px-3', - optionPointed: 'text-gray-800 bg-gray-100', + optionPointed: 'text-heading bg-surface-tertiary', optionSelected: 'text-white bg-primary-500', - optionDisabled: 'text-gray-300 cursor-not-allowed', + optionDisabled: 'text-subtle cursor-not-allowed', optionSelectedPointed: 'text-white bg-primary-500 opacity-90', optionSelectedDisabled: 'text-primary-100 bg-primary-500/50 cursor-not-allowed', - noOptions: 'py-2 px-3 text-gray-600 bg-white', - noResults: 'py-2 px-3 text-gray-600 bg-white', + noOptions: 'py-2 px-3 text-muted bg-surface', + noResults: 'py-2 px-3 text-muted bg-surface', fakeInput: 'bg-transparent absolute left-0 right-0 -bottom-px w-full h-px border-0 p-0 appearance-none outline-hidden text-transparent', spacer: 'h-9 py-px box-content', diff --git a/resources/scripts/components/base/BaseBadge.vue b/resources/scripts/components/base/BaseBadge.vue index 228bc566..a75c2d1a 100644 --- a/resources/scripts/components/base/BaseBadge.vue +++ b/resources/scripts/components/base/BaseBadge.vue @@ -5,7 +5,7 @@ py-1 text-sm font-normal - text-center text-green-800 + text-center text-status-green uppercase bg-success " diff --git a/resources/scripts/components/base/BaseBreadcrumb.vue b/resources/scripts/components/base/BaseBreadcrumb.vue index 07afcf02..d28ef414 100644 --- a/resources/scripts/components/base/BaseBreadcrumb.vue +++ b/resources/scripts/components/base/BaseBreadcrumb.vue @@ -1,6 +1,6 @@ - + diff --git a/resources/scripts/components/base/BaseBreadcrumbItem.vue b/resources/scripts/components/base/BaseBreadcrumbItem.vue index b19ab0cc..323bfb44 100644 --- a/resources/scripts/components/base/BaseBreadcrumbItem.vue +++ b/resources/scripts/components/base/BaseBreadcrumbItem.vue @@ -7,7 +7,7 @@ text-sm font-medium leading-5 - text-gray-900 + text-heading outline-hidden focus:ring-2 focus:ring-offset-2 focus:ring-primary-400 " diff --git a/resources/scripts/components/base/BaseButton.vue b/resources/scripts/components/base/BaseButton.vue index 38a45d72..ce1756f3 100644 --- a/resources/scripts/components/base/BaseButton.vue +++ b/resources/scripts/components/base/BaseButton.vue @@ -54,11 +54,11 @@ const props = defineProps({ const sizeClass = computed(() => { return { - 'px-2.5 py-1.5 text-xs leading-4 rounded': props.size === 'xs', - 'px-3 py-2 text-sm leading-4 rounded-md': props.size == 'sm', - 'px-4 py-2 text-sm leading-5 rounded-md': props.size === 'md', - 'px-4 py-2 text-base leading-6 rounded-md': props.size === 'lg', - 'px-6 py-3 text-base leading-6 rounded-md': props.size === 'xl', + 'px-2.5 py-1.5 text-xs leading-4 rounded-lg': props.size === 'xs', + 'px-3 py-2 text-sm leading-4 rounded-lg': props.size == 'sm', + 'px-4 py-2 text-sm leading-5 rounded-lg': props.size === 'md', + 'px-4 py-2 text-base leading-6 rounded-lg': props.size === 'lg', + 'px-6 py-3 text-base leading-6 rounded-lg': props.size === 'xl', } }) @@ -87,11 +87,11 @@ const variantClass = computed(() => { props.variant === 'secondary', 'border-solid border-primary-500 font-normal transition ease-in-out duration-150 text-primary-500 hover:bg-primary-200 shadow-inner focus:ring-primary-500': props.variant == 'primary-outline', - 'border-gray-200 text-gray-700 bg-white hover:bg-gray-50 focus:ring-primary-500 focus:ring-offset-0': + 'border-line-default text-body bg-surface hover:bg-hover focus:ring-primary-500 focus:ring-offset-0': props.variant == 'white', 'border-transparent shadow-xs text-white bg-red-600 hover:bg-red-700 focus:ring-red-500': props.variant === 'danger', - 'border-transparent bg-gray-200 border hover:bg-gray-200/60 focus:ring-gray-500 focus:ring-offset-0': + 'border-transparent bg-surface-muted border hover:bg-surface-muted/60 focus:ring-gray-500 focus:ring-offset-0': props.variant === 'gray', } }) @@ -112,8 +112,8 @@ const iconVariantClass = computed(() => { return { 'text-white': props.variant === 'primary', 'text-primary-700': props.variant === 'secondary', - 'text-gray-700': props.variant === 'white', - 'text-gray-400': props.variant === 'gray', + 'text-body': props.variant === 'white', + 'text-subtle': props.variant === 'gray', } }) diff --git a/resources/scripts/components/base/BaseCard.vue b/resources/scripts/components/base/BaseCard.vue index c4ef52d3..5776eb49 100644 --- a/resources/scripts/components/base/BaseCard.vue +++ b/resources/scripts/components/base/BaseCard.vue @@ -1,8 +1,8 @@ - + @@ -11,7 +11,7 @@ diff --git a/resources/scripts/components/base/BaseCheckbox.vue b/resources/scripts/components/base/BaseCheckbox.vue index c5e1d4d7..5e9cf914 100644 --- a/resources/scripts/components/base/BaseCheckbox.vue +++ b/resources/scripts/components/base/BaseCheckbox.vue @@ -15,12 +15,12 @@ v-if="label" :for="id" :class="`font-medium ${ - disabled ? 'text-gray-400 cursor-not-allowed' : 'text-gray-600' + disabled ? 'text-subtle cursor-not-allowed' : 'text-body' } cursor-pointer `" > {{ label }} - {{ description }} + {{ description }} @@ -51,7 +51,7 @@ const props = defineProps({ }, checkboxClass: { type: String, - default: 'w-4 h-4 border-gray-300 rounded cursor-pointer', + default: 'w-4 h-4 border-line-strong rounded cursor-pointer', }, setInitialValue: { type: Boolean, @@ -75,7 +75,7 @@ const checked = computed({ const disabledClass = computed(() => { if (props.disabled) { - return 'text-gray-300 cursor-not-allowed' + return 'text-subtle cursor-not-allowed' } return 'text-primary-600 focus:ring-primary-500' diff --git a/resources/scripts/components/base/BaseContentPlaceholders.vue b/resources/scripts/components/base/BaseContentPlaceholders.vue index 57543abd..47f91461 100644 --- a/resources/scripts/components/base/BaseContentPlaceholders.vue +++ b/resources/scripts/components/base/BaseContentPlaceholders.vue @@ -55,7 +55,7 @@ const classObject = computed(() => { position: relative; overflow: hidden; min-height: 15px; - background: #eee; + background: var(--color-surface-muted); .base-content-placeholders-is-rounded & { border-radius: 6px; @@ -72,7 +72,7 @@ const classObject = computed(() => { width: 100vw; max-width: 1000px; height: 100%; - background: linear-gradient(to right, transparent 0%, #e1e1e1 15%, transparent 30%); + background: linear-gradient(to right, transparent 0%, var(--color-hover-strong) 15%, transparent 30%); animation: vueContentPlaceholdersAnimation 1.5s linear infinite forwards; } } @@ -87,7 +87,7 @@ const classObject = computed(() => { .base-content-placeholders-heading__title { width: 85%; margin-bottom: 10px; - background: #ccc; + background: var(--color-surface-muted); position: relative; overflow: hidden; min-height: 15px; @@ -107,7 +107,7 @@ const classObject = computed(() => { width: 100vw; max-width: 1000px; height: 100%; - background: linear-gradient(to right, transparent 0%, #e1e1e1 15%, transparent 30%); + background: linear-gradient(to right, transparent 0%, var(--color-hover-strong) 15%, transparent 30%); animation: vueContentPlaceholdersAnimation 1.5s linear infinite forwards; } } @@ -117,7 +117,7 @@ const classObject = computed(() => { position: relative; overflow: hidden; min-height: 15px; - background: #eee; + background: var(--color-surface-muted); .base-content-placeholders-is-rounded & { border-radius: 6px; @@ -134,7 +134,7 @@ const classObject = computed(() => { width: 100vw; max-width: 1000px; height: 100%; - background: linear-gradient(to right, transparent 0%, #e1e1e1 15%, transparent 30%); + background: linear-gradient(to right, transparent 0%, var(--color-hover-strong) 15%, transparent 30%); animation: vueContentPlaceholdersAnimation 1.5s linear infinite forwards; } } @@ -151,7 +151,7 @@ const classObject = computed(() => { position: relative; overflow: hidden; min-height: 15px; - background: #eee; + background: var(--color-surface-muted); .base-content-placeholders-is-rounded & { border-radius: 6px; @@ -168,7 +168,7 @@ const classObject = computed(() => { width: 100vw; max-width: 1000px; height: 100%; - background: linear-gradient(to right, transparent 0%, #e1e1e1 15%, transparent 30%); + background: linear-gradient(to right, transparent 0%, var(--color-hover-strong) 15%, transparent 30%); animation: vueContentPlaceholdersAnimation 1.5s linear infinite forwards; } @@ -190,7 +190,7 @@ const classObject = computed(() => { position: relative; overflow: hidden; min-height: 15px; - background: #eee; + background: var(--color-surface-muted); .base-content-placeholders-is-animated &::before { content: ''; @@ -200,7 +200,7 @@ const classObject = computed(() => { width: 100vw; max-width: 1000px; height: 100%; - background: linear-gradient(to right, transparent 0%, #e1e1e1 15%, transparent 30%); + background: linear-gradient(to right, transparent 0%, var(--color-hover-strong) 15%, transparent 30%); animation: vueContentPlaceholdersAnimation 1.5s linear infinite forwards; } } diff --git a/resources/scripts/components/base/BaseCustomInput.vue b/resources/scripts/components/base/BaseCustomInput.vue index ca911e3a..84316e55 100644 --- a/resources/scripts/components/base/BaseCustomInput.vue +++ b/resources/scripts/components/base/BaseCustomInput.vue @@ -27,7 +27,7 @@ - + {{ type.label }} @@ -39,7 +39,7 @@ text-sm font-normal cursor-pointer - hover:bg-gray-100 + hover:bg-hover-strong rounded ml-1 py-0.5 @@ -49,7 +49,7 @@ {{ field.label }} diff --git a/resources/scripts/components/base/BaseCustomerAddressDisplay.vue b/resources/scripts/components/base/BaseCustomerAddressDisplay.vue index fa2a880d..cb34f710 100644 --- a/resources/scripts/components/base/BaseCustomerAddressDisplay.vue +++ b/resources/scripts/components/base/BaseCustomerAddressDisplay.vue @@ -1,7 +1,7 @@ {{ address?.address_street_1 }}, diff --git a/resources/scripts/components/base/BaseCustomerSelectPopup.vue b/resources/scripts/components/base/BaseCustomerSelectPopup.vue index 9557f882..4fe37052 100644 --- a/resources/scripts/components/base/BaseCustomerSelectPopup.vue +++ b/resources/scripts/components/base/BaseCustomerSelectPopup.vue @@ -16,8 +16,8 @@ class=" flex flex-col p-4 - bg-white - border border-gray-200 border-solid + bg-surface + border border-line-default border-solid min-h-[170px] rounded-md " @@ -26,7 +26,7 @@ - + {{ $t('general.edit') }} @@ -61,7 +61,7 @@ " @click="resetSelectedCustomer" > - + {{ $t('general.deselect') }} @@ -73,7 +73,7 @@ mb-1 text-sm font-medium - text-left text-gray-400 + text-left text-subtle uppercase whitespace-nowrap " @@ -123,7 +123,7 @@ mb-1 text-sm font-medium - text-left text-gray-400 + text-left text-subtle uppercase whitespace-nowrap " @@ -187,8 +187,8 @@ px-0 p-0 py-16 - bg-white - border border-gray-200 border-solid + bg-surface + border border-line-default border-solid rounded-md min-h-[170px] " @@ -203,14 +203,14 @@ p-2 mr-5 text-sm text-white - bg-gray-200 + bg-surface-muted rounded-full font-base " /> - + {{ $t('customers.new_customer') }} * @@ -244,7 +244,7 @@ rounded-md shadow-lg ring-1 ring-black/5 - bg-white + bg-surface " > @@ -263,7 +263,7 @@ flex flex-col overflow-auto list - border-t border-gray-200 + border-t border-line-default " > @@ -330,9 +330,9 @@ - + {{ $t('customers.no_customers_found') }} @@ -350,10 +350,10 @@ w-full px-2 py-3 - bg-gray-200 + bg-surface-muted border-none outline-hidden - focus:bg-gray-300 + focus:bg-surface-muted " @click="openCustomerModal" > diff --git a/resources/scripts/components/base/BaseDatePicker.vue b/resources/scripts/components/base/BaseDatePicker.vue index c29bdd9e..1605f19b 100644 --- a/resources/scripts/components/base/BaseDatePicker.vue +++ b/resources/scripts/components/base/BaseDatePicker.vue @@ -21,7 +21,7 @@ text-sm not-italic font-black - text-gray-400 + text-subtle cursor-pointer " @click="onClickDp" @@ -121,7 +121,7 @@ const props = defineProps({ defaultInputClass: { type: String, default: - 'font-base pl-8 py-2 outline-hidden focus:ring-primary-400 focus:outline-hidden focus:border-primary-400 block w-full sm:text-sm border-gray-200 rounded-md text-black', + 'font-base pl-8 py-2 outline-hidden focus:ring-primary-400 focus:outline-hidden focus:border-primary-400 block w-full sm:text-sm border-line-default rounded-md text-heading', }, time24hr: { type: Boolean, @@ -282,7 +282,7 @@ const inputInvalidClass = computed(() => { const inputDisabledClass = computed(() => { if (props.disabled) { - return 'border border-solid rounded-md outline-hidden input-field box-border-2 base-date-picker-input placeholder-gray-400 bg-gray-200 text-gray-600 border-gray-200' + return 'border border-solid rounded-md outline-hidden input-field box-border-2 base-date-picker-input placeholder-gray-400 bg-surface-muted text-body border-line-default' } return '' diff --git a/resources/scripts/components/base/BaseDescriptionListItem.vue b/resources/scripts/components/base/BaseDescriptionListItem.vue index 6140fc4b..76496a29 100644 --- a/resources/scripts/components/base/BaseDescriptionListItem.vue +++ b/resources/scripts/components/base/BaseDescriptionListItem.vue @@ -10,7 +10,7 @@ {{ label }} - + {{ value }} diff --git a/resources/scripts/components/base/BaseDialog.vue b/resources/scripts/components/base/BaseDialog.vue index e65ca5d0..5d56fb88 100644 --- a/resources/scripts/components/base/BaseDialog.vue +++ b/resources/scripts/components/base/BaseDialog.vue @@ -30,7 +30,7 @@ leave-to="opacity-0" > @@ -59,7 +59,7 @@ text-left align-bottom transition-all - bg-white + bg-surface rounded-lg shadow-xl sm:my-8 sm:align-middle sm:w-full sm:p-6 @@ -76,35 +76,35 @@ w-12 h-12 mx-auto - bg-green-100 + bg-alert-success-bg rounded-full " :class="{ - 'bg-green-100': dialogStore.variant === 'primary', - 'bg-red-100': dialogStore.variant === 'danger', + 'bg-alert-success-bg': dialogStore.variant === 'primary', + 'bg-alert-error-bg': dialogStore.variant === 'danger', }" > {{ dialogStore.title }} - + {{ dialogStore.message }} diff --git a/resources/scripts/components/base/BaseDivider.vue b/resources/scripts/components/base/BaseDivider.vue index 327cfe0e..6a529918 100644 --- a/resources/scripts/components/base/BaseDivider.vue +++ b/resources/scripts/components/base/BaseDivider.vue @@ -1,3 +1,3 @@ - + diff --git a/resources/scripts/components/base/BaseDropdown.vue b/resources/scripts/components/base/BaseDropdown.vue index 69f9ea84..94281fa6 100644 --- a/resources/scripts/components/base/BaseDropdown.vue +++ b/resources/scripts/components/base/BaseDropdown.vue @@ -69,7 +69,7 @@ const props = defineProps({ }) const containerClasses = computed(() => { - const baseClass = `origin-top-right rounded-md shadow-lg bg-white ring-1 ring-black/5 divide-y divide-gray-100 focus:outline-hidden` + const baseClass = `origin-top-right rounded-md shadow-lg bg-surface ring-1 ring-black/5 divide-y divide-line-light focus:outline-hidden` return `${baseClass} ${props.containerClass}` }) diff --git a/resources/scripts/components/base/BaseDropdownItem.vue b/resources/scripts/components/base/BaseDropdownItem.vue index 7336a47a..c93d1202 100644 --- a/resources/scripts/components/base/BaseDropdownItem.vue +++ b/resources/scripts/components/base/BaseDropdownItem.vue @@ -3,7 +3,7 @@ diff --git a/resources/scripts/components/base/BaseEmptyPlaceholder.vue b/resources/scripts/components/base/BaseEmptyPlaceholder.vue index c89265d6..a888ebf6 100644 --- a/resources/scripts/components/base/BaseEmptyPlaceholder.vue +++ b/resources/scripts/components/base/BaseEmptyPlaceholder.vue @@ -7,7 +7,7 @@ {{ title }} - + {{ description }} diff --git a/resources/scripts/components/base/BaseErrorAlert.vue b/resources/scripts/components/base/BaseErrorAlert.vue index c80a5849..2bebfa26 100644 --- a/resources/scripts/components/base/BaseErrorAlert.vue +++ b/resources/scripts/components/base/BaseErrorAlert.vue @@ -1,14 +1,14 @@ - + - + - + {{ errorTitle }} - + {{ error }} diff --git a/resources/scripts/components/base/BaseEstimateStatusBadge.vue b/resources/scripts/components/base/BaseEstimateStatusBadge.vue index 203a9517..c9ac54a7 100644 --- a/resources/scripts/components/base/BaseEstimateStatusBadge.vue +++ b/resources/scripts/components/base/BaseEstimateStatusBadge.vue @@ -18,19 +18,19 @@ const props = defineProps({ const badgeColorClasses = computed(() => { switch (props.status) { case 'DRAFT': - return 'bg-yellow-300/25 px-2 py-1 text-sm text-yellow-800 uppercase font-normal text-center ' + return 'bg-yellow-300/25 px-2 py-1 text-sm text-status-yellow uppercase font-normal text-center ' case 'SENT': - return ' bg-yellow-500/25 px-2 py-1 text-sm text-yellow-900 uppercase font-normal text-center ' + return ' bg-yellow-500/25 px-2 py-1 text-sm text-status-yellow uppercase font-normal text-center ' case 'VIEWED': - return 'bg-blue-400/25 px-2 py-1 text-sm text-blue-900 uppercase font-normal text-center' + return 'bg-blue-400/25 px-2 py-1 text-sm text-status-blue uppercase font-normal text-center' case 'EXPIRED': - return 'bg-red-300/25 px-2 py-1 text-sm text-red-800 uppercase font-normal text-center' + return 'bg-red-300/25 px-2 py-1 text-sm text-status-red uppercase font-normal text-center' case 'ACCEPTED': - return 'bg-green-400/25 px-2 py-1 text-sm text-green-800 uppercase font-normal text-center' + return 'bg-green-400/25 px-2 py-1 text-sm text-status-green uppercase font-normal text-center' case 'REJECTED': - return 'bg-purple-300/25 px-2 py-1 text-sm text-purple-800 uppercase font-normal text-center' + return 'bg-purple-300/25 px-2 py-1 text-sm text-status-purple uppercase font-normal text-center' default: - return 'bg-gray-500/25 px-2 py-1 text-sm text-gray-900 uppercase font-normal text-center' + return 'bg-surface-secondary0/25 px-2 py-1 text-sm text-heading uppercase font-normal text-center' } }) diff --git a/resources/scripts/components/base/BaseFileUploader.vue b/resources/scripts/components/base/BaseFileUploader.vue index 8e0c0385..794faaa4 100644 --- a/resources/scripts/components/base/BaseFileUploader.vue +++ b/resources/scripts/components/base/BaseFileUploader.vue @@ -11,15 +11,15 @@ rounded-md cursor-pointer avatar-upload - border-gray-300 + border-line-strong transition-all duration-300 ease-in-out isolate - hover:border-gray-300 + hover:border-line-strong group min-h-[100px] - bg-gray-50 + bg-surface-secondary " :class="avatar ? 'w-32 h-32' : 'w-full'" > @@ -48,7 +48,7 @@ - + {{ $t('general.file_upload.drag_a_file') }} + {{ recommendedText }} - + @@ -188,8 +188,8 @@ block p-2 m-2 - bg-white - border border-gray-200 + bg-surface + border border-line-default rounded hover:border-gray-500 relative @@ -211,7 +211,7 @@ flex justify-center items-center - text-gray-400 + text-subtle flex-col space-y-2 px-2 @@ -238,7 +238,7 @@ - + @@ -286,8 +286,8 @@ block p-2 m-2 - bg-white - border border-gray-200 + bg-surface + border border-line-default rounded hover:border-gray-500 relative @@ -309,7 +309,7 @@ flex justify-center items-center - text-gray-400 + text-subtle flex-col space-y-2 px-2 @@ -336,7 +336,7 @@ - + diff --git a/resources/scripts/components/base/BaseFilterWrapper.vue b/resources/scripts/components/base/BaseFilterWrapper.vue index 5db8358c..8a805c1c 100644 --- a/resources/scripts/components/base/BaseFilterWrapper.vue +++ b/resources/scripts/components/base/BaseFilterWrapper.vue @@ -7,7 +7,7 @@ leave-from-class="opacity-100" leave-to-class="opacity-0" > - + { return { - 'text-gray-900 text-lg font-medium': props.type === 'heading-title', - 'text-gray-500 uppercase text-base': props.type === 'section-title', + 'text-heading text-lg font-medium': props.type === 'heading-title', + 'text-muted uppercase text-base': props.type === 'section-title', } }) diff --git a/resources/scripts/components/base/BaseInfoAlert.vue b/resources/scripts/components/base/BaseInfoAlert.vue index 6a0391d7..5d8933f2 100644 --- a/resources/scripts/components/base/BaseInfoAlert.vue +++ b/resources/scripts/components/base/BaseInfoAlert.vue @@ -1,8 +1,8 @@ - + @@ -10,15 +10,15 @@ - + {{ title }} - + {{ list }} @@ -34,14 +34,14 @@ :key="i" type="button" class=" - bg-yellow-50 + bg-alert-warning-bg px-2 py-1.5 rounded-md text-sm font-medium - text-yellow-800 - hover:bg-yellow-100 + text-alert-warning-text + hover:bg-alert-warning-bg focus:outline-hidden focus:ring-2 focus:ring-offset-2 diff --git a/resources/scripts/components/base/BaseInput.vue b/resources/scripts/components/base/BaseInput.vue index fb32fd96..86b0ea45 100644 --- a/resources/scripts/components/base/BaseInput.vue +++ b/resources/scripts/components/base/BaseInput.vue @@ -60,10 +60,10 @@ inline-flex items-center px-3 - text-gray-500 - border border-r-0 border-gray-200 + text-muted + border border-r-0 border-line-default rounded-l-md - bg-gray-50 + bg-surface-secondary sm:text-sm " > @@ -82,7 +82,7 @@ pointer-events-none " > - + {{ inlineAddon }} @@ -199,15 +199,15 @@ const props = defineProps({ defaultInputClass: { type: String, default: - 'font-base block w-full sm:text-sm border-gray-200 rounded-md text-black', + 'font-base block w-full sm:text-sm border-line-default rounded-md text-heading', }, iconLeftClass: { type: String, - default: 'h-5 w-5 text-gray-400', + default: 'h-5 w-5 text-subtle', }, iconRightClass: { type: String, - default: 'h-5 w-5 text-gray-400', + default: 'h-5 w-5 text-subtle', }, modelModifiers: { default: () => ({}), @@ -258,7 +258,7 @@ const inputInvalidClass = computed(() => { const inputDisabledClass = computed(() => { if (props.disabled) { - return `border-gray-100 bg-gray-100 !text-gray-400 ring-gray-200 focus:ring-gray-200 focus:border-gray-100` + return `border-line-light bg-surface-tertiary !text-subtle ring-surface-muted focus:ring-surface-muted focus:border-line-light` } return '' diff --git a/resources/scripts/components/base/BaseInputGroup.vue b/resources/scripts/components/base/BaseInputGroup.vue index 31d83fb9..850b763a 100644 --- a/resources/scripts/components/base/BaseInputGroup.vue +++ b/resources/scripts/components/base/BaseInputGroup.vue @@ -12,7 +12,7 @@ not-italic items-center font-medium - text-gray-800 + text-heading whitespace-nowrap justify-between " @@ -26,12 +26,12 @@ v-if="tooltip" v-tooltip="{ content: tooltip }" name="InformationCircleIcon" - class="h-4 text-gray-400 cursor-pointer hover:text-gray-600" + class="h-4 text-subtle cursor-pointer hover:text-body" /> - + {{ helpText }} diff --git a/resources/scripts/components/base/BaseInvoiceStatusBadge.vue b/resources/scripts/components/base/BaseInvoiceStatusBadge.vue index 14840c40..08b6d32b 100644 --- a/resources/scripts/components/base/BaseInvoiceStatusBadge.vue +++ b/resources/scripts/components/base/BaseInvoiceStatusBadge.vue @@ -20,25 +20,25 @@ export default { const badgeColorClasses = computed(() => { switch (props.status) { case 'DRAFT': - return 'bg-yellow-300/25 px-2 py-1 text-sm text-yellow-800 uppercase font-normal text-center' + return 'bg-yellow-300/25 px-2 py-1 text-sm text-status-yellow uppercase font-normal text-center' case 'SENT': - return ' bg-yellow-500/25 px-2 py-1 text-sm text-yellow-900 uppercase font-normal text-center ' + return ' bg-yellow-500/25 px-2 py-1 text-sm text-status-yellow uppercase font-normal text-center ' case 'VIEWED': - return 'bg-blue-400/25 px-2 py-1 text-sm text-blue-900 uppercase font-normal text-center' + return 'bg-blue-400/25 px-2 py-1 text-sm text-status-blue uppercase font-normal text-center' case 'COMPLETED': - return 'bg-green-500/25 px-2 py-1 text-sm text-green-900 uppercase font-normal text-center' + return 'bg-green-500/25 px-2 py-1 text-sm text-status-green uppercase font-normal text-center' case 'DUE': - return 'bg-yellow-500/25 px-2 py-1 text-sm text-yellow-900 uppercase font-normal text-center' + return 'bg-yellow-500/25 px-2 py-1 text-sm text-status-yellow uppercase font-normal text-center' case 'OVERDUE': - return 'bg-red-300/50 px-2 py-1 text-sm text-red-900 uppercase font-normal text-center' + return 'bg-red-300/50 px-2 py-1 text-sm text-status-red uppercase font-normal text-center' case 'UNPAID': - return 'bg-yellow-500/25 px-2 py-1 text-sm text-yellow-900 uppercase font-normal text-center' + return 'bg-yellow-500/25 px-2 py-1 text-sm text-status-yellow uppercase font-normal text-center' case 'PARTIALLY_PAID': - return 'bg-blue-400/25 px-2 py-1 text-sm text-blue-900 uppercase font-normal text-center' + return 'bg-blue-400/25 px-2 py-1 text-sm text-status-blue uppercase font-normal text-center' case 'PAID': - return 'bg-green-500/25 px-2 py-1 text-sm text-green-900 uppercase font-normal text-center' + return 'bg-green-500/25 px-2 py-1 text-sm text-status-green uppercase font-normal text-center' default: - return 'bg-gray-500/25 px-2 py-1 text-sm text-gray-900 uppercase font-normal text-center' + return 'bg-surface-secondary0/25 px-2 py-1 text-sm text-heading uppercase font-normal text-center' } }) return { badgeColorClasses } diff --git a/resources/scripts/components/base/BaseItemSelect.vue b/resources/scripts/components/base/BaseItemSelect.vue index df1aa583..74ab4a15 100644 --- a/resources/scripts/components/base/BaseItemSelect.vue +++ b/resources/scripts/components/base/BaseItemSelect.vue @@ -9,15 +9,15 @@ items-center h-10 pl-2 - bg-gray-200 - border border-gray-200 border-solid + bg-surface-muted + border border-line-default border-solid rounded " > {{ item.name }} diff --git a/resources/scripts/components/base/BaseModal.vue b/resources/scripts/components/base/BaseModal.vue index 2d0c85d2..4ec0aad6 100644 --- a/resources/scripts/components/base/BaseModal.vue +++ b/resources/scripts/components/base/BaseModal.vue @@ -51,7 +51,7 @@ diff --git a/resources/scripts/components/base/BaseMoney.vue b/resources/scripts/components/base/BaseMoney.vue index bdc4f89e..acec5313 100644 --- a/resources/scripts/components/base/BaseMoney.vue +++ b/resources/scripts/components/base/BaseMoney.vue @@ -39,7 +39,7 @@ const props = defineProps({ inputClass: { type: String, default: - 'font-base block w-full sm:text-sm border-gray-200 rounded-md text-black', + 'font-base block w-full sm:text-sm border-line-default rounded-md text-heading', }, disabled: { type: Boolean, diff --git a/resources/scripts/components/base/BaseNewBadge.vue b/resources/scripts/components/base/BaseNewBadge.vue index 47f3b38e..a5d55164 100644 --- a/resources/scripts/components/base/BaseNewBadge.vue +++ b/resources/scripts/components/base/BaseNewBadge.vue @@ -1,7 +1,7 @@ diff --git a/resources/scripts/components/base/BasePageHeader.vue b/resources/scripts/components/base/BasePageHeader.vue index b85b5389..15718eaf 100644 --- a/resources/scripts/components/base/BasePageHeader.vue +++ b/resources/scripts/components/base/BasePageHeader.vue @@ -1,7 +1,7 @@ - + {{ title }} diff --git a/resources/scripts/components/base/BasePaidStatusBadge.vue b/resources/scripts/components/base/BasePaidStatusBadge.vue index 67012a31..c70ca34a 100644 --- a/resources/scripts/components/base/BasePaidStatusBadge.vue +++ b/resources/scripts/components/base/BasePaidStatusBadge.vue @@ -26,13 +26,13 @@ export default { case 'PAID': return 'bg-primary-300/25 text-primary-800 uppercase font-normal text-center' case 'UNPAID': - return ' bg-yellow-500/25 text-yellow-900 uppercase font-normal text-center ' + return ' bg-yellow-500/25 text-status-yellow uppercase font-normal text-center ' case 'PARTIALLY_PAID': - return 'bg-blue-400/25 text-blue-900 uppercase font-normal text-center' + return 'bg-blue-400/25 text-status-blue uppercase font-normal text-center' case 'OVERDUE': - return 'bg-red-300/50 px-2 py-1 text-sm text-red-900 uppercase font-normal text-center' + return 'bg-red-300/50 px-2 py-1 text-sm text-status-red uppercase font-normal text-center' default: - return 'bg-gray-500/25 text-gray-900 uppercase font-normal text-center' + return 'bg-surface-secondary0/25 text-heading uppercase font-normal text-center' } }) return { badgeColorClasses } diff --git a/resources/scripts/components/base/BaseRadio.vue b/resources/scripts/components/base/BaseRadio.vue index 8a719673..602fd3fd 100644 --- a/resources/scripts/components/base/BaseRadio.vue +++ b/resources/scripts/components/base/BaseRadio.vue @@ -66,11 +66,11 @@ const props = defineProps({ }, checkedStateClass: { type: String, - default: 'bg-primary-600', + default: 'bg-primary-500', }, unCheckedStateClass: { type: String, - default: 'bg-white ', + default: 'bg-surface ', }, optionGroupActiveStateClass: { type: String, @@ -78,11 +78,11 @@ const props = defineProps({ }, checkedStateLabelClass: { type: String, - default: 'text-primary-900 ', + default: 'text-primary-500 ', }, unCheckedStateLabelClass: { type: String, - default: 'text-gray-900', + default: 'text-heading', }, optionGroupClass: { type: String, diff --git a/resources/scripts/components/base/BaseRecurringInvoiceStatusBadge.vue b/resources/scripts/components/base/BaseRecurringInvoiceStatusBadge.vue index 29fc698c..822ded96 100644 --- a/resources/scripts/components/base/BaseRecurringInvoiceStatusBadge.vue +++ b/resources/scripts/components/base/BaseRecurringInvoiceStatusBadge.vue @@ -20,13 +20,13 @@ export default { const badgeColorClasses = computed(() => { switch (props.status) { case 'COMPLETED': - return 'bg-green-500/25 px-2 py-1 text-sm text-green-900 uppercase font-normal text-center' + return 'bg-green-500/25 px-2 py-1 text-sm text-status-green uppercase font-normal text-center' case 'ON_HOLD': - return 'bg-yellow-500/25 px-2 py-1 text-sm text-yellow-900 uppercase font-normal text-center' + return 'bg-yellow-500/25 px-2 py-1 text-sm text-status-yellow uppercase font-normal text-center' case 'ACTIVE': - return 'bg-blue-400/25 px-2 py-1 text-sm text-blue-900 uppercase font-normal text-center' + return 'bg-blue-400/25 px-2 py-1 text-sm text-status-blue uppercase font-normal text-center' default: - return 'bg-gray-500/25 px-2 py-1 text-sm text-gray-900 uppercase font-normal text-center' + return 'bg-surface-secondary0/25 px-2 py-1 text-sm text-heading uppercase font-normal text-center' } }) return { badgeColorClasses } diff --git a/resources/scripts/components/base/BaseSelectAction.vue b/resources/scripts/components/base/BaseSelectAction.vue index 5fc53ca2..2c9adcd1 100644 --- a/resources/scripts/components/base/BaseSelectAction.vue +++ b/resources/scripts/components/base/BaseSelectAction.vue @@ -8,7 +8,7 @@ px-6 py-2 text-sm - bg-gray-200 + bg-surface-muted cursor-pointer text-primary-400 " diff --git a/resources/scripts/components/base/BaseSelectInput.vue b/resources/scripts/components/base/BaseSelectInput.vue index 700d27f0..9e9a25b0 100644 --- a/resources/scripts/components/base/BaseSelectInput.vue +++ b/resources/scripts/components/base/BaseSelectInput.vue @@ -12,7 +12,7 @@ > {{ label }} @@ -27,8 +27,8 @@ pl-3 pr-10 text-left - bg-white - border border-gray-200 + bg-surface + border border-line-default rounded-md shadow-xs cursor-default @@ -42,10 +42,10 @@ {{ getValue(selectedValue) }} - + {{ placeholder }} - + Please select an option @@ -62,7 +62,7 @@ > @@ -82,7 +82,7 @@ mt-1 overflow-auto text-base - bg-white + bg-surface rounded-md shadow-lg max-h-60 @@ -100,7 +100,7 @@ > diff --git a/resources/scripts/components/base/BaseSettingCard.vue b/resources/scripts/components/base/BaseSettingCard.vue index 99db2897..2af8c7cf 100644 --- a/resources/scripts/components/base/BaseSettingCard.vue +++ b/resources/scripts/components/base/BaseSettingCard.vue @@ -11,7 +11,7 @@ mt-2 text-sm leading-snug - text-left text-gray-500 + text-left text-muted max-w-[680px] " > diff --git a/resources/scripts/components/base/BaseSwitch.vue b/resources/scripts/components/base/BaseSwitch.vue index b08b106d..aab73dee 100644 --- a/resources/scripts/components/base/BaseSwitch.vue +++ b/resources/scripts/components/base/BaseSwitch.vue @@ -7,7 +7,7 @@ {{ title }} - + {{ description }} @@ -18,7 +18,7 @@ :disabled="disabled" :model-value="modelValue" :class="[ - modelValue ? 'bg-primary-500' : 'bg-gray-200', + modelValue ? 'bg-primary-500' : 'bg-surface-muted', 'ml-4 relative inline-flex shrink-0 h-6 w-11 border-2 border-transparent rounded-full cursor-pointer transition-colors ease-in-out duration-200 focus:outline-hidden focus:ring-2 focus:ring-offset-2 focus:ring-primary-500', ]" @update:modelValue="onUpdate" diff --git a/resources/scripts/components/base/BaseTabGroup.vue b/resources/scripts/components/base/BaseTabGroup.vue index 96b0fa1b..16b91bbd 100644 --- a/resources/scripts/components/base/BaseTabGroup.vue +++ b/resources/scripts/components/base/BaseTabGroup.vue @@ -3,7 +3,7 @@ {{ tab.title }} diff --git a/resources/scripts/components/base/BaseTextarea.vue b/resources/scripts/components/base/BaseTextarea.vue index 4ae0f94f..6e835796 100644 --- a/resources/scripts/components/base/BaseTextarea.vue +++ b/resources/scripts/components/base/BaseTextarea.vue @@ -45,7 +45,7 @@ const props = defineProps({ defaultInputClass: { type: String, default: - 'box-border w-full px-3 py-2 text-sm not-italic font-normal leading-snug text-left text-black placeholder-gray-400 bg-white border border-gray-200 border-solid rounded outline-hidden', + 'box-border w-full px-3 py-2 text-sm not-italic font-normal leading-snug text-left text-heading placeholder-subtle bg-surface border border-line-default border-solid rounded outline-hidden', }, autosize: { type: Boolean, diff --git a/resources/scripts/components/base/BaseTimePicker.vue b/resources/scripts/components/base/BaseTimePicker.vue index e048c41f..0a52f85f 100644 --- a/resources/scripts/components/base/BaseTimePicker.vue +++ b/resources/scripts/components/base/BaseTimePicker.vue @@ -21,7 +21,7 @@ text-sm not-italic font-black - text-gray-400 + text-subtle cursor-pointer " viewBox="0 0 20 20" @@ -86,7 +86,7 @@ const props = defineProps({ defaultInputClass: { type: String, default: - 'font-base pl-8 py-2 outline-hidden focus:ring-primary-400 focus:outline-hidden focus:border-primary-400 block w-full sm:text-sm border-gray-300 rounded-md text-black', + 'font-base pl-8 py-2 outline-hidden focus:ring-primary-400 focus:outline-hidden focus:border-primary-400 block w-full sm:text-sm border-line-strong rounded-md text-heading', }, }) @@ -130,7 +130,7 @@ const inputInvalidClass = computed(() => { const inputDisabledClass = computed(() => { if (props.disabled) { - return 'border border-solid rounded-md outline-hidden input-field box-border-2 base-date-picker-input placeholder-gray-400 bg-gray-300 text-gray-600 border-gray-300' + return 'border border-solid rounded-md outline-hidden input-field box-border-2 base-date-picker-input placeholder-subtle bg-surface-muted text-body border-line-strong' } return '' diff --git a/resources/scripts/components/base/BaseWizardNavigation.vue b/resources/scripts/components/base/BaseWizardNavigation.vue index cc99830a..e33289af 100644 --- a/resources/scripts/components/base/BaseWizardNavigation.vue +++ b/resources/scripts/components/base/BaseWizardNavigation.vue @@ -3,7 +3,7 @@ :class="containerClass" class=" relative - after:bg-gray-200 + after:bg-surface-muted after:absolute after:transform after:top-1/2 @@ -62,7 +62,7 @@ export default { }, nextStepClass: { type: String, - default: 'border-gray-200 bg-white', + default: 'border-line-default bg-surface', }, previousStepClass: { type: String, diff --git a/resources/scripts/components/base/BaseWizardStep.vue b/resources/scripts/components/base/BaseWizardStep.vue index 57e41da2..00de8cb4 100644 --- a/resources/scripts/components/base/BaseWizardStep.vue +++ b/resources/scripts/components/base/BaseWizardStep.vue @@ -25,16 +25,16 @@ const props = defineProps({ stepContainerClass: { type: String, default: - 'w-full p-8 mb-8 bg-white border border-gray-200 border-solid rounded', + 'w-full p-8 mb-8 bg-surface border border-line-default border-solid rounded', }, stepTitleClass: { type: String, - default: 'text-2xl not-italic font-semibold leading-7 text-black', + default: 'text-2xl not-italic font-semibold leading-7 text-heading', }, stepDescriptionClass: { type: String, default: - 'w-full mt-2.5 mb-8 text-sm not-italic leading-snug text-gray-500 lg:w-7/12 md:w-7/12 sm:w-7/12', + 'w-full mt-2.5 mb-8 text-sm not-italic leading-snug text-muted lg:w-7/12 md:w-7/12 sm:w-7/12', }, }) diff --git a/resources/scripts/components/base/base-editor/BaseEditor.vue b/resources/scripts/components/base/base-editor/BaseEditor.vue index 199a449a..856ae75d 100644 --- a/resources/scripts/components/base/base-editor/BaseEditor.vue +++ b/resources/scripts/components/base/base-editor/BaseEditor.vue @@ -8,16 +8,16 @@ - + - + @@ -25,36 +25,36 @@ v-for="button in editorButtons" type="button" :key="button.name" - class="p-1 rounded hover:bg-gray-100" + class="p-1 rounded hover:bg-surface-tertiary" @click="button.action" > - + {{ button.text }} - + - + {{ button.text }} @@ -209,7 +209,7 @@ export default { blockquote { padding-left: 1rem; - border-left: 2px solid rgba(13, 13, 13, 0.1); + border-left: 2px solid var(--color-line-default); } code { diff --git a/resources/scripts/components/base/base-table/BaseTable.vue b/resources/scripts/components/base/base-table/BaseTable.vue index a6a67f47..bda401da 100644 --- a/resources/scripts/components/base/base-table/BaseTable.vue +++ b/resources/scripts/components/base/base-table/BaseTable.vue @@ -6,9 +6,9 @@ class=" relative overflow-hidden - bg-white - border border-gray-100 - shadow-sm + bg-surface + border border-line-light + shadow rounded-xl " > @@ -22,7 +22,7 @@ :class="[ getThClass(column), { - 'text-bold text-black': sort.fieldName === column.key, + 'text-bold text-heading': sort.fieldName === column.key, }, ]" @click="changeSorting(column)" @@ -51,7 +51,7 @@ {{ $t('general.no_data_found') }} @@ -163,9 +163,9 @@ const props = defineProps({ sortOrder: { type: String, default: '' }, tableClass: { type: String, - default: 'min-w-full divide-y divide-gray-200', + default: 'min-w-full divide-y divide-line-default', }, - theadClass: { type: String, default: 'bg-gray-50' }, + theadClass: { type: String, default: 'bg-surface-secondary' }, tbodyClass: { type: String, default: '' }, noResultsMessage: { type: String, @@ -236,7 +236,7 @@ function getColumn(columnName) { function getThClass(column) { let classes = - 'whitespace-nowrap px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider' + 'whitespace-nowrap px-6 py-3 text-left text-xs font-medium text-muted uppercase tracking-wider' if (column.defaultThClass) { classes = column.defaultThClass @@ -256,7 +256,7 @@ function getThClass(column) { } function getTdClass(column) { - let classes = 'px-6 py-4 text-sm text-gray-500 whitespace-nowrap' + let classes = 'px-6 py-4 text-sm text-muted whitespace-nowrap' if (column.defaultTdClass) { classes = column.defaultTdClass diff --git a/resources/scripts/components/base/base-table/BaseTablePagination.vue b/resources/scripts/components/base/base-table/BaseTablePagination.vue index 0a7d4419..1710e3d2 100644 --- a/resources/scripts/components/base/base-table/BaseTablePagination.vue +++ b/resources/scripts/components/base/base-table/BaseTablePagination.vue @@ -7,8 +7,8 @@ justify-between px-4 py-3 - bg-white - border-t border-gray-200 + bg-surface + border-t border-line-default sm:px-6 " > @@ -16,7 +16,7 @@ @@ -40,7 +40,7 @@ @@ -65,7 +65,7 @@ - + {{ $t('general.pagination.showing') }} {{ ' ' }} @@ -142,7 +142,7 @@ :class="{ 'z-10 bg-primary-500 border-primary-500 text-white': isActive(1), - 'bg-white border-gray-200 text-gray-500 hover:bg-gray-50': + 'bg-surface border-line-default text-muted hover:bg-hover': !isActive(1), }" class=" @@ -170,9 +170,9 @@ py-2 text-sm font-medium - text-gray-700 - bg-white - border border-gray-200 + text-body + bg-surface + border border-line-default " > ... @@ -184,7 +184,7 @@ :class="{ 'z-10 bg-primary-500 border-primary-500 text-white': isActive(page), - 'bg-white border-gray-200 text-gray-500 hover:bg-gray-50': + 'bg-surface border-line-default text-muted hover:bg-hover': !isActive(page), disabled: page === '...', }" @@ -214,9 +214,9 @@ py-2 text-sm font-medium - text-gray-700 - bg-white - border border-gray-200 + text-body + bg-surface + border border-line-default " > ... @@ -228,7 +228,7 @@ :class="{ 'z-10 bg-primary-500 border-primary-500 text-white': isActive(pagination.totalPages), - 'bg-white border-gray-200 text-gray-500 hover:bg-gray-50': + 'bg-surface border-line-default text-muted hover:bg-hover': !isActive(pagination.totalPages), }" class=" @@ -255,14 +255,14 @@ py-2 text-sm font-medium - text-gray-500 - bg-white - border border-gray-200 + text-muted + bg-surface + border border-line-default rounded-r-lg - hover:bg-gray-50 + hover:bg-hover " :class="{ - 'disabled cursor-default pointer-events-none !bg-gray-100 !text-gray-400': + 'disabled cursor-default pointer-events-none !bg-surface-tertiary !text-subtle': pagination.currentPage === pagination.totalPages, }" @click="pageClicked(pagination.currentPage + 1)" diff --git a/resources/scripts/components/list/BaseListItem.vue b/resources/scripts/components/list/BaseListItem.vue index dcd252d0..9624c069 100644 --- a/resources/scripts/components/list/BaseListItem.vue +++ b/resources/scripts/components/list/BaseListItem.vue @@ -34,7 +34,7 @@ export default { }) let containerClass = computed(() => { if (props.active) return `${defaultClass} text-primary-600 bg-primary-50 font-semibold` - else return `${defaultClass} text-gray-600 hover:bg-gray-50 hover:text-gray-900` + else return `${defaultClass} text-body hover:bg-hover hover:text-heading` }) return { hasIconSlot, diff --git a/resources/scripts/components/notifications/NotificationItem.vue b/resources/scripts/components/notifications/NotificationItem.vue index 2cf03de5..21a58615 100644 --- a/resources/scripts/components/notifications/NotificationItem.vue +++ b/resources/scripts/components/notifications/NotificationItem.vue @@ -1,6 +1,6 @@ @@ -62,7 +62,7 @@ {{ @@ -75,7 +75,7 @@ {{ @@ -91,8 +91,8 @@ - + diff --git a/resources/scripts/customer/layouts/partials/TheSiteFooter.vue b/resources/scripts/customer/layouts/partials/TheSiteFooter.vue index 91ab8115..75196e31 100644 --- a/resources/scripts/customer/layouts/partials/TheSiteFooter.vue +++ b/resources/scripts/customer/layouts/partials/TheSiteFooter.vue @@ -12,15 +12,15 @@ pr-8 text-sm font-normal - text-gray-700 - bg-white + text-body + bg-surface " > Powered by Bytefury diff --git a/resources/scripts/customer/layouts/partials/TheSiteHeader.vue b/resources/scripts/customer/layouts/partials/TheSiteHeader.vue index 47717d75..5d92a8fe 100644 --- a/resources/scripts/customer/layouts/partials/TheSiteHeader.vue +++ b/resources/scripts/customer/layouts/partials/TheSiteHeader.vue @@ -2,7 +2,7 @@ @@ -34,7 +34,7 @@ :class="[ hasActiveUrl(item.link) ? 'border-primary-500 text-primary-600' - : 'border-transparent text-gray-500 hover:text-gray-700 hover:border-gray-300', + : 'border-transparent text-muted hover:text-body hover:border-line-strong', 'inline-flex items-center px-1 pt-1 border-b-2 text-sm font-medium', ]" > @@ -46,11 +46,11 @@ {{ $t('navigation.settings') }} @@ -94,7 +94,7 @@ {{ $t('navigation.logout') }} @@ -106,14 +106,14 @@ {{ $t(item.title) }} - + - + {{ globalStore.currentUser.title }} - + {{ globalStore.currentUser.email }} @@ -161,12 +161,12 @@ type="button" class=" ml-auto - bg-white + bg-surface shrink-0 p-1 rounded-full - text-gray-400 - hover:text-gray-500 + text-subtle + hover:text-muted focus:outline-hidden focus:ring-2 focus:ring-offset-2 @@ -182,7 +182,7 @@ :class="[ hasActiveUrl(item.link) ? 'bg-primary-50 border-primary-500 text-primary-700' - : 'border-transparent text-gray-600 hover:bg-gray-50 hover:border-gray-300 hover:text-gray-800', + : 'border-transparent text-body hover:bg-hover hover:border-line-strong hover:text-heading', 'block pl-3 pr-4 py-2 border-l-4 text-base font-medium', ]" >{{ $t(item.title) }} - + diff --git a/resources/scripts/customer/views/auth/ForgotPassword.vue b/resources/scripts/customer/views/auth/ForgotPassword.vue index e4ff913e..2de36f5e 100644 --- a/resources/scripts/customer/views/auth/ForgotPassword.vue +++ b/resources/scripts/customer/views/auth/ForgotPassword.vue @@ -31,7 +31,7 @@ {{ $t('general.back_to_login') }} diff --git a/resources/scripts/customer/views/auth/Login.vue b/resources/scripts/customer/views/auth/Login.vue index 2c1fe2d5..55cba735 100644 --- a/resources/scripts/customer/views/auth/Login.vue +++ b/resources/scripts/customer/views/auth/Login.vue @@ -39,7 +39,7 @@ @@ -48,7 +48,7 @@ {{ $t('login.forgot_password') }} diff --git a/resources/scripts/customer/views/auth/ResetPassword.vue b/resources/scripts/customer/views/auth/ResetPassword.vue index 780c36c2..dd1ca3be 100644 --- a/resources/scripts/customer/views/auth/ResetPassword.vue +++ b/resources/scripts/customer/views/auth/ResetPassword.vue @@ -31,7 +31,7 @@ diff --git a/resources/scripts/customer/views/dashboard/DashboardStatsItem.vue b/resources/scripts/customer/views/dashboard/DashboardStatsItem.vue index a5827484..75574bce 100644 --- a/resources/scripts/customer/views/dashboard/DashboardStatsItem.vue +++ b/resources/scripts/customer/views/dashboard/DashboardStatsItem.vue @@ -6,10 +6,10 @@ flex justify-between p-3 - bg-white + bg-surface rounded shadow - hover:bg-gray-50 + hover:bg-hover xl:p-4 lg:col-span-2 " @@ -17,10 +17,10 @@ :to="route" > - + - + {{ label }} diff --git a/resources/scripts/customer/views/dashboard/DashboardStatsPlaceholder.vue b/resources/scripts/customer/views/dashboard/DashboardStatsPlaceholder.vue index a114818d..e5a99893 100644 --- a/resources/scripts/customer/views/dashboard/DashboardStatsPlaceholder.vue +++ b/resources/scripts/customer/views/dashboard/DashboardStatsPlaceholder.vue @@ -1,7 +1,7 @@ - - + + @@ -119,11 +119,11 @@ - + - + {{ $t('general.view') }} @@ -182,7 +182,7 @@ const estimateColumns = computed(() => { key: 'estimate_date', label: t('estimates.date'), thClass: 'extra', - tdClass: 'font-medium text-gray-900', + tdClass: 'font-medium text-heading', }, { key: 'estimate_number', label: t('estimates.number', 2) }, { key: 'status', label: t('estimates.status') }, diff --git a/resources/scripts/customer/views/estimates/View.vue b/resources/scripts/customer/views/estimates/View.vue index 17b9ad86..68096f61 100644 --- a/resources/scripts/customer/views/estimates/View.vue +++ b/resources/scripts/customer/views/estimates/View.vue @@ -25,7 +25,7 @@ - + @@ -69,7 +69,7 @@ pb-2 mb-2 text-sm - border-b border-gray-200 border-solid + border-b border-line-default border-solid " > {{ $t('general.sort_by') }} @@ -136,7 +136,7 @@ h-full pb-32 overflow-y-scroll - border-l border-gray-200 border-solid + border-l border-line-default border-solid sw-scroll " > @@ -146,9 +146,9 @@ :key="index" :to="`/${globalStore.companySlug}/customer/estimates/${estimate.id}/view`" :class="[ - 'flex justify-between p-4 items-center cursor-pointer hover:bg-gray-100 border-l-4 border-l-transparent', + 'flex justify-between p-4 items-center cursor-pointer hover:bg-hover-strong border-l-4 border-l-transparent', { - 'bg-gray-100 border-l-4 border-l-primary-500 border-solid': + 'bg-surface-tertiary border-l-4 border-l-primary-500 border-solid': hasActiveUrl(estimate.id), }, ]" @@ -162,7 +162,7 @@ not-italic font-medium leading-5 - text-gray-500 + text-muted capitalize " > @@ -182,13 +182,13 @@ not-italic font-semibold leading-8 - text-right text-gray-900 + text-right text-heading block " :amount="estimate.total" :currency="estimate.currency" /> - + {{ estimate.formatted_estimate_date }} @@ -196,7 +196,7 @@ {{ $t('estimates.no_matching_estimates') }} diff --git a/resources/scripts/customer/views/invoices/Index.vue b/resources/scripts/customer/views/invoices/Index.vue index 1a4e28b8..21251e68 100644 --- a/resources/scripts/customer/views/invoices/Index.vue +++ b/resources/scripts/customer/views/invoices/Index.vue @@ -45,8 +45,8 @@ class="px-3 mt-2" > - - + + @@ -126,11 +126,11 @@ - + - + {{ $t('general.view') }} @@ -191,7 +191,7 @@ const itemColumns = computed(() => { key: 'invoice_date', label: t('invoices.date'), thClass: 'extra', - tdClass: 'font-medium text-gray-900', + tdClass: 'font-medium text-heading', }, { key: 'invoice_number', label: t('invoices.number') }, diff --git a/resources/scripts/customer/views/invoices/View.vue b/resources/scripts/customer/views/invoices/View.vue index 985a1242..9833e523 100644 --- a/resources/scripts/customer/views/invoices/View.vue +++ b/resources/scripts/customer/views/invoices/View.vue @@ -31,7 +31,7 @@ -
{{ $t('general.no_company_description') }}
{{ invitation.company?.name }}
{{ invitation.role?.title }} · {{ $t('members.invited_by') }}: {{ invitation.invited_by?.name }} diff --git a/resources/scripts/admin/views/SampleTable.vue b/resources/scripts/admin/views/SampleTable.vue index 58f48f5b..60c031ad 100644 --- a/resources/scripts/admin/views/SampleTable.vue +++ b/resources/scripts/admin/views/SampleTable.vue @@ -41,13 +41,13 @@ - + New Invoice @@ -55,7 +55,7 @@ New Estimate @@ -63,7 +63,7 @@ New Customer @@ -111,7 +111,7 @@ export default { key: 'name', label: 'Name', thClass: 'extra', - tdClass: 'font-medium text-gray-900', + tdClass: 'font-medium text-heading', }, { key: 'age', label: 'Age' }, { key: 'image', label: 'Image' }, @@ -131,7 +131,7 @@ export default { key: 'name', label: 'Name', thClass: 'extra', - tdClass: 'font-medium text-gray-900', + tdClass: 'font-medium text-heading', }, { key: 'price', label: 'Price' }, { key: 'created_at', label: 'Created At' }, diff --git a/resources/scripts/admin/views/administration/AdminDashboard.vue b/resources/scripts/admin/views/administration/AdminDashboard.vue index cdf29b5b..1841be54 100644 --- a/resources/scripts/admin/views/administration/AdminDashboard.vue +++ b/resources/scripts/admin/views/administration/AdminDashboard.vue @@ -19,11 +19,11 @@ - - {{ $t('general.app_version') }} + + {{ $t('general.app_version') }} - + {{ data.app_version }} @@ -32,11 +32,11 @@ - - PHP + + PHP - + {{ data.php_version }} @@ -45,14 +45,14 @@ - - {{ $t('general.database') }} + + {{ $t('general.database') }} - + {{ data.database?.driver?.toUpperCase() }} - + {{ data.database?.version }} @@ -61,11 +61,11 @@ - - {{ $t('navigation.companies') }} + + {{ $t('navigation.companies') }} - + {{ data.counts?.companies }} @@ -74,11 +74,11 @@ - - {{ $t('navigation.all_users') }} + + {{ $t('navigation.all_users') }} - + {{ data.counts?.users }} diff --git a/resources/scripts/admin/views/administration/companies/Edit.vue b/resources/scripts/admin/views/administration/companies/Edit.vue index ef929083..9b1f726e 100644 --- a/resources/scripts/admin/views/administration/companies/Edit.vue +++ b/resources/scripts/admin/views/administration/companies/Edit.vue @@ -65,7 +65,7 @@ - + {{ $t('administration.companies.address') }} diff --git a/resources/scripts/admin/views/administration/companies/Index.vue b/resources/scripts/admin/views/administration/companies/Index.vue index 5e99a81d..78de8150 100644 --- a/resources/scripts/admin/views/administration/companies/Index.vue +++ b/resources/scripts/admin/views/administration/companies/Index.vue @@ -46,7 +46,7 @@ :title="$t('administration.companies.no_companies')" :description="$t('administration.companies.list_description')" > - + @@ -70,12 +70,12 @@ {{ row.data.owner.name }} - - + - {{ row.data.owner.email }} - - + - @@ -113,7 +113,7 @@ const companyTableColumns = computed(() => { key: 'name', label: t('administration.companies.company_name'), thClass: 'extra', - tdClass: 'font-medium text-gray-900', + tdClass: 'font-medium text-heading', }, { key: 'owner', diff --git a/resources/scripts/admin/views/administration/settings/SettingsIndex.vue b/resources/scripts/admin/views/administration/settings/SettingsIndex.vue index 3c38a374..7fdb6f96 100644 --- a/resources/scripts/admin/views/administration/settings/SettingsIndex.vue +++ b/resources/scripts/admin/views/administration/settings/SettingsIndex.vue @@ -24,7 +24,7 @@ /> - + - + {{ $t('administration.users.role') }}: {{ userData.role }} diff --git a/resources/scripts/admin/views/administration/users/Index.vue b/resources/scripts/admin/views/administration/users/Index.vue index 66d8fea4..878c1b7e 100644 --- a/resources/scripts/admin/views/administration/users/Index.vue +++ b/resources/scripts/admin/views/administration/users/Index.vue @@ -66,7 +66,7 @@ > @@ -107,18 +107,18 @@ {{ company.name }} +{{ row.data.companies.length - 3 }} - - + - @@ -158,7 +158,7 @@ const userTableColumns = computed(() => { key: 'name', label: t('users.name'), thClass: 'extra', - tdClass: 'font-medium text-gray-900', + tdClass: 'font-medium text-heading', }, { key: 'email', @@ -232,7 +232,7 @@ function getRoleBadgeClass(role) { case 'admin': return 'bg-blue-100 text-blue-800' default: - return 'bg-gray-100 text-gray-800' + return 'bg-surface-tertiary text-heading' } } diff --git a/resources/scripts/admin/views/auth/ForgotPassword.vue b/resources/scripts/admin/views/auth/ForgotPassword.vue index 1c23f38b..9ddc54b1 100644 --- a/resources/scripts/admin/views/auth/ForgotPassword.vue +++ b/resources/scripts/admin/views/auth/ForgotPassword.vue @@ -32,7 +32,7 @@ {{ $t('general.back_to_login') }} diff --git a/resources/scripts/admin/views/auth/Login.vue b/resources/scripts/admin/views/auth/Login.vue index d5d7ed27..d1c40a4a 100644 --- a/resources/scripts/admin/views/auth/Login.vue +++ b/resources/scripts/admin/views/auth/Login.vue @@ -32,7 +32,7 @@ @@ -43,7 +43,7 @@ {{ $t('login.forgot_password') }} diff --git a/resources/scripts/admin/views/auth/RegisterWithInvitation.vue b/resources/scripts/admin/views/auth/RegisterWithInvitation.vue index 80d42568..15326fbd 100644 --- a/resources/scripts/admin/views/auth/RegisterWithInvitation.vue +++ b/resources/scripts/admin/views/auth/RegisterWithInvitation.vue @@ -1,5 +1,5 @@ - + @@ -16,7 +16,7 @@ - Loading invitation details... + Loading invitation details... @@ -25,10 +25,10 @@ name="ExclamationCircleIcon" class="w-16 h-16 mx-auto text-red-400 mb-4" /> - + Invalid Invitation - {{ error }} + {{ error }} Go to Login @@ -37,10 +37,10 @@ - + Create Your Account - + You've been invited to join {{ invitationDetails.company_name }} as {{ invitationDetails.role_name }} @@ -112,7 +112,7 @@ - + Already have an account? Log in diff --git a/resources/scripts/admin/views/customers/Create.vue b/resources/scripts/admin/views/customers/Create.vue index d83ec9c8..8f4b06e5 100644 --- a/resources/scripts/admin/views/customers/Create.vue +++ b/resources/scripts/admin/views/customers/Create.vue @@ -184,7 +184,7 @@ - + {{ $t('customers.portal_access_text') }} @@ -224,7 +224,7 @@ @@ -251,7 +251,7 @@ diff --git a/resources/scripts/admin/views/customers/Index.vue b/resources/scripts/admin/views/customers/Index.vue index 83864fa6..902ef71e 100644 --- a/resources/scripts/admin/views/customers/Index.vue +++ b/resources/scripts/admin/views/customers/Index.vue @@ -113,7 +113,7 @@ - + {{ $t('general.delete') }} @@ -158,7 +158,7 @@ @@ -247,13 +247,13 @@ const customerColumns = computed(() => { key: 'status', thClass: 'extra w-10 pr-0', sortable: false, - tdClass: 'font-medium text-gray-900 pr-0', + tdClass: 'font-medium text-heading pr-0', }, { key: 'name', label: t('customers.name'), thClass: 'extra', - tdClass: 'font-medium text-gray-900', + tdClass: 'font-medium text-heading', }, { key: 'phone', label: t('customers.phone') }, { key: 'due_amount', label: t('customers.amount_due') }, diff --git a/resources/scripts/admin/views/customers/View.vue b/resources/scripts/admin/views/customers/View.vue index 205ebf28..e9a935fb 100644 --- a/resources/scripts/admin/views/customers/View.vue +++ b/resources/scripts/admin/views/customers/View.vue @@ -35,7 +35,7 @@ :to="`/admin/estimates/create?customer=${$route.params.id}`" > - + {{ $t('estimates.new_estimate') }} @@ -45,7 +45,7 @@ :to="`/admin/invoices/create?customer=${$route.params.id}`" > - + {{ $t('invoices.new_invoice') }} @@ -55,7 +55,7 @@ :to="`/admin/payments/create?customer=${$route.params.id}`" > - + {{ $t('payments.new_payment') }} @@ -65,7 +65,7 @@ :to="`/admin/expenses/create?customer=${$route.params.id}`" > - + {{ $t('expenses.new_expense') }} diff --git a/resources/scripts/admin/views/customers/partials/CustomerInfo.vue b/resources/scripts/admin/views/customers/partials/CustomerInfo.vue index 75fcdbe0..5a294096 100644 --- a/resources/scripts/admin/views/customers/partials/CustomerInfo.vue +++ b/resources/scripts/admin/views/customers/partials/CustomerInfo.vue @@ -1,5 +1,5 @@ - + {{ $t('customers.basic_info') }} @@ -92,12 +92,12 @@ > {{ $t('general.yes') }} {{ $t('general.no') }} - + {{ field.default_answer }} diff --git a/resources/scripts/admin/views/customers/partials/CustomerViewSidebar.vue b/resources/scripts/admin/views/customers/partials/CustomerViewSidebar.vue index 1ed1a73e..84cbc913 100644 --- a/resources/scripts/admin/views/customers/partials/CustomerViewSidebar.vue +++ b/resources/scripts/admin/views/customers/partials/CustomerViewSidebar.vue @@ -9,7 +9,7 @@ pt-16 pb-[6.6rem] ml-56 - bg-white + bg-surface xl:ml-64 w-88 xl:block @@ -23,7 +23,7 @@ px-4 pt-8 pb-2 - border border-gray-200 border-solid + border border-line-default border-solid height-full " > @@ -35,7 +35,7 @@ variant="gray" @input="onSearch()" > - + @@ -58,7 +58,7 @@ pb-2 mb-2 text-sm - border-b border-gray-200 border-solid + border-b border-line-default border-solid " > {{ $t('general.sort_by') }} @@ -111,7 +111,7 @@ class=" h-full overflow-y-scroll - border-l border-gray-200 border-solid + border-l border-line-default border-solid sidebar base-scroll " @@ -122,9 +122,9 @@ :id="'customer-' + customer.id" :to="`/admin/customers/${customer.id}/view`" :class="[ - 'flex justify-between p-4 items-center cursor-pointer hover:bg-gray-100 border-l-4 border-l-transparent', + 'flex justify-between p-4 items-center cursor-pointer hover:bg-hover-strong border-l-4 border-l-transparent', { - 'bg-gray-100 border-l-4 border-l-primary-500 border-solid': + 'bg-surface-tertiary border-l-4 border-l-primary-500 border-solid': hasActiveUrl(customer.id), }, ]" @@ -139,7 +139,7 @@ not-italic font-normal leading-5 - text-black + text-heading capitalize truncate " @@ -154,7 +154,7 @@ not-italic font-medium leading-5 - text-gray-600 + text-body " /> @@ -173,7 +173,7 @@ {{ $t('customers.no_matching_customers') }} diff --git a/resources/scripts/admin/views/dashboard/DashboardChart.vue b/resources/scripts/admin/views/dashboard/DashboardChart.vue index 9867a82b..d30159b8 100644 --- a/resources/scripts/admin/views/dashboard/DashboardChart.vue +++ b/resources/scripts/admin/views/dashboard/DashboardChart.vue @@ -2,7 +2,7 @@ diff --git a/resources/scripts/admin/views/dashboard/DashboardChartPlaceholder.vue b/resources/scripts/admin/views/dashboard/DashboardChartPlaceholder.vue index a537ecf1..04e4fd73 100644 --- a/resources/scripts/admin/views/dashboard/DashboardChartPlaceholder.vue +++ b/resources/scripts/admin/views/dashboard/DashboardChartPlaceholder.vue @@ -1,6 +1,6 @@ diff --git a/resources/scripts/admin/views/dashboard/DashboardStatsItem.vue b/resources/scripts/admin/views/dashboard/DashboardStatsItem.vue index 04d10b7d..89da715d 100644 --- a/resources/scripts/admin/views/dashboard/DashboardStatsItem.vue +++ b/resources/scripts/admin/views/dashboard/DashboardStatsItem.vue @@ -6,10 +6,10 @@ flex justify-between p-5 - bg-white + bg-surface rounded-xl - shadow-sm - border border-gray-100 + shadow + border border-line-light hover:shadow-md transition-shadow xl:p-6 @@ -19,10 +19,10 @@ :to="route" > - + - + {{ label }} diff --git a/resources/scripts/admin/views/dashboard/DashboardStatsPlaceholder.vue b/resources/scripts/admin/views/dashboard/DashboardStatsPlaceholder.vue index a114818d..e5a99893 100644 --- a/resources/scripts/admin/views/dashboard/DashboardStatsPlaceholder.vue +++ b/resources/scripts/admin/views/dashboard/DashboardStatsPlaceholder.vue @@ -1,7 +1,7 @@ - + {{ $t('dashboard.recent_invoices_card.title') }} @@ -57,7 +57,7 @@ class="recent-estimates" > - + {{ $t('dashboard.recent_estimate_card.title') }} diff --git a/resources/scripts/admin/views/estimates/Index.vue b/resources/scripts/admin/views/estimates/Index.vue index 60919823..daa9e9a5 100644 --- a/resources/scripts/admin/views/estimates/Index.vue +++ b/resources/scripts/admin/views/estimates/Index.vue @@ -129,7 +129,7 @@ h-10 mt-5 list-none - border-b-2 border-gray-200 border-solid + border-b-2 border-line-default border-solid " > @@ -163,7 +163,7 @@ - + {{ $t('general.delete') }} @@ -298,13 +298,13 @@ const estimateColumns = computed(() => { key: 'checkbox', thClass: 'extra w-10 pr-0', sortable: false, - tdClass: 'font-medium text-gray-900 pr-0', + tdClass: 'font-medium text-heading pr-0', }, { key: 'estimate_date', label: t('estimates.date'), thClass: 'extra', - tdClass: 'font-medium text-gray-500', + tdClass: 'font-medium text-muted', }, { key: 'estimate_number', label: t('estimates.number', 2) }, { key: 'name', label: t('estimates.customer') }, @@ -312,7 +312,7 @@ const estimateColumns = computed(() => { { key: 'total', label: t('estimates.total'), - tdClass: 'font-medium text-gray-900', + tdClass: 'font-medium text-heading', }, { key: 'actions', diff --git a/resources/scripts/admin/views/estimates/View.vue b/resources/scripts/admin/views/estimates/View.vue index 5d05d781..0fce06fa 100644 --- a/resources/scripts/admin/views/estimates/View.vue +++ b/resources/scripts/admin/views/estimates/View.vue @@ -46,7 +46,7 @@ pt-16 pb-[6.4rem] ml-56 - bg-white + bg-surface xl:ml-64 w-88 xl:block @@ -60,7 +60,7 @@ px-4 pt-8 pb-2 - border border-gray-200 border-solid + border border-line-default border-solid height-full " > @@ -73,7 +73,7 @@ @input="onSearched()" > - + @@ -98,7 +98,7 @@ pb-2 mb-1 mb-2 text-sm - border-b border-gray-200 border-solid + border-b border-line-default border-solid " > {{ $t('general.sort_by') }} @@ -159,7 +159,7 @@ class=" h-full overflow-y-scroll - border-l border-gray-200 border-solid + border-l border-line-default border-solid base-scroll " > @@ -169,9 +169,9 @@ :id="'estimate-' + estimate.id" :to="`/admin/estimates/${estimate.id}/view`" :class="[ - 'flex justify-between side-estimate p-4 cursor-pointer hover:bg-gray-100 items-center border-l-4 border-l-transparent', + 'flex justify-between side-estimate p-4 cursor-pointer hover:bg-hover-strong items-center border-l-4 border-l-transparent', { - 'bg-gray-100 border-l-4 border-l-primary-500 border-solid': + 'bg-surface-tertiary border-l-4 border-l-primary-500 border-solid': hasActiveUrl(estimate.id), }, ]" @@ -187,7 +187,7 @@ not-italic font-normal leading-5 - text-black + text-heading capitalize truncate " @@ -201,7 +201,7 @@ not-italic font-medium leading-5 - text-gray-600 + text-body " > {{ estimate.estimate_number }} @@ -226,7 +226,7 @@ not-italic font-semibold leading-8 - text-right text-gray-900 + text-right text-heading " /> @@ -236,7 +236,7 @@ not-italic font-normal leading-5 - text-right text-gray-600 + text-right text-body est-date " > @@ -250,7 +250,7 @@ {{ $t('estimates.no_matching_estimates') }} @@ -267,7 +267,7 @@ flex-1 border border-gray-400 border-solid rounded-md - bg-white + bg-surface frame-style " /> diff --git a/resources/scripts/admin/views/expenses/Index.vue b/resources/scripts/admin/views/expenses/Index.vue index 2dc1b4f1..56150361 100644 --- a/resources/scripts/admin/views/expenses/Index.vue +++ b/resources/scripts/admin/views/expenses/Index.vue @@ -135,7 +135,7 @@ v-if="userStore.hasAbilities(abilities.DELETE_EXPENSE)" @click="removeMultipleExpenses" > - + {{ $t('general.delete') }} @@ -275,7 +275,7 @@ const expenseColumns = computed(() => { { key: 'status', thClass: 'extra w-10', - tdClass: 'font-medium text-gray-900', + tdClass: 'font-medium text-heading', placeholderClass: 'w-10', sortable: false, }, @@ -283,13 +283,13 @@ const expenseColumns = computed(() => { key: 'expense_date', label: t('expenses.date'), thClass: 'extra', - tdClass: 'font-medium text-gray-900', + tdClass: 'font-medium text-heading', }, { key: 'expense_number', label: t('expenses.expense_number'), thClass: 'extra', - tdClass: 'font-medium text-gray-900', + tdClass: 'font-medium text-heading', }, { key: 'name', diff --git a/resources/scripts/admin/views/installation/Step1RequirementsCheck.vue b/resources/scripts/admin/views/installation/Step1RequirementsCheck.vue index 09ad9112..11c489d5 100644 --- a/resources/scripts/admin/views/installation/Step1RequirementsCheck.vue +++ b/resources/scripts/admin/views/installation/Step1RequirementsCheck.vue @@ -7,7 +7,7 @@ {{ @@ -32,7 +32,7 @@ {{ index }} diff --git a/resources/scripts/admin/views/installation/Step2PermissionCheck.vue b/resources/scripts/admin/views/installation/Step2PermissionCheck.vue index f73303fb..3cb9deb3 100644 --- a/resources/scripts/admin/views/installation/Step2PermissionCheck.vue +++ b/resources/scripts/admin/views/installation/Step2PermissionCheck.vue @@ -12,7 +12,7 @@ grid grid-flow-row grid-cols-3 lg:gap-24 sm:gap-4 - border border-gray-200 + border border-line-default " > @@ -29,7 +29,7 @@ diff --git a/resources/scripts/admin/views/installation/Step3DatabaseConfig.vue b/resources/scripts/admin/views/installation/Step3DatabaseConfig.vue index 1c442078..8e02e8d3 100644 --- a/resources/scripts/admin/views/installation/Step3DatabaseConfig.vue +++ b/resources/scripts/admin/views/installation/Step3DatabaseConfig.vue @@ -2,7 +2,7 @@ - {{ $t('wizard.verify_domain.notes.notes') }} - + {{ $t('wizard.verify_domain.notes.notes') }} + {{ $t('wizard.verify_domain.notes.not_contain') }} - https:// {{ $t('wizard.verify_domain.notes.or') }} - http {{ $t('wizard.verify_domain.notes.in_front') }} + https:// {{ $t('wizard.verify_domain.notes.or') }} + http {{ $t('wizard.verify_domain.notes.in_front') }} {{ $t('wizard.verify_domain.notes.if_you') }} - localhost:8080 + localhost:8080 diff --git a/resources/scripts/admin/views/installation/Step6AccountSettings.vue b/resources/scripts/admin/views/installation/Step6AccountSettings.vue index ae60f065..d8ba86fa 100644 --- a/resources/scripts/admin/views/installation/Step6AccountSettings.vue +++ b/resources/scripts/admin/views/installation/Step6AccountSettings.vue @@ -70,7 +70,7 @@ @@ -95,7 +95,7 @@ diff --git a/resources/scripts/admin/views/installation/Step7CompanyInfo.vue b/resources/scripts/admin/views/installation/Step7CompanyInfo.vue index 26e40b6e..57f207d7 100644 --- a/resources/scripts/admin/views/installation/Step7CompanyInfo.vue +++ b/resources/scripts/admin/views/installation/Step7CompanyInfo.vue @@ -2,7 +2,7 @@ diff --git a/resources/scripts/admin/views/installation/Step8CompanyPreferences.vue b/resources/scripts/admin/views/installation/Step8CompanyPreferences.vue index 37d7f775..73334a54 100644 --- a/resources/scripts/admin/views/installation/Step8CompanyPreferences.vue +++ b/resources/scripts/admin/views/installation/Step8CompanyPreferences.vue @@ -2,7 +2,7 @@ diff --git a/resources/scripts/admin/views/installation/mail-driver/MailgunMailDriver.vue b/resources/scripts/admin/views/installation/mail-driver/MailgunMailDriver.vue index f84a8ce8..10038124 100644 --- a/resources/scripts/admin/views/installation/mail-driver/MailgunMailDriver.vue +++ b/resources/scripts/admin/views/installation/mail-driver/MailgunMailDriver.vue @@ -63,7 +63,7 @@ diff --git a/resources/scripts/admin/views/installation/mail-driver/SesMailDriver.vue b/resources/scripts/admin/views/installation/mail-driver/SesMailDriver.vue index a2ff3af3..c64d7df6 100644 --- a/resources/scripts/admin/views/installation/mail-driver/SesMailDriver.vue +++ b/resources/scripts/admin/views/installation/mail-driver/SesMailDriver.vue @@ -161,7 +161,7 @@ diff --git a/resources/scripts/admin/views/installation/mail-driver/SmtpMailDriver.vue b/resources/scripts/admin/views/installation/mail-driver/SmtpMailDriver.vue index e18bdc5e..fc9c58ac 100644 --- a/resources/scripts/admin/views/installation/mail-driver/SmtpMailDriver.vue +++ b/resources/scripts/admin/views/installation/mail-driver/SmtpMailDriver.vue @@ -68,7 +68,7 @@ diff --git a/resources/scripts/admin/views/invoices/Index.vue b/resources/scripts/admin/views/invoices/Index.vue index 8be47245..05855409 100644 --- a/resources/scripts/admin/views/invoices/Index.vue +++ b/resources/scripts/admin/views/invoices/Index.vue @@ -126,7 +126,7 @@ h-10 mt-5 list-none - border-b-2 border-gray-200 border-solid + border-b-2 border-line-default border-solid " > @@ -161,7 +161,7 @@ - + {{ $t('general.delete') }} @@ -341,7 +341,7 @@ const invoiceColumns = computed(() => { { key: 'checkbox', thClass: 'extra w-10', - tdClass: 'font-medium text-gray-900', + tdClass: 'font-medium text-heading', placeholderClass: 'w-10', sortable: false, }, @@ -361,7 +361,7 @@ const invoiceColumns = computed(() => { { key: 'total', label: t('invoices.total'), - tdClass: 'font-medium text-gray-900', + tdClass: 'font-medium text-heading', }, { diff --git a/resources/scripts/admin/views/invoices/View.vue b/resources/scripts/admin/views/invoices/View.vue index 34ea6fc8..50a7f354 100644 --- a/resources/scripts/admin/views/invoices/View.vue +++ b/resources/scripts/admin/views/invoices/View.vue @@ -295,7 +295,7 @@ onSearched = debounce(onSearched, 500) pt-16 pb-[6.4rem] ml-56 - bg-white + bg-surface xl:ml-64 w-88 xl:block @@ -309,7 +309,7 @@ onSearched = debounce(onSearched, 500) px-4 pt-8 pb-2 - border border-gray-200 border-solid + border border-line-default border-solid height-full " > @@ -322,7 +322,7 @@ onSearched = debounce(onSearched, 500) @input="onSearched()" > - + @@ -341,7 +341,7 @@ onSearched = debounce(onSearched, 500) pb-2 mb-1 mb-2 text-sm - border-b border-gray-200 border-solid + border-b border-line-default border-solid " > {{ $t('general.sort_by') }} @@ -402,7 +402,7 @@ onSearched = debounce(onSearched, 500) class=" h-full overflow-y-scroll - border-l border-gray-200 border-solid + border-l border-line-default border-solid base-scroll " > @@ -412,9 +412,9 @@ onSearched = debounce(onSearched, 500) :id="'invoice-' + invoice.id" :to="`/admin/invoices/${invoice.id}/view`" :class="[ - 'flex justify-between side-invoice p-4 cursor-pointer hover:bg-gray-100 items-center border-l-4 border-l-transparent', + 'flex justify-between side-invoice p-4 cursor-pointer hover:bg-hover-strong items-center border-l-4 border-l-transparent', { - 'bg-gray-100 border-l-4 border-l-primary-500 border-solid': + 'bg-surface-tertiary border-l-4 border-l-primary-500 border-solid': hasActiveUrl(invoice.id), }, ]" @@ -430,7 +430,7 @@ onSearched = debounce(onSearched, 500) not-italic font-normal leading-5 - text-black + text-heading capitalize truncate " @@ -444,7 +444,7 @@ onSearched = debounce(onSearched, 500) not-italic font-medium leading-5 - text-gray-600 + text-body " > {{ invoice.invoice_number }} @@ -465,7 +465,7 @@ onSearched = debounce(onSearched, 500) not-italic font-semibold leading-8 - text-right text-gray-900 + text-right text-heading block " :amount="invoice.total" @@ -477,7 +477,7 @@ onSearched = debounce(onSearched, 500) not-italic font-normal leading-5 - text-right text-gray-600 + text-right text-body est-date " > @@ -491,7 +491,7 @@ onSearched = debounce(onSearched, 500) {{ $t('invoices.no_matching_invoices') }} @@ -507,7 +507,7 @@ onSearched = debounce(onSearched, 500) class=" flex-1 border border-gray-400 border-solid - bg-white + bg-surface rounded-md frame-style " diff --git a/resources/scripts/admin/views/items/Index.vue b/resources/scripts/admin/views/items/Index.vue index ce9596db..1550fbc6 100644 --- a/resources/scripts/admin/views/items/Index.vue +++ b/resources/scripts/admin/views/items/Index.vue @@ -97,7 +97,7 @@ items-center justify-end h-5 - border-gray-200 border-solid + border-line-default border-solid " > @@ -117,7 +117,7 @@ - + {{ $t('general.delete') }} @@ -237,7 +237,7 @@ const itemColumns = computed(() => { { key: 'status', thClass: 'extra w-10', - tdClass: 'font-medium text-gray-900', + tdClass: 'font-medium text-heading', placeholderClass: 'w-10', sortable: false, }, @@ -245,7 +245,7 @@ const itemColumns = computed(() => { key: 'name', label: t('items.name'), thClass: 'extra', - tdClass: 'font-medium text-gray-900', + tdClass: 'font-medium text-heading', }, { key: 'unit_name', label: t('items.unit') }, { key: 'price', label: t('items.price') }, diff --git a/resources/scripts/admin/views/members/Index.vue b/resources/scripts/admin/views/members/Index.vue index 96d288bc..9e0b0329 100644 --- a/resources/scripts/admin/views/members/Index.vue +++ b/resources/scripts/admin/views/members/Index.vue @@ -102,7 +102,7 @@ items-center justify-end h-5 - border-gray-200 border-solid + border-line-default border-solid " > @@ -122,7 +122,7 @@ - + {{ $t('general.delete') }} @@ -191,21 +191,21 @@ v-if="userStore.currentUser.is_owner && usersStore.pendingInvitations.length > 0" class="mt-8" > - + {{ $t('members.pending_invitations') }} - + - + {{ invitation.email }} - + {{ invitation.role?.title }} · {{ $t('members.invited_by') }}: {{ invitation.invited_by?.name }} @@ -269,14 +269,14 @@ const userTableColumns = computed(() => { { key: 'status', thClass: 'extra', - tdClass: 'font-medium text-gray-900', + tdClass: 'font-medium text-heading', sortable: false, }, { key: 'name', label: t('members.name'), thClass: 'extra', - tdClass: 'font-medium text-gray-900', + tdClass: 'font-medium text-heading', }, { key: 'email', label: 'Email' }, { diff --git a/resources/scripts/admin/views/modules/Index.vue b/resources/scripts/admin/views/modules/Index.vue index b9222ebf..16f4b8c0 100644 --- a/resources/scripts/admin/views/modules/Index.vue +++ b/resources/scripts/admin/views/modules/Index.vue @@ -53,7 +53,7 @@ - + {{ $t('modules.no_modules_installed') }} @@ -61,10 +61,10 @@ - + {{ $t('modules.connect_installation') }} - + {{ $t('modules.api_token_description', { url: globalStore.config.base_url.replace(/^http:\/\//, ''), diff --git a/resources/scripts/admin/views/modules/View.vue b/resources/scripts/admin/views/modules/View.vue index 51b95923..a88df3b3 100644 --- a/resources/scripts/admin/views/modules/View.vue +++ b/resources/scripts/admin/views/modules/View.vue @@ -1,6 +1,6 @@ - + @@ -30,7 +30,7 @@ @@ -159,7 +159,7 @@ {{ $t('modules.version') }} {{ moduleVersion }} ({{ $t('modules.last_updated') }} @@ -170,7 +170,7 @@ @@ -178,7 +178,7 @@ Pricing plans - + @@ -203,18 +203,18 @@ :class="[ checked ? 'bg-primary-600 border-transparent' - : 'bg-white border-gray-300', + : 'bg-surface border-line-strong', active ? 'ring-2 ring-offset-2 ring-primary-500' : '', 'h-4 w-4 rounded-full border flex items-center justify-center', ]" aria-hidden="true" > - + @@ -226,7 +226,7 @@ > @@ -328,18 +328,18 @@ - - + + {{ $t('modules.what_you_get') }} - + - + - + @@ -370,7 +370,7 @@ {{ $t(step.translationKey) }} - + {{ step.time }} - - + Frequently Asked Questions - + {{ faq.question }} - + {{ faq.answer }} @@ -607,7 +607,7 @@ License @@ -622,7 +622,7 @@ class="mt-24 sm:mt-32 lg:max-w-none" > - + {{ $t('modules.other_modules') }} - + - + - + @@ -70,7 +70,7 @@ - + - + diff --git a/resources/scripts/admin/views/modules/partials/RecentModuleCard.vue b/resources/scripts/admin/views/modules/partials/RecentModuleCard.vue index e735270b..dcd88651 100644 --- a/resources/scripts/admin/views/modules/partials/RecentModuleCard.vue +++ b/resources/scripts/admin/views/modules/partials/RecentModuleCard.vue @@ -1,7 +1,7 @@ - + - + {{ $t('estimates.notes') }} diff --git a/resources/scripts/admin/views/payments/Index.vue b/resources/scripts/admin/views/payments/Index.vue index 5ff72c7c..2006ab1a 100644 --- a/resources/scripts/admin/views/payments/Index.vue +++ b/resources/scripts/admin/views/payments/Index.vue @@ -116,7 +116,7 @@ - + {{ $t('general.delete') }} @@ -246,7 +246,7 @@ const paymentColumns = computed(() => { key: 'payment_date', label: t('payments.date'), thClass: 'extra', - tdClass: 'font-medium text-gray-900', + tdClass: 'font-medium text-heading', }, { key: 'payment_number', label: t('payments.payment_number') }, { key: 'name', label: t('payments.customer') }, diff --git a/resources/scripts/admin/views/payments/View.vue b/resources/scripts/admin/views/payments/View.vue index 9fcc87ef..34313d99 100644 --- a/resources/scripts/admin/views/payments/View.vue +++ b/resources/scripts/admin/views/payments/View.vue @@ -31,7 +31,7 @@ pt-16 pb-[6rem] ml-56 - bg-white + bg-surface xl:ml-64 w-88 xl:block @@ -45,7 +45,7 @@ px-4 pt-8 pb-6 - border border-gray-200 border-solid + border border-line-default border-solid " > {{ $t('general.sort_by') }} @@ -139,7 +139,7 @@ @@ -192,7 +192,7 @@ not-italic font-medium leading-5 - text-gray-500 + text-muted capitalize " > @@ -209,13 +209,13 @@ not-italic font-semibold leading-8 - text-right text-gray-900 + text-right text-heading " :amount="payment?.amount" :currency="payment.customer?.currency" /> - + {{ payment.formatted_payment_date }} @@ -226,7 +226,7 @@ {{ $t('payments.no_matching_payments') }} diff --git a/resources/scripts/admin/views/recurring-invoices/Index.vue b/resources/scripts/admin/views/recurring-invoices/Index.vue index 395101e3..2c1e707e 100644 --- a/resources/scripts/admin/views/recurring-invoices/Index.vue +++ b/resources/scripts/admin/views/recurring-invoices/Index.vue @@ -120,7 +120,7 @@ h-10 mt-5 list-none - border-b-2 border-gray-200 border-solid + border-b-2 border-line-default border-solid " > @@ -155,7 +155,7 @@ - + {{ $t('general.delete') }} @@ -212,7 +212,7 @@ : '' " tag="span" - class="text-xs text-gray-400" + class="text-xs text-subtle" /> @@ -306,7 +306,7 @@ const invoiceColumns = computed(() => { { key: 'checkbox', thClass: 'extra', - tdClass: 'font-medium text-gray-900', + tdClass: 'font-medium text-heading', }, { key: 'starts_at', diff --git a/resources/scripts/admin/views/recurring-invoices/create/RecurringInvoiceCreateBasicFields.vue b/resources/scripts/admin/views/recurring-invoices/create/RecurringInvoiceCreateBasicFields.vue index d21c556d..bf95f706 100644 --- a/resources/scripts/admin/views/recurring-invoices/create/RecurringInvoiceCreateBasicFields.vue +++ b/resources/scripts/admin/views/recurring-invoices/create/RecurringInvoiceCreateBasicFields.vue @@ -16,11 +16,11 @@ - + {{ $t('recurring_invoices.send_automatically') }} {{ $t('recurring_invoices.send_automatically_desc') }} diff --git a/resources/scripts/admin/views/recurring-invoices/partials/Invoices.vue b/resources/scripts/admin/views/recurring-invoices/partials/Invoices.vue index fa997aa3..e56ee1a8 100644 --- a/resources/scripts/admin/views/recurring-invoices/partials/Invoices.vue +++ b/resources/scripts/admin/views/recurring-invoices/partials/Invoices.vue @@ -73,7 +73,7 @@ const invoiceColumns = computed(() => { key: 'invoice_date', label: t('invoices.date'), thClass: 'extra', - tdClass: 'font-medium text-gray-900', + tdClass: 'font-medium text-heading', }, { key: 'invoice_number', label: t('invoices.invoice') }, { key: 'customer.name', label: t('invoices.customer') }, diff --git a/resources/scripts/admin/views/recurring-invoices/partials/RecurringInvoiceViewSidebar.vue b/resources/scripts/admin/views/recurring-invoices/partials/RecurringInvoiceViewSidebar.vue index 638101f9..4eb8e759 100644 --- a/resources/scripts/admin/views/recurring-invoices/partials/RecurringInvoiceViewSidebar.vue +++ b/resources/scripts/admin/views/recurring-invoices/partials/RecurringInvoiceViewSidebar.vue @@ -148,7 +148,7 @@ onSearched = debounce(onSearched, 500) pt-16 pb-[6.4rem] ml-56 - bg-white + bg-surface xl:ml-64 w-88 xl:block @@ -162,7 +162,7 @@ onSearched = debounce(onSearched, 500) px-4 pt-8 pb-2 - border border-gray-200 border-solid + border border-line-default border-solid height-full " > @@ -175,7 +175,7 @@ onSearched = debounce(onSearched, 500) @input="onSearched()" > - + @@ -194,7 +194,7 @@ onSearched = debounce(onSearched, 500) pb-2 mb-1 mb-2 text-sm - border-b border-gray-200 border-solid + border-b border-line-default border-solid " > {{ $t('general.sort_by') }} @@ -241,7 +241,7 @@ onSearched = debounce(onSearched, 500) class=" h-full overflow-y-scroll - border-l border-gray-200 border-solid + border-l border-line-default border-solid base-scroll " > @@ -251,9 +251,9 @@ onSearched = debounce(onSearched, 500) :id="'recurring-invoice-' + invoice.id" :to="`/admin/recurring-invoices/${invoice.id}/view`" :class="[ - 'flex justify-between side-invoice p-4 cursor-pointer hover:bg-gray-100 items-center border-l-4 border-l-transparent', + 'flex justify-between side-invoice p-4 cursor-pointer hover:bg-hover-strong items-center border-l-4 border-l-transparent', { - 'bg-gray-100 border-l-4 border-l-primary-500 border-solid': + 'bg-surface-tertiary border-l-4 border-l-primary-500 border-solid': hasActiveUrl(invoice.id), }, ]" @@ -269,7 +269,7 @@ onSearched = debounce(onSearched, 500) not-italic font-normal leading-5 - text-black + text-heading capitalize truncate " @@ -283,7 +283,7 @@ onSearched = debounce(onSearched, 500) not-italic font-medium leading-5 - text-gray-600 + text-body " > {{ invoice.invoice_number }} @@ -305,7 +305,7 @@ onSearched = debounce(onSearched, 500) not-italic font-semibold leading-8 - text-right text-gray-900 + text-right text-heading " :amount="invoice.total" :currency="invoice.customer.currency" @@ -317,7 +317,7 @@ onSearched = debounce(onSearched, 500) not-italic font-normal leading-5 - text-right text-gray-600 + text-right text-body est-date " > @@ -331,7 +331,7 @@ onSearched = debounce(onSearched, 500) {{ $t('invoices.no_matching_invoices') }} diff --git a/resources/scripts/admin/views/reports/ExpensesReport.vue b/resources/scripts/admin/views/reports/ExpensesReport.vue index 85836669..b6915c32 100644 --- a/resources/scripts/admin/views/reports/ExpensesReport.vue +++ b/resources/scripts/admin/views/reports/ExpensesReport.vue @@ -55,7 +55,7 @@ hidden w-full h-screen - border-gray-100 border-solid + border-line-light border-solid rounded md:flex " diff --git a/resources/scripts/admin/views/reports/ProfitLossReport.vue b/resources/scripts/admin/views/reports/ProfitLossReport.vue index d2ed6df1..91449421 100644 --- a/resources/scripts/admin/views/reports/ProfitLossReport.vue +++ b/resources/scripts/admin/views/reports/ProfitLossReport.vue @@ -55,7 +55,7 @@ hidden w-full h-screen - border-gray-100 border-solid + border-line-light border-solid rounded md:flex " diff --git a/resources/scripts/admin/views/reports/SalesReports.vue b/resources/scripts/admin/views/reports/SalesReports.vue index 4fed5772..3d53543a 100644 --- a/resources/scripts/admin/views/reports/SalesReports.vue +++ b/resources/scripts/admin/views/reports/SalesReports.vue @@ -68,7 +68,7 @@ hidden w-full h-screen - border-gray-100 border-solid + border-line-light border-solid rounded md:flex " diff --git a/resources/scripts/admin/views/reports/TaxReport.vue b/resources/scripts/admin/views/reports/TaxReport.vue index d6f53941..461a547b 100644 --- a/resources/scripts/admin/views/reports/TaxReport.vue +++ b/resources/scripts/admin/views/reports/TaxReport.vue @@ -54,7 +54,7 @@ hidden w-full h-screen - border-gray-100 border-solid + border-line-light border-solid rounded md:flex " diff --git a/resources/scripts/admin/views/settings/BackupSetting.vue b/resources/scripts/admin/views/settings/BackupSetting.vue index 9cc3d56f..625e1932 100644 --- a/resources/scripts/admin/views/settings/BackupSetting.vue +++ b/resources/scripts/admin/views/settings/BackupSetting.vue @@ -47,18 +47,18 @@ - + - + {{ $t('general.download') }} - + {{ $t('general.delete') }} @@ -95,17 +95,17 @@ const backupColumns = computed(() => { key: 'path', label: t('settings.backup.path'), thClass: 'extra', - tdClass: 'font-medium text-gray-900', + tdClass: 'font-medium text-heading', }, { key: 'created_at', label: t('settings.backup.created_at'), - tdClass: 'font-medium text-gray-900', + tdClass: 'font-medium text-heading', }, { key: 'size', label: t('settings.backup.size'), - tdClass: 'font-medium text-gray-900', + tdClass: 'font-medium text-heading', }, { key: 'actions', diff --git a/resources/scripts/admin/views/settings/CompanyInfoSettings.vue b/resources/scripts/admin/views/settings/CompanyInfoSettings.vue index d712aae9..a5c0d442 100644 --- a/resources/scripts/admin/views/settings/CompanyInfoSettings.vue +++ b/resources/scripts/admin/views/settings/CompanyInfoSettings.vue @@ -110,10 +110,10 @@ - + {{ $t('settings.company_info.delete_company') }} - + {{ $t('settings.company_info.delete_company_description') }} diff --git a/resources/scripts/admin/views/settings/CompanyMailConfigSetting.vue b/resources/scripts/admin/views/settings/CompanyMailConfigSetting.vue index c739478d..4f943bdd 100644 --- a/resources/scripts/admin/views/settings/CompanyMailConfigSetting.vue +++ b/resources/scripts/admin/views/settings/CompanyMailConfigSetting.vue @@ -35,7 +35,7 @@ - + {{ $t('settings.mail.using_global_mail_config') }} diff --git a/resources/scripts/admin/views/settings/CustomFieldsSetting.vue b/resources/scripts/admin/views/settings/CustomFieldsSetting.vue index 016d37f9..39c5705c 100644 --- a/resources/scripts/admin/views/settings/CustomFieldsSetting.vue +++ b/resources/scripts/admin/views/settings/CustomFieldsSetting.vue @@ -27,7 +27,7 @@ > {{ row.data.name }} - ({{ row.data.slug }}) + ({{ row.data.slug }}) @@ -96,7 +96,7 @@ const customFieldsColumns = computed(() => { key: 'name', label: t('settings.custom_fields.name'), thClass: 'extra', - tdClass: 'font-medium text-gray-900', + tdClass: 'font-medium text-heading', }, { key: 'model_type', diff --git a/resources/scripts/admin/views/settings/ExchangeRateProviderSetting.vue b/resources/scripts/admin/views/settings/ExchangeRateProviderSetting.vue index 7aaa7132..f72a4f44 100644 --- a/resources/scripts/admin/views/settings/ExchangeRateProviderSetting.vue +++ b/resources/scripts/admin/views/settings/ExchangeRateProviderSetting.vue @@ -8,7 +8,7 @@ {{ $t('settings.menu_title.exchange_rate') }} {{ $t('settings.exchange_rate.providers_description') }} @@ -49,17 +49,17 @@ - + - + {{ $t('general.edit') }} - + {{ $t('general.delete') }} @@ -104,19 +104,19 @@ const drivers = computed(() => { key: 'driver', label: t('settings.exchange_rate.driver'), thClass: 'extra', - tdClass: 'font-medium text-gray-900', + tdClass: 'font-medium text-heading', }, { key: 'key', label: t('settings.exchange_rate.key'), thClass: 'extra', - tdClass: 'font-medium text-gray-900', + tdClass: 'font-medium text-heading', }, { key: 'active', label: t('settings.exchange_rate.active'), thClass: 'extra', - tdClass: 'font-medium text-gray-900', + tdClass: 'font-medium text-heading', }, { key: 'actions', diff --git a/resources/scripts/admin/views/settings/ExpenseCategorySetting.vue b/resources/scripts/admin/views/settings/ExpenseCategorySetting.vue index c0db9d01..4d5accc5 100644 --- a/resources/scripts/admin/views/settings/ExpenseCategorySetting.vue +++ b/resources/scripts/admin/views/settings/ExpenseCategorySetting.vue @@ -65,13 +65,13 @@ const ExpenseCategoryColumns = computed(() => { key: 'name', label: t('settings.expense_category.category_name'), thClass: 'extra', - tdClass: 'font-medium text-gray-900', + tdClass: 'font-medium text-heading', }, { key: 'description', label: t('settings.expense_category.category_description'), thClass: 'extra', - tdClass: 'font-medium text-gray-900', + tdClass: 'font-medium text-heading', }, { diff --git a/resources/scripts/admin/views/settings/FileDiskSetting.vue b/resources/scripts/admin/views/settings/FileDiskSetting.vue index abe106d1..eeed11ac 100644 --- a/resources/scripts/admin/views/settings/FileDiskSetting.vue +++ b/resources/scripts/admin/views/settings/FileDiskSetting.vue @@ -39,7 +39,7 @@ - + @@ -56,7 +56,7 @@ v-if="row.data.type !== 'SYSTEM'" @click="openEditDiskModal(row.data)" > - + {{ $t('general.edit') }} @@ -65,7 +65,7 @@ v-if="row.data.type !== 'SYSTEM' && !row.data.set_as_default" @click="removeDisk(row.data.id)" > - + {{ $t('general.delete') }} @@ -109,26 +109,26 @@ const fileDiskColumns = computed(() => { key: 'name', label: t('settings.disk.disk_name'), thClass: 'extra', - tdClass: 'font-medium text-gray-900', + tdClass: 'font-medium text-heading', }, { key: 'driver', label: t('settings.disk.filesystem_driver'), thClass: 'extra', - tdClass: 'font-medium text-gray-900', + tdClass: 'font-medium text-heading', }, { key: 'type', label: t('settings.disk.disk_type'), thClass: 'extra', - tdClass: 'font-medium text-gray-900', + tdClass: 'font-medium text-heading', }, { key: 'set_as_default', label: t('settings.disk.is_default'), thClass: 'extra', - tdClass: 'font-medium text-gray-900', + tdClass: 'font-medium text-heading', }, { key: 'actions', diff --git a/resources/scripts/admin/views/settings/NotesSetting.vue b/resources/scripts/admin/views/settings/NotesSetting.vue index 4b4c934d..1e0806b6 100644 --- a/resources/scripts/admin/views/settings/NotesSetting.vue +++ b/resources/scripts/admin/views/settings/NotesSetting.vue @@ -66,13 +66,13 @@ const notesColumns = computed(() => { key: 'name', label: t('settings.customization.notes.name'), thClass: 'extra', - tdClass: 'font-medium text-gray-900 flex gap-1 items-center', + tdClass: 'font-medium text-heading flex gap-1 items-center', }, { key: 'type', label: t('settings.customization.notes.type'), thClass: 'extra', - tdClass: 'font-medium text-gray-900', + tdClass: 'font-medium text-heading', }, { diff --git a/resources/scripts/admin/views/settings/NotificationsSetting.vue b/resources/scripts/admin/views/settings/NotificationsSetting.vue index f863af28..4463acae 100644 --- a/resources/scripts/admin/views/settings/NotificationsSetting.vue +++ b/resources/scripts/admin/views/settings/NotificationsSetting.vue @@ -44,7 +44,7 @@ - + { key: 'name', label: t('settings.payment_modes.mode_name'), thClass: 'extra', - tdClass: 'font-medium text-gray-900', + tdClass: 'font-medium text-heading', }, { key: 'actions', diff --git a/resources/scripts/admin/views/settings/RolesSettings.vue b/resources/scripts/admin/views/settings/RolesSettings.vue index ef049f43..2f0a21da 100644 --- a/resources/scripts/admin/views/settings/RolesSettings.vue +++ b/resources/scripts/admin/views/settings/RolesSettings.vue @@ -64,12 +64,12 @@ const roleColumns = computed(() => { key: 'name', label: t('settings.roles.role_name'), thClass: 'extra', - tdClass: 'font-medium text-gray-900', + tdClass: 'font-medium text-heading', }, { key: 'created_at', label: t('settings.roles.added_on'), - tdClass: 'font-medium text-gray-900', + tdClass: 'font-medium text-heading', }, { diff --git a/resources/scripts/admin/views/settings/SettingsIndex.vue b/resources/scripts/admin/views/settings/SettingsIndex.vue index 42728de7..5bf54673 100644 --- a/resources/scripts/admin/views/settings/SettingsIndex.vue +++ b/resources/scripts/admin/views/settings/SettingsIndex.vue @@ -24,7 +24,7 @@ /> - + { key: 'name', label: t('settings.tax_types.tax_name'), thClass: 'extra', - tdClass: 'font-medium text-gray-900', + tdClass: 'font-medium text-heading', }, { key: 'calculation_type', label: t('settings.tax_types.calculation_type'), thClass: 'extra', - tdClass: 'font-medium text-gray-900', + tdClass: 'font-medium text-heading', }, { key: 'amount', label: t('settings.tax_types.amount'), thClass: 'extra', - tdClass: 'font-medium text-gray-900', + tdClass: 'font-medium text-heading', }, { key: 'actions', diff --git a/resources/scripts/admin/views/settings/UpdateAppSetting.vue b/resources/scripts/admin/views/settings/UpdateAppSetting.vue index 2723ae7f..d572fb77 100644 --- a/resources/scripts/admin/views/settings/UpdateAppSetting.vue +++ b/resources/scripts/admin/views/settings/UpdateAppSetting.vue @@ -8,7 +8,7 @@ {{ $t('settings.update_app.current_version') }} - + - + {{ i }} @@ -170,7 +170,7 @@ {{ $t('settings.update_app.update_progress') }} {{ $t('settings.update_app.progress_text') }} @@ -189,13 +189,13 @@ justify-between w-full py-3 - border-b border-gray-200 border-solid + border-b border-line-default border-solid last:border-b-0 " > {{ $t(step.translationKey) }} - + {{ step.time }} - + {{ $t(`settings.customization.${type}s.${type}_number_format`) }} - + {{ $t(`settings.customization.${type}s.${type}_number_format_description`) }} @@ -27,8 +27,8 @@ not-italic font-medium leading-5 - text-left text-gray-700 - border-t border-b border-gray-200 border-solid + text-left text-body + border-t border-b border-line-default border-solid " > {{ $t('settings.customization.component') }} @@ -53,8 +53,8 @@ not-italic font-medium leading-5 - text-left text-gray-700 - border-t border-b border-gray-200 border-solid + text-left text-body + border-t border-b border-line-default border-solid " > {{ $t('settings.customization.Parameter') }} @@ -67,15 +67,15 @@ not-italic font-medium leading-5 - text-left text-gray-700 - border-t border-b border-gray-200 border-solid + text-left text-body + border-t border-b border-line-default border-solid " > - + @@ -93,7 +93,7 @@ text-sm not-italic font-medium - text-primary-800 + text-primary-500 whitespace-nowrap mr-2 min-w-[200px] @@ -102,7 +102,7 @@ {{ element.label }} - + {{ element.description }} diff --git a/resources/scripts/admin/views/settings/customization/estimates/EstimatesTab.vue b/resources/scripts/admin/views/settings/customization/estimates/EstimatesTab.vue index 978cdc37..96f2b25f 100644 --- a/resources/scripts/admin/views/settings/customization/estimates/EstimatesTab.vue +++ b/resources/scripts/admin/views/settings/customization/estimates/EstimatesTab.vue @@ -15,7 +15,7 @@ - + - + {{ $t('settings.customization.estimates.convert_estimate_options') }} - + {{ $t('settings.customization.estimates.convert_estimate_description') }} diff --git a/resources/scripts/admin/views/settings/customization/estimates/EstimatesTabDefaultFormats.vue b/resources/scripts/admin/views/settings/customization/estimates/EstimatesTabDefaultFormats.vue index dc75dbde..2f4bd4cb 100644 --- a/resources/scripts/admin/views/settings/customization/estimates/EstimatesTabDefaultFormats.vue +++ b/resources/scripts/admin/views/settings/customization/estimates/EstimatesTabDefaultFormats.vue @@ -1,9 +1,9 @@ - + {{ $t('settings.customization.estimates.default_formats') }} - + {{ $t('settings.customization.estimates.default_formats_description') }} diff --git a/resources/scripts/admin/views/settings/customization/estimates/EstimatesTabExpiryDate.vue b/resources/scripts/admin/views/settings/customization/estimates/EstimatesTabExpiryDate.vue index f8a0591a..b5dcac8b 100644 --- a/resources/scripts/admin/views/settings/customization/estimates/EstimatesTabExpiryDate.vue +++ b/resources/scripts/admin/views/settings/customization/estimates/EstimatesTabExpiryDate.vue @@ -1,9 +1,9 @@ - + {{ $t('settings.customization.estimates.expiry_date') }} - + {{ $t('settings.customization.estimates.expiry_date_description') }} diff --git a/resources/scripts/admin/views/settings/customization/invoices/InvoicesTab.vue b/resources/scripts/admin/views/settings/customization/invoices/InvoicesTab.vue index 28b6cefc..780fb9a5 100644 --- a/resources/scripts/admin/views/settings/customization/invoices/InvoicesTab.vue +++ b/resources/scripts/admin/views/settings/customization/invoices/InvoicesTab.vue @@ -15,7 +15,7 @@ - + - + {{ $t('settings.customization.invoices.default_formats') }} - + {{ $t('settings.customization.invoices.default_formats_description') }} diff --git a/resources/scripts/admin/views/settings/customization/invoices/InvoicesTabDueDate.vue b/resources/scripts/admin/views/settings/customization/invoices/InvoicesTabDueDate.vue index f994fa15..a12d5bba 100644 --- a/resources/scripts/admin/views/settings/customization/invoices/InvoicesTabDueDate.vue +++ b/resources/scripts/admin/views/settings/customization/invoices/InvoicesTabDueDate.vue @@ -1,9 +1,9 @@ - + {{ $t('settings.customization.invoices.due_date') }} - + {{ $t('settings.customization.invoices.due_date_description') }} diff --git a/resources/scripts/admin/views/settings/customization/invoices/InvoicesTabRetrospective.vue b/resources/scripts/admin/views/settings/customization/invoices/InvoicesTabRetrospective.vue index 4aa42db6..9389d3f0 100644 --- a/resources/scripts/admin/views/settings/customization/invoices/InvoicesTabRetrospective.vue +++ b/resources/scripts/admin/views/settings/customization/invoices/InvoicesTabRetrospective.vue @@ -1,8 +1,8 @@ - + {{ $t('settings.customization.invoices.retrospective_edits') }} - + {{ $t('settings.customization.invoices.retrospective_edits_description') }} diff --git a/resources/scripts/admin/views/settings/customization/items/ItemsTab.vue b/resources/scripts/admin/views/settings/customization/items/ItemsTab.vue index 73ff180b..d386e3e7 100644 --- a/resources/scripts/admin/views/settings/customization/items/ItemsTab.vue +++ b/resources/scripts/admin/views/settings/customization/items/ItemsTab.vue @@ -15,14 +15,14 @@ - + {{ $t('general.edit') }} @@ -30,7 +30,7 @@ {{ $t('general.delete') }} @@ -60,7 +60,7 @@ const columns = computed(() => { key: 'name', label: t('settings.customization.items.unit_name'), thClass: 'extra', - tdClass: 'font-medium text-gray-900', + tdClass: 'font-medium text-heading', }, { key: 'actions', diff --git a/resources/scripts/admin/views/settings/customization/payments/PaymentsTab.vue b/resources/scripts/admin/views/settings/customization/payments/PaymentsTab.vue index 8552124f..5da762d9 100644 --- a/resources/scripts/admin/views/settings/customization/payments/PaymentsTab.vue +++ b/resources/scripts/admin/views/settings/customization/payments/PaymentsTab.vue @@ -7,7 +7,7 @@ - + - + {{ $t('settings.customization.payments.default_formats') }} - + {{ $t('settings.customization.payments.default_formats_description') }} diff --git a/resources/scripts/admin/views/settings/mail-driver/MailgunMailDriver.vue b/resources/scripts/admin/views/settings/mail-driver/MailgunMailDriver.vue index 18a86af9..e606231c 100644 --- a/resources/scripts/admin/views/settings/mail-driver/MailgunMailDriver.vue +++ b/resources/scripts/admin/views/settings/mail-driver/MailgunMailDriver.vue @@ -60,7 +60,7 @@ diff --git a/resources/scripts/admin/views/settings/mail-driver/SesMailDriver.vue b/resources/scripts/admin/views/settings/mail-driver/SesMailDriver.vue index 098d5e3a..2c8fc30f 100644 --- a/resources/scripts/admin/views/settings/mail-driver/SesMailDriver.vue +++ b/resources/scripts/admin/views/settings/mail-driver/SesMailDriver.vue @@ -155,7 +155,7 @@ diff --git a/resources/scripts/admin/views/settings/mail-driver/SmtpMailDriver.vue b/resources/scripts/admin/views/settings/mail-driver/SmtpMailDriver.vue index 49ab5501..15ae7ea9 100644 --- a/resources/scripts/admin/views/settings/mail-driver/SmtpMailDriver.vue +++ b/resources/scripts/admin/views/settings/mail-driver/SmtpMailDriver.vue @@ -64,7 +64,7 @@ diff --git a/resources/scripts/components/CompanySwitcher.vue b/resources/scripts/components/CompanySwitcher.vue index 9c0b1ce0..2881ad62 100644 --- a/resources/scripts/components/CompanySwitcher.vue +++ b/resources/scripts/components/CompanySwitcher.vue @@ -45,7 +45,7 @@ > @@ -77,7 +77,7 @@ - + - + {{ $t('company_switcher.no_results_found') }} @@ -120,10 +120,10 @@ px-3 rounded-md cursor-pointer - hover:bg-gray-100 hover:text-primary-500 + hover:bg-hover-strong hover:text-primary-500 " :class="{ - 'bg-gray-100 text-primary-500': + 'bg-surface-tertiary text-primary-500': companyStore.selectedCompany && companyStore.selectedCompany.id === company.id, }" @click="changeCompany(company)" @@ -138,7 +138,7 @@ overflow-hidden text-base font-semibold - bg-gray-200 + bg-surface-muted rounded-md w-9 h-9 @@ -166,12 +166,12 @@ {{ $t('members.pending_invitations') }} @@ -186,14 +186,14 @@ class=" flex items-center justify-center mr-3 overflow-hidden text-xs font-semibold - bg-gray-200 rounded-md w-9 h-9 shrink-0 text-gray-400 + bg-surface-muted rounded-md w-9 h-9 shrink-0 text-subtle " > {{ initGenerator(invitation.company?.name || '?') }} - {{ invitation.company?.name }} - {{ invitation.role?.title }} + {{ invitation.company?.name }} + {{ invitation.role?.title }} @@ -204,7 +204,7 @@ {{ $t('general.accept') }} {{ $t('general.decline') }} @@ -221,7 +221,7 @@ justify-center p-4 pl-3 - border-t-2 border-gray-100 + border-t-2 border-line-light cursor-pointer text-primary-400 hover:text-primary-500 diff --git a/resources/scripts/components/GlobalSearchBar.vue b/resources/scripts/components/GlobalSearchBar.vue index 015d49be..dbcfbfa2 100644 --- a/resources/scripts/components/GlobalSearchBar.vue +++ b/resources/scripts/components/GlobalSearchBar.vue @@ -9,7 +9,7 @@ @input="onSearch" > - + @@ -32,7 +32,7 @@ scrollbar-thumb-gray-300 scrollbar-track-gray-100 overflow-y-auto - bg-white + bg-surface rounded-md mt-2 shadow-lg @@ -51,24 +51,24 @@ flex items-center justify-center - text-gray-400 text-base + text-subtle text-base flex-col mt-4 " > - + {{ $t('global_search.no_results_found') }} - + {{ $t('global_search.customers') }} {{ customer.name }} {{ customer.contact_name }} - {{ + {{ customer.email }} @@ -109,14 +109,14 @@ {{ $t('global_search.users') }} {{ user.name }} - {{ user.email }} + {{ user.email }} diff --git a/resources/scripts/components/InvoiceInformationCard.vue b/resources/scripts/components/InvoiceInformationCard.vue index 53219252..17c7436a 100644 --- a/resources/scripts/components/InvoiceInformationCard.vue +++ b/resources/scripts/components/InvoiceInformationCard.vue @@ -1,33 +1,33 @@ - + - + {{ $t('invoices.invoice_information') }} - - + + - + {{ $t('general.from') }} - + {{ invoice.company.name }} - + {{ $t('general.to') }} - + {{ invoice.customer.name }} - + {{ $t('invoices.paid_status').toLowerCase() }} - + - + {{ $t('invoices.total') }} - + - + {{ $t('invoices.notes') }} - + diff --git a/resources/scripts/components/InvoicePublicPage.vue b/resources/scripts/components/InvoicePublicPage.vue index 6cb0b772..b350026c 100644 --- a/resources/scripts/components/InvoicePublicPage.vue +++ b/resources/scripts/components/InvoicePublicPage.vue @@ -61,7 +61,7 @@ I Powered by diff --git a/resources/scripts/components/base-select/BaseMultiselect.vue b/resources/scripts/components/base-select/BaseMultiselect.vue index 6b173ef3..3e4ee669 100755 --- a/resources/scripts/components/base-select/BaseMultiselect.vue +++ b/resources/scripts/components/base-select/BaseMultiselect.vue @@ -437,9 +437,9 @@ export default { required: false, default: () => ({ container: - 'p-0 relative mx-auto w-full flex items-center justify-end box-border cursor-pointer border border-gray-200 rounded-md bg-white text-sm leading-snug outline-hidden max-h-10', + 'p-0 relative mx-auto w-full flex items-center justify-end box-border cursor-pointer border border-line-default rounded-md bg-surface text-sm leading-snug outline-hidden max-h-10', containerDisabled: - 'cursor-default bg-gray-200/50 !text-gray-400', + 'cursor-default bg-surface-muted/50 !text-subtle', containerOpen: '', containerOpenTop: '', containerActive: 'ring-1 ring-primary-400 border-primary-400', @@ -451,10 +451,10 @@ export default { multipleLabel: 'flex items-center h-full absolute left-0 top-0 pointer-events-none bg-transparent leading-snug pl-3.5', search: - 'w-full absolute inset-0 outline-hidden appearance-none box-border border-0 text-sm font-sans bg-white rounded-md pl-3.5', + 'w-full absolute inset-0 outline-hidden appearance-none box-border border-0 text-sm font-sans bg-surface rounded-md pl-3.5', tags: 'grow shrink flex flex-wrap mt-1 pl-2', tag: 'bg-primary-500 text-white text-sm font-semibold py-0.5 pl-2 rounded mr-1 mb-1 flex items-center whitespace-nowrap', - tagDisabled: 'pr-2 !bg-gray-400 text-white', + tagDisabled: 'pr-2 !bg-subtle text-white', tagRemove: 'flex items-center justify-center p-1 mx-0.5 rounded-xs hover:bg-black/10 group', tagRemoveIcon: @@ -464,7 +464,7 @@ export default { 'absolute inset-0 border-0 focus:outline-hidden !shadow-none !focus:shadow-none appearance-none p-0 text-sm font-sans box-border w-full', tagsSearchCopy: 'invisible whitespace-pre-wrap inline-block h-px', placeholder: - 'flex items-center h-full absolute left-0 top-0 pointer-events-none bg-transparent leading-snug pl-3.5 text-gray-400 text-sm', + 'flex items-center h-full absolute left-0 top-0 pointer-events-none bg-transparent leading-snug pl-3.5 text-subtle text-sm', caret: 'bg-multiselect-caret bg-center bg-no-repeat w-5 h-5 py-px box-content z-5 relative mr-1 opacity-40 shrink-0 grow-0 transition-transform', caretOpen: 'rotate-180 pointer-events-auto', @@ -475,7 +475,7 @@ export default { spinner: 'bg-multiselect-spinner bg-center bg-no-repeat w-4 h-4 z-10 mr-3.5 animate-spin shrink-0 grow-0', dropdown: - 'max-h-60 shadow-lg absolute -left-px -right-px -bottom-1 border border-gray-300 mt-1 overflow-y-auto z-50 bg-white flex flex-col rounded-md', + 'max-h-60 shadow-lg absolute -left-px -right-px -bottom-1 border border-line-strong mt-1 overflow-y-auto z-50 bg-surface flex flex-col rounded-md', dropdownTop: '-translate-y-full -top-2 bottom-auto flex-col-reverse rounded-md', dropdownBottom: 'translate-y-full', @@ -484,25 +484,25 @@ export default { optionsTop: 'flex-col-reverse', group: 'p-0 m-0', groupLabel: - 'flex text-sm box-border items-center justify-start text-left py-1 px-3 font-semibold bg-gray-200 cursor-default leading-normal', + 'flex text-sm box-border items-center justify-start text-left py-1 px-3 font-semibold bg-surface-muted cursor-default leading-normal', groupLabelPointable: 'cursor-pointer', - groupLabelPointed: 'bg-gray-300 text-gray-700', + groupLabelPointed: 'bg-surface-muted text-body', groupLabelSelected: 'bg-primary-600 text-white', - groupLabelDisabled: 'bg-gray-100 text-gray-300 cursor-not-allowed', + groupLabelDisabled: 'bg-surface-tertiary text-subtle cursor-not-allowed', groupLabelSelectedPointed: 'bg-primary-600 text-white opacity-90', groupLabelSelectedDisabled: 'text-primary-100 bg-primary-600/50 cursor-not-allowed', groupOptions: 'p-0 m-0', option: 'flex items-center justify-start box-border text-left cursor-pointer text-sm leading-snug py-2 px-3', - optionPointed: 'text-gray-800 bg-gray-100', + optionPointed: 'text-heading bg-surface-tertiary', optionSelected: 'text-white bg-primary-500', - optionDisabled: 'text-gray-300 cursor-not-allowed', + optionDisabled: 'text-subtle cursor-not-allowed', optionSelectedPointed: 'text-white bg-primary-500 opacity-90', optionSelectedDisabled: 'text-primary-100 bg-primary-500/50 cursor-not-allowed', - noOptions: 'py-2 px-3 text-gray-600 bg-white', - noResults: 'py-2 px-3 text-gray-600 bg-white', + noOptions: 'py-2 px-3 text-muted bg-surface', + noResults: 'py-2 px-3 text-muted bg-surface', fakeInput: 'bg-transparent absolute left-0 right-0 -bottom-px w-full h-px border-0 p-0 appearance-none outline-hidden text-transparent', spacer: 'h-9 py-px box-content', diff --git a/resources/scripts/components/base/BaseBadge.vue b/resources/scripts/components/base/BaseBadge.vue index 228bc566..a75c2d1a 100644 --- a/resources/scripts/components/base/BaseBadge.vue +++ b/resources/scripts/components/base/BaseBadge.vue @@ -5,7 +5,7 @@ py-1 text-sm font-normal - text-center text-green-800 + text-center text-status-green uppercase bg-success " diff --git a/resources/scripts/components/base/BaseBreadcrumb.vue b/resources/scripts/components/base/BaseBreadcrumb.vue index 07afcf02..d28ef414 100644 --- a/resources/scripts/components/base/BaseBreadcrumb.vue +++ b/resources/scripts/components/base/BaseBreadcrumb.vue @@ -1,6 +1,6 @@ - + diff --git a/resources/scripts/components/base/BaseBreadcrumbItem.vue b/resources/scripts/components/base/BaseBreadcrumbItem.vue index b19ab0cc..323bfb44 100644 --- a/resources/scripts/components/base/BaseBreadcrumbItem.vue +++ b/resources/scripts/components/base/BaseBreadcrumbItem.vue @@ -7,7 +7,7 @@ text-sm font-medium leading-5 - text-gray-900 + text-heading outline-hidden focus:ring-2 focus:ring-offset-2 focus:ring-primary-400 " diff --git a/resources/scripts/components/base/BaseButton.vue b/resources/scripts/components/base/BaseButton.vue index 38a45d72..ce1756f3 100644 --- a/resources/scripts/components/base/BaseButton.vue +++ b/resources/scripts/components/base/BaseButton.vue @@ -54,11 +54,11 @@ const props = defineProps({ const sizeClass = computed(() => { return { - 'px-2.5 py-1.5 text-xs leading-4 rounded': props.size === 'xs', - 'px-3 py-2 text-sm leading-4 rounded-md': props.size == 'sm', - 'px-4 py-2 text-sm leading-5 rounded-md': props.size === 'md', - 'px-4 py-2 text-base leading-6 rounded-md': props.size === 'lg', - 'px-6 py-3 text-base leading-6 rounded-md': props.size === 'xl', + 'px-2.5 py-1.5 text-xs leading-4 rounded-lg': props.size === 'xs', + 'px-3 py-2 text-sm leading-4 rounded-lg': props.size == 'sm', + 'px-4 py-2 text-sm leading-5 rounded-lg': props.size === 'md', + 'px-4 py-2 text-base leading-6 rounded-lg': props.size === 'lg', + 'px-6 py-3 text-base leading-6 rounded-lg': props.size === 'xl', } }) @@ -87,11 +87,11 @@ const variantClass = computed(() => { props.variant === 'secondary', 'border-solid border-primary-500 font-normal transition ease-in-out duration-150 text-primary-500 hover:bg-primary-200 shadow-inner focus:ring-primary-500': props.variant == 'primary-outline', - 'border-gray-200 text-gray-700 bg-white hover:bg-gray-50 focus:ring-primary-500 focus:ring-offset-0': + 'border-line-default text-body bg-surface hover:bg-hover focus:ring-primary-500 focus:ring-offset-0': props.variant == 'white', 'border-transparent shadow-xs text-white bg-red-600 hover:bg-red-700 focus:ring-red-500': props.variant === 'danger', - 'border-transparent bg-gray-200 border hover:bg-gray-200/60 focus:ring-gray-500 focus:ring-offset-0': + 'border-transparent bg-surface-muted border hover:bg-surface-muted/60 focus:ring-gray-500 focus:ring-offset-0': props.variant === 'gray', } }) @@ -112,8 +112,8 @@ const iconVariantClass = computed(() => { return { 'text-white': props.variant === 'primary', 'text-primary-700': props.variant === 'secondary', - 'text-gray-700': props.variant === 'white', - 'text-gray-400': props.variant === 'gray', + 'text-body': props.variant === 'white', + 'text-subtle': props.variant === 'gray', } }) diff --git a/resources/scripts/components/base/BaseCard.vue b/resources/scripts/components/base/BaseCard.vue index c4ef52d3..5776eb49 100644 --- a/resources/scripts/components/base/BaseCard.vue +++ b/resources/scripts/components/base/BaseCard.vue @@ -1,8 +1,8 @@ - + @@ -11,7 +11,7 @@ diff --git a/resources/scripts/components/base/BaseCheckbox.vue b/resources/scripts/components/base/BaseCheckbox.vue index c5e1d4d7..5e9cf914 100644 --- a/resources/scripts/components/base/BaseCheckbox.vue +++ b/resources/scripts/components/base/BaseCheckbox.vue @@ -15,12 +15,12 @@ v-if="label" :for="id" :class="`font-medium ${ - disabled ? 'text-gray-400 cursor-not-allowed' : 'text-gray-600' + disabled ? 'text-subtle cursor-not-allowed' : 'text-body' } cursor-pointer `" > {{ label }} - {{ description }} + {{ description }} @@ -51,7 +51,7 @@ const props = defineProps({ }, checkboxClass: { type: String, - default: 'w-4 h-4 border-gray-300 rounded cursor-pointer', + default: 'w-4 h-4 border-line-strong rounded cursor-pointer', }, setInitialValue: { type: Boolean, @@ -75,7 +75,7 @@ const checked = computed({ const disabledClass = computed(() => { if (props.disabled) { - return 'text-gray-300 cursor-not-allowed' + return 'text-subtle cursor-not-allowed' } return 'text-primary-600 focus:ring-primary-500' diff --git a/resources/scripts/components/base/BaseContentPlaceholders.vue b/resources/scripts/components/base/BaseContentPlaceholders.vue index 57543abd..47f91461 100644 --- a/resources/scripts/components/base/BaseContentPlaceholders.vue +++ b/resources/scripts/components/base/BaseContentPlaceholders.vue @@ -55,7 +55,7 @@ const classObject = computed(() => { position: relative; overflow: hidden; min-height: 15px; - background: #eee; + background: var(--color-surface-muted); .base-content-placeholders-is-rounded & { border-radius: 6px; @@ -72,7 +72,7 @@ const classObject = computed(() => { width: 100vw; max-width: 1000px; height: 100%; - background: linear-gradient(to right, transparent 0%, #e1e1e1 15%, transparent 30%); + background: linear-gradient(to right, transparent 0%, var(--color-hover-strong) 15%, transparent 30%); animation: vueContentPlaceholdersAnimation 1.5s linear infinite forwards; } } @@ -87,7 +87,7 @@ const classObject = computed(() => { .base-content-placeholders-heading__title { width: 85%; margin-bottom: 10px; - background: #ccc; + background: var(--color-surface-muted); position: relative; overflow: hidden; min-height: 15px; @@ -107,7 +107,7 @@ const classObject = computed(() => { width: 100vw; max-width: 1000px; height: 100%; - background: linear-gradient(to right, transparent 0%, #e1e1e1 15%, transparent 30%); + background: linear-gradient(to right, transparent 0%, var(--color-hover-strong) 15%, transparent 30%); animation: vueContentPlaceholdersAnimation 1.5s linear infinite forwards; } } @@ -117,7 +117,7 @@ const classObject = computed(() => { position: relative; overflow: hidden; min-height: 15px; - background: #eee; + background: var(--color-surface-muted); .base-content-placeholders-is-rounded & { border-radius: 6px; @@ -134,7 +134,7 @@ const classObject = computed(() => { width: 100vw; max-width: 1000px; height: 100%; - background: linear-gradient(to right, transparent 0%, #e1e1e1 15%, transparent 30%); + background: linear-gradient(to right, transparent 0%, var(--color-hover-strong) 15%, transparent 30%); animation: vueContentPlaceholdersAnimation 1.5s linear infinite forwards; } } @@ -151,7 +151,7 @@ const classObject = computed(() => { position: relative; overflow: hidden; min-height: 15px; - background: #eee; + background: var(--color-surface-muted); .base-content-placeholders-is-rounded & { border-radius: 6px; @@ -168,7 +168,7 @@ const classObject = computed(() => { width: 100vw; max-width: 1000px; height: 100%; - background: linear-gradient(to right, transparent 0%, #e1e1e1 15%, transparent 30%); + background: linear-gradient(to right, transparent 0%, var(--color-hover-strong) 15%, transparent 30%); animation: vueContentPlaceholdersAnimation 1.5s linear infinite forwards; } @@ -190,7 +190,7 @@ const classObject = computed(() => { position: relative; overflow: hidden; min-height: 15px; - background: #eee; + background: var(--color-surface-muted); .base-content-placeholders-is-animated &::before { content: ''; @@ -200,7 +200,7 @@ const classObject = computed(() => { width: 100vw; max-width: 1000px; height: 100%; - background: linear-gradient(to right, transparent 0%, #e1e1e1 15%, transparent 30%); + background: linear-gradient(to right, transparent 0%, var(--color-hover-strong) 15%, transparent 30%); animation: vueContentPlaceholdersAnimation 1.5s linear infinite forwards; } } diff --git a/resources/scripts/components/base/BaseCustomInput.vue b/resources/scripts/components/base/BaseCustomInput.vue index ca911e3a..84316e55 100644 --- a/resources/scripts/components/base/BaseCustomInput.vue +++ b/resources/scripts/components/base/BaseCustomInput.vue @@ -27,7 +27,7 @@ - + {{ type.label }} @@ -39,7 +39,7 @@ text-sm font-normal cursor-pointer - hover:bg-gray-100 + hover:bg-hover-strong rounded ml-1 py-0.5 @@ -49,7 +49,7 @@ {{ field.label }} diff --git a/resources/scripts/components/base/BaseCustomerAddressDisplay.vue b/resources/scripts/components/base/BaseCustomerAddressDisplay.vue index fa2a880d..cb34f710 100644 --- a/resources/scripts/components/base/BaseCustomerAddressDisplay.vue +++ b/resources/scripts/components/base/BaseCustomerAddressDisplay.vue @@ -1,7 +1,7 @@ {{ address?.address_street_1 }}, diff --git a/resources/scripts/components/base/BaseCustomerSelectPopup.vue b/resources/scripts/components/base/BaseCustomerSelectPopup.vue index 9557f882..4fe37052 100644 --- a/resources/scripts/components/base/BaseCustomerSelectPopup.vue +++ b/resources/scripts/components/base/BaseCustomerSelectPopup.vue @@ -16,8 +16,8 @@ class=" flex flex-col p-4 - bg-white - border border-gray-200 border-solid + bg-surface + border border-line-default border-solid min-h-[170px] rounded-md " @@ -26,7 +26,7 @@ - + {{ $t('general.edit') }} @@ -61,7 +61,7 @@ " @click="resetSelectedCustomer" > - + {{ $t('general.deselect') }} @@ -73,7 +73,7 @@ mb-1 text-sm font-medium - text-left text-gray-400 + text-left text-subtle uppercase whitespace-nowrap " @@ -123,7 +123,7 @@ mb-1 text-sm font-medium - text-left text-gray-400 + text-left text-subtle uppercase whitespace-nowrap " @@ -187,8 +187,8 @@ px-0 p-0 py-16 - bg-white - border border-gray-200 border-solid + bg-surface + border border-line-default border-solid rounded-md min-h-[170px] " @@ -203,14 +203,14 @@ p-2 mr-5 text-sm text-white - bg-gray-200 + bg-surface-muted rounded-full font-base " /> - + {{ $t('customers.new_customer') }} * @@ -244,7 +244,7 @@ rounded-md shadow-lg ring-1 ring-black/5 - bg-white + bg-surface " > @@ -263,7 +263,7 @@ flex flex-col overflow-auto list - border-t border-gray-200 + border-t border-line-default " > @@ -330,9 +330,9 @@ - + {{ $t('customers.no_customers_found') }} @@ -350,10 +350,10 @@ w-full px-2 py-3 - bg-gray-200 + bg-surface-muted border-none outline-hidden - focus:bg-gray-300 + focus:bg-surface-muted " @click="openCustomerModal" > diff --git a/resources/scripts/components/base/BaseDatePicker.vue b/resources/scripts/components/base/BaseDatePicker.vue index c29bdd9e..1605f19b 100644 --- a/resources/scripts/components/base/BaseDatePicker.vue +++ b/resources/scripts/components/base/BaseDatePicker.vue @@ -21,7 +21,7 @@ text-sm not-italic font-black - text-gray-400 + text-subtle cursor-pointer " @click="onClickDp" @@ -121,7 +121,7 @@ const props = defineProps({ defaultInputClass: { type: String, default: - 'font-base pl-8 py-2 outline-hidden focus:ring-primary-400 focus:outline-hidden focus:border-primary-400 block w-full sm:text-sm border-gray-200 rounded-md text-black', + 'font-base pl-8 py-2 outline-hidden focus:ring-primary-400 focus:outline-hidden focus:border-primary-400 block w-full sm:text-sm border-line-default rounded-md text-heading', }, time24hr: { type: Boolean, @@ -282,7 +282,7 @@ const inputInvalidClass = computed(() => { const inputDisabledClass = computed(() => { if (props.disabled) { - return 'border border-solid rounded-md outline-hidden input-field box-border-2 base-date-picker-input placeholder-gray-400 bg-gray-200 text-gray-600 border-gray-200' + return 'border border-solid rounded-md outline-hidden input-field box-border-2 base-date-picker-input placeholder-gray-400 bg-surface-muted text-body border-line-default' } return '' diff --git a/resources/scripts/components/base/BaseDescriptionListItem.vue b/resources/scripts/components/base/BaseDescriptionListItem.vue index 6140fc4b..76496a29 100644 --- a/resources/scripts/components/base/BaseDescriptionListItem.vue +++ b/resources/scripts/components/base/BaseDescriptionListItem.vue @@ -10,7 +10,7 @@ {{ label }} - + {{ value }} diff --git a/resources/scripts/components/base/BaseDialog.vue b/resources/scripts/components/base/BaseDialog.vue index e65ca5d0..5d56fb88 100644 --- a/resources/scripts/components/base/BaseDialog.vue +++ b/resources/scripts/components/base/BaseDialog.vue @@ -30,7 +30,7 @@ leave-to="opacity-0" > @@ -59,7 +59,7 @@ text-left align-bottom transition-all - bg-white + bg-surface rounded-lg shadow-xl sm:my-8 sm:align-middle sm:w-full sm:p-6 @@ -76,35 +76,35 @@ w-12 h-12 mx-auto - bg-green-100 + bg-alert-success-bg rounded-full " :class="{ - 'bg-green-100': dialogStore.variant === 'primary', - 'bg-red-100': dialogStore.variant === 'danger', + 'bg-alert-success-bg': dialogStore.variant === 'primary', + 'bg-alert-error-bg': dialogStore.variant === 'danger', }" > {{ dialogStore.title }} - + {{ dialogStore.message }} diff --git a/resources/scripts/components/base/BaseDivider.vue b/resources/scripts/components/base/BaseDivider.vue index 327cfe0e..6a529918 100644 --- a/resources/scripts/components/base/BaseDivider.vue +++ b/resources/scripts/components/base/BaseDivider.vue @@ -1,3 +1,3 @@ - + diff --git a/resources/scripts/components/base/BaseDropdown.vue b/resources/scripts/components/base/BaseDropdown.vue index 69f9ea84..94281fa6 100644 --- a/resources/scripts/components/base/BaseDropdown.vue +++ b/resources/scripts/components/base/BaseDropdown.vue @@ -69,7 +69,7 @@ const props = defineProps({ }) const containerClasses = computed(() => { - const baseClass = `origin-top-right rounded-md shadow-lg bg-white ring-1 ring-black/5 divide-y divide-gray-100 focus:outline-hidden` + const baseClass = `origin-top-right rounded-md shadow-lg bg-surface ring-1 ring-black/5 divide-y divide-line-light focus:outline-hidden` return `${baseClass} ${props.containerClass}` }) diff --git a/resources/scripts/components/base/BaseDropdownItem.vue b/resources/scripts/components/base/BaseDropdownItem.vue index 7336a47a..c93d1202 100644 --- a/resources/scripts/components/base/BaseDropdownItem.vue +++ b/resources/scripts/components/base/BaseDropdownItem.vue @@ -3,7 +3,7 @@ diff --git a/resources/scripts/components/base/BaseEmptyPlaceholder.vue b/resources/scripts/components/base/BaseEmptyPlaceholder.vue index c89265d6..a888ebf6 100644 --- a/resources/scripts/components/base/BaseEmptyPlaceholder.vue +++ b/resources/scripts/components/base/BaseEmptyPlaceholder.vue @@ -7,7 +7,7 @@ {{ title }} - + {{ description }} diff --git a/resources/scripts/components/base/BaseErrorAlert.vue b/resources/scripts/components/base/BaseErrorAlert.vue index c80a5849..2bebfa26 100644 --- a/resources/scripts/components/base/BaseErrorAlert.vue +++ b/resources/scripts/components/base/BaseErrorAlert.vue @@ -1,14 +1,14 @@ - + - + - + {{ errorTitle }} - + {{ error }} diff --git a/resources/scripts/components/base/BaseEstimateStatusBadge.vue b/resources/scripts/components/base/BaseEstimateStatusBadge.vue index 203a9517..c9ac54a7 100644 --- a/resources/scripts/components/base/BaseEstimateStatusBadge.vue +++ b/resources/scripts/components/base/BaseEstimateStatusBadge.vue @@ -18,19 +18,19 @@ const props = defineProps({ const badgeColorClasses = computed(() => { switch (props.status) { case 'DRAFT': - return 'bg-yellow-300/25 px-2 py-1 text-sm text-yellow-800 uppercase font-normal text-center ' + return 'bg-yellow-300/25 px-2 py-1 text-sm text-status-yellow uppercase font-normal text-center ' case 'SENT': - return ' bg-yellow-500/25 px-2 py-1 text-sm text-yellow-900 uppercase font-normal text-center ' + return ' bg-yellow-500/25 px-2 py-1 text-sm text-status-yellow uppercase font-normal text-center ' case 'VIEWED': - return 'bg-blue-400/25 px-2 py-1 text-sm text-blue-900 uppercase font-normal text-center' + return 'bg-blue-400/25 px-2 py-1 text-sm text-status-blue uppercase font-normal text-center' case 'EXPIRED': - return 'bg-red-300/25 px-2 py-1 text-sm text-red-800 uppercase font-normal text-center' + return 'bg-red-300/25 px-2 py-1 text-sm text-status-red uppercase font-normal text-center' case 'ACCEPTED': - return 'bg-green-400/25 px-2 py-1 text-sm text-green-800 uppercase font-normal text-center' + return 'bg-green-400/25 px-2 py-1 text-sm text-status-green uppercase font-normal text-center' case 'REJECTED': - return 'bg-purple-300/25 px-2 py-1 text-sm text-purple-800 uppercase font-normal text-center' + return 'bg-purple-300/25 px-2 py-1 text-sm text-status-purple uppercase font-normal text-center' default: - return 'bg-gray-500/25 px-2 py-1 text-sm text-gray-900 uppercase font-normal text-center' + return 'bg-surface-secondary0/25 px-2 py-1 text-sm text-heading uppercase font-normal text-center' } }) diff --git a/resources/scripts/components/base/BaseFileUploader.vue b/resources/scripts/components/base/BaseFileUploader.vue index 8e0c0385..794faaa4 100644 --- a/resources/scripts/components/base/BaseFileUploader.vue +++ b/resources/scripts/components/base/BaseFileUploader.vue @@ -11,15 +11,15 @@ rounded-md cursor-pointer avatar-upload - border-gray-300 + border-line-strong transition-all duration-300 ease-in-out isolate - hover:border-gray-300 + hover:border-line-strong group min-h-[100px] - bg-gray-50 + bg-surface-secondary " :class="avatar ? 'w-32 h-32' : 'w-full'" > @@ -48,7 +48,7 @@ - + {{ $t('general.file_upload.drag_a_file') }} + {{ recommendedText }} - + @@ -188,8 +188,8 @@ block p-2 m-2 - bg-white - border border-gray-200 + bg-surface + border border-line-default rounded hover:border-gray-500 relative @@ -211,7 +211,7 @@ flex justify-center items-center - text-gray-400 + text-subtle flex-col space-y-2 px-2 @@ -238,7 +238,7 @@ - + @@ -286,8 +286,8 @@ block p-2 m-2 - bg-white - border border-gray-200 + bg-surface + border border-line-default rounded hover:border-gray-500 relative @@ -309,7 +309,7 @@ flex justify-center items-center - text-gray-400 + text-subtle flex-col space-y-2 px-2 @@ -336,7 +336,7 @@ - + diff --git a/resources/scripts/components/base/BaseFilterWrapper.vue b/resources/scripts/components/base/BaseFilterWrapper.vue index 5db8358c..8a805c1c 100644 --- a/resources/scripts/components/base/BaseFilterWrapper.vue +++ b/resources/scripts/components/base/BaseFilterWrapper.vue @@ -7,7 +7,7 @@ leave-from-class="opacity-100" leave-to-class="opacity-0" > - + { return { - 'text-gray-900 text-lg font-medium': props.type === 'heading-title', - 'text-gray-500 uppercase text-base': props.type === 'section-title', + 'text-heading text-lg font-medium': props.type === 'heading-title', + 'text-muted uppercase text-base': props.type === 'section-title', } }) diff --git a/resources/scripts/components/base/BaseInfoAlert.vue b/resources/scripts/components/base/BaseInfoAlert.vue index 6a0391d7..5d8933f2 100644 --- a/resources/scripts/components/base/BaseInfoAlert.vue +++ b/resources/scripts/components/base/BaseInfoAlert.vue @@ -1,8 +1,8 @@ - + @@ -10,15 +10,15 @@ - + {{ title }} - + {{ list }} @@ -34,14 +34,14 @@ :key="i" type="button" class=" - bg-yellow-50 + bg-alert-warning-bg px-2 py-1.5 rounded-md text-sm font-medium - text-yellow-800 - hover:bg-yellow-100 + text-alert-warning-text + hover:bg-alert-warning-bg focus:outline-hidden focus:ring-2 focus:ring-offset-2 diff --git a/resources/scripts/components/base/BaseInput.vue b/resources/scripts/components/base/BaseInput.vue index fb32fd96..86b0ea45 100644 --- a/resources/scripts/components/base/BaseInput.vue +++ b/resources/scripts/components/base/BaseInput.vue @@ -60,10 +60,10 @@ inline-flex items-center px-3 - text-gray-500 - border border-r-0 border-gray-200 + text-muted + border border-r-0 border-line-default rounded-l-md - bg-gray-50 + bg-surface-secondary sm:text-sm " > @@ -82,7 +82,7 @@ pointer-events-none " > - + {{ inlineAddon }} @@ -199,15 +199,15 @@ const props = defineProps({ defaultInputClass: { type: String, default: - 'font-base block w-full sm:text-sm border-gray-200 rounded-md text-black', + 'font-base block w-full sm:text-sm border-line-default rounded-md text-heading', }, iconLeftClass: { type: String, - default: 'h-5 w-5 text-gray-400', + default: 'h-5 w-5 text-subtle', }, iconRightClass: { type: String, - default: 'h-5 w-5 text-gray-400', + default: 'h-5 w-5 text-subtle', }, modelModifiers: { default: () => ({}), @@ -258,7 +258,7 @@ const inputInvalidClass = computed(() => { const inputDisabledClass = computed(() => { if (props.disabled) { - return `border-gray-100 bg-gray-100 !text-gray-400 ring-gray-200 focus:ring-gray-200 focus:border-gray-100` + return `border-line-light bg-surface-tertiary !text-subtle ring-surface-muted focus:ring-surface-muted focus:border-line-light` } return '' diff --git a/resources/scripts/components/base/BaseInputGroup.vue b/resources/scripts/components/base/BaseInputGroup.vue index 31d83fb9..850b763a 100644 --- a/resources/scripts/components/base/BaseInputGroup.vue +++ b/resources/scripts/components/base/BaseInputGroup.vue @@ -12,7 +12,7 @@ not-italic items-center font-medium - text-gray-800 + text-heading whitespace-nowrap justify-between " @@ -26,12 +26,12 @@ v-if="tooltip" v-tooltip="{ content: tooltip }" name="InformationCircleIcon" - class="h-4 text-gray-400 cursor-pointer hover:text-gray-600" + class="h-4 text-subtle cursor-pointer hover:text-body" /> - + {{ helpText }} diff --git a/resources/scripts/components/base/BaseInvoiceStatusBadge.vue b/resources/scripts/components/base/BaseInvoiceStatusBadge.vue index 14840c40..08b6d32b 100644 --- a/resources/scripts/components/base/BaseInvoiceStatusBadge.vue +++ b/resources/scripts/components/base/BaseInvoiceStatusBadge.vue @@ -20,25 +20,25 @@ export default { const badgeColorClasses = computed(() => { switch (props.status) { case 'DRAFT': - return 'bg-yellow-300/25 px-2 py-1 text-sm text-yellow-800 uppercase font-normal text-center' + return 'bg-yellow-300/25 px-2 py-1 text-sm text-status-yellow uppercase font-normal text-center' case 'SENT': - return ' bg-yellow-500/25 px-2 py-1 text-sm text-yellow-900 uppercase font-normal text-center ' + return ' bg-yellow-500/25 px-2 py-1 text-sm text-status-yellow uppercase font-normal text-center ' case 'VIEWED': - return 'bg-blue-400/25 px-2 py-1 text-sm text-blue-900 uppercase font-normal text-center' + return 'bg-blue-400/25 px-2 py-1 text-sm text-status-blue uppercase font-normal text-center' case 'COMPLETED': - return 'bg-green-500/25 px-2 py-1 text-sm text-green-900 uppercase font-normal text-center' + return 'bg-green-500/25 px-2 py-1 text-sm text-status-green uppercase font-normal text-center' case 'DUE': - return 'bg-yellow-500/25 px-2 py-1 text-sm text-yellow-900 uppercase font-normal text-center' + return 'bg-yellow-500/25 px-2 py-1 text-sm text-status-yellow uppercase font-normal text-center' case 'OVERDUE': - return 'bg-red-300/50 px-2 py-1 text-sm text-red-900 uppercase font-normal text-center' + return 'bg-red-300/50 px-2 py-1 text-sm text-status-red uppercase font-normal text-center' case 'UNPAID': - return 'bg-yellow-500/25 px-2 py-1 text-sm text-yellow-900 uppercase font-normal text-center' + return 'bg-yellow-500/25 px-2 py-1 text-sm text-status-yellow uppercase font-normal text-center' case 'PARTIALLY_PAID': - return 'bg-blue-400/25 px-2 py-1 text-sm text-blue-900 uppercase font-normal text-center' + return 'bg-blue-400/25 px-2 py-1 text-sm text-status-blue uppercase font-normal text-center' case 'PAID': - return 'bg-green-500/25 px-2 py-1 text-sm text-green-900 uppercase font-normal text-center' + return 'bg-green-500/25 px-2 py-1 text-sm text-status-green uppercase font-normal text-center' default: - return 'bg-gray-500/25 px-2 py-1 text-sm text-gray-900 uppercase font-normal text-center' + return 'bg-surface-secondary0/25 px-2 py-1 text-sm text-heading uppercase font-normal text-center' } }) return { badgeColorClasses } diff --git a/resources/scripts/components/base/BaseItemSelect.vue b/resources/scripts/components/base/BaseItemSelect.vue index df1aa583..74ab4a15 100644 --- a/resources/scripts/components/base/BaseItemSelect.vue +++ b/resources/scripts/components/base/BaseItemSelect.vue @@ -9,15 +9,15 @@ items-center h-10 pl-2 - bg-gray-200 - border border-gray-200 border-solid + bg-surface-muted + border border-line-default border-solid rounded " > {{ item.name }} diff --git a/resources/scripts/components/base/BaseModal.vue b/resources/scripts/components/base/BaseModal.vue index 2d0c85d2..4ec0aad6 100644 --- a/resources/scripts/components/base/BaseModal.vue +++ b/resources/scripts/components/base/BaseModal.vue @@ -51,7 +51,7 @@ diff --git a/resources/scripts/components/base/BaseMoney.vue b/resources/scripts/components/base/BaseMoney.vue index bdc4f89e..acec5313 100644 --- a/resources/scripts/components/base/BaseMoney.vue +++ b/resources/scripts/components/base/BaseMoney.vue @@ -39,7 +39,7 @@ const props = defineProps({ inputClass: { type: String, default: - 'font-base block w-full sm:text-sm border-gray-200 rounded-md text-black', + 'font-base block w-full sm:text-sm border-line-default rounded-md text-heading', }, disabled: { type: Boolean, diff --git a/resources/scripts/components/base/BaseNewBadge.vue b/resources/scripts/components/base/BaseNewBadge.vue index 47f3b38e..a5d55164 100644 --- a/resources/scripts/components/base/BaseNewBadge.vue +++ b/resources/scripts/components/base/BaseNewBadge.vue @@ -1,7 +1,7 @@ diff --git a/resources/scripts/components/base/BasePageHeader.vue b/resources/scripts/components/base/BasePageHeader.vue index b85b5389..15718eaf 100644 --- a/resources/scripts/components/base/BasePageHeader.vue +++ b/resources/scripts/components/base/BasePageHeader.vue @@ -1,7 +1,7 @@ - + {{ title }} diff --git a/resources/scripts/components/base/BasePaidStatusBadge.vue b/resources/scripts/components/base/BasePaidStatusBadge.vue index 67012a31..c70ca34a 100644 --- a/resources/scripts/components/base/BasePaidStatusBadge.vue +++ b/resources/scripts/components/base/BasePaidStatusBadge.vue @@ -26,13 +26,13 @@ export default { case 'PAID': return 'bg-primary-300/25 text-primary-800 uppercase font-normal text-center' case 'UNPAID': - return ' bg-yellow-500/25 text-yellow-900 uppercase font-normal text-center ' + return ' bg-yellow-500/25 text-status-yellow uppercase font-normal text-center ' case 'PARTIALLY_PAID': - return 'bg-blue-400/25 text-blue-900 uppercase font-normal text-center' + return 'bg-blue-400/25 text-status-blue uppercase font-normal text-center' case 'OVERDUE': - return 'bg-red-300/50 px-2 py-1 text-sm text-red-900 uppercase font-normal text-center' + return 'bg-red-300/50 px-2 py-1 text-sm text-status-red uppercase font-normal text-center' default: - return 'bg-gray-500/25 text-gray-900 uppercase font-normal text-center' + return 'bg-surface-secondary0/25 text-heading uppercase font-normal text-center' } }) return { badgeColorClasses } diff --git a/resources/scripts/components/base/BaseRadio.vue b/resources/scripts/components/base/BaseRadio.vue index 8a719673..602fd3fd 100644 --- a/resources/scripts/components/base/BaseRadio.vue +++ b/resources/scripts/components/base/BaseRadio.vue @@ -66,11 +66,11 @@ const props = defineProps({ }, checkedStateClass: { type: String, - default: 'bg-primary-600', + default: 'bg-primary-500', }, unCheckedStateClass: { type: String, - default: 'bg-white ', + default: 'bg-surface ', }, optionGroupActiveStateClass: { type: String, @@ -78,11 +78,11 @@ const props = defineProps({ }, checkedStateLabelClass: { type: String, - default: 'text-primary-900 ', + default: 'text-primary-500 ', }, unCheckedStateLabelClass: { type: String, - default: 'text-gray-900', + default: 'text-heading', }, optionGroupClass: { type: String, diff --git a/resources/scripts/components/base/BaseRecurringInvoiceStatusBadge.vue b/resources/scripts/components/base/BaseRecurringInvoiceStatusBadge.vue index 29fc698c..822ded96 100644 --- a/resources/scripts/components/base/BaseRecurringInvoiceStatusBadge.vue +++ b/resources/scripts/components/base/BaseRecurringInvoiceStatusBadge.vue @@ -20,13 +20,13 @@ export default { const badgeColorClasses = computed(() => { switch (props.status) { case 'COMPLETED': - return 'bg-green-500/25 px-2 py-1 text-sm text-green-900 uppercase font-normal text-center' + return 'bg-green-500/25 px-2 py-1 text-sm text-status-green uppercase font-normal text-center' case 'ON_HOLD': - return 'bg-yellow-500/25 px-2 py-1 text-sm text-yellow-900 uppercase font-normal text-center' + return 'bg-yellow-500/25 px-2 py-1 text-sm text-status-yellow uppercase font-normal text-center' case 'ACTIVE': - return 'bg-blue-400/25 px-2 py-1 text-sm text-blue-900 uppercase font-normal text-center' + return 'bg-blue-400/25 px-2 py-1 text-sm text-status-blue uppercase font-normal text-center' default: - return 'bg-gray-500/25 px-2 py-1 text-sm text-gray-900 uppercase font-normal text-center' + return 'bg-surface-secondary0/25 px-2 py-1 text-sm text-heading uppercase font-normal text-center' } }) return { badgeColorClasses } diff --git a/resources/scripts/components/base/BaseSelectAction.vue b/resources/scripts/components/base/BaseSelectAction.vue index 5fc53ca2..2c9adcd1 100644 --- a/resources/scripts/components/base/BaseSelectAction.vue +++ b/resources/scripts/components/base/BaseSelectAction.vue @@ -8,7 +8,7 @@ px-6 py-2 text-sm - bg-gray-200 + bg-surface-muted cursor-pointer text-primary-400 " diff --git a/resources/scripts/components/base/BaseSelectInput.vue b/resources/scripts/components/base/BaseSelectInput.vue index 700d27f0..9e9a25b0 100644 --- a/resources/scripts/components/base/BaseSelectInput.vue +++ b/resources/scripts/components/base/BaseSelectInput.vue @@ -12,7 +12,7 @@ > {{ label }} @@ -27,8 +27,8 @@ pl-3 pr-10 text-left - bg-white - border border-gray-200 + bg-surface + border border-line-default rounded-md shadow-xs cursor-default @@ -42,10 +42,10 @@ {{ getValue(selectedValue) }} - + {{ placeholder }} - + Please select an option @@ -62,7 +62,7 @@ > @@ -82,7 +82,7 @@ mt-1 overflow-auto text-base - bg-white + bg-surface rounded-md shadow-lg max-h-60 @@ -100,7 +100,7 @@ > diff --git a/resources/scripts/components/base/BaseSettingCard.vue b/resources/scripts/components/base/BaseSettingCard.vue index 99db2897..2af8c7cf 100644 --- a/resources/scripts/components/base/BaseSettingCard.vue +++ b/resources/scripts/components/base/BaseSettingCard.vue @@ -11,7 +11,7 @@ mt-2 text-sm leading-snug - text-left text-gray-500 + text-left text-muted max-w-[680px] " > diff --git a/resources/scripts/components/base/BaseSwitch.vue b/resources/scripts/components/base/BaseSwitch.vue index b08b106d..aab73dee 100644 --- a/resources/scripts/components/base/BaseSwitch.vue +++ b/resources/scripts/components/base/BaseSwitch.vue @@ -7,7 +7,7 @@ {{ title }} - + {{ description }} @@ -18,7 +18,7 @@ :disabled="disabled" :model-value="modelValue" :class="[ - modelValue ? 'bg-primary-500' : 'bg-gray-200', + modelValue ? 'bg-primary-500' : 'bg-surface-muted', 'ml-4 relative inline-flex shrink-0 h-6 w-11 border-2 border-transparent rounded-full cursor-pointer transition-colors ease-in-out duration-200 focus:outline-hidden focus:ring-2 focus:ring-offset-2 focus:ring-primary-500', ]" @update:modelValue="onUpdate" diff --git a/resources/scripts/components/base/BaseTabGroup.vue b/resources/scripts/components/base/BaseTabGroup.vue index 96b0fa1b..16b91bbd 100644 --- a/resources/scripts/components/base/BaseTabGroup.vue +++ b/resources/scripts/components/base/BaseTabGroup.vue @@ -3,7 +3,7 @@ {{ tab.title }} diff --git a/resources/scripts/components/base/BaseTextarea.vue b/resources/scripts/components/base/BaseTextarea.vue index 4ae0f94f..6e835796 100644 --- a/resources/scripts/components/base/BaseTextarea.vue +++ b/resources/scripts/components/base/BaseTextarea.vue @@ -45,7 +45,7 @@ const props = defineProps({ defaultInputClass: { type: String, default: - 'box-border w-full px-3 py-2 text-sm not-italic font-normal leading-snug text-left text-black placeholder-gray-400 bg-white border border-gray-200 border-solid rounded outline-hidden', + 'box-border w-full px-3 py-2 text-sm not-italic font-normal leading-snug text-left text-heading placeholder-subtle bg-surface border border-line-default border-solid rounded outline-hidden', }, autosize: { type: Boolean, diff --git a/resources/scripts/components/base/BaseTimePicker.vue b/resources/scripts/components/base/BaseTimePicker.vue index e048c41f..0a52f85f 100644 --- a/resources/scripts/components/base/BaseTimePicker.vue +++ b/resources/scripts/components/base/BaseTimePicker.vue @@ -21,7 +21,7 @@ text-sm not-italic font-black - text-gray-400 + text-subtle cursor-pointer " viewBox="0 0 20 20" @@ -86,7 +86,7 @@ const props = defineProps({ defaultInputClass: { type: String, default: - 'font-base pl-8 py-2 outline-hidden focus:ring-primary-400 focus:outline-hidden focus:border-primary-400 block w-full sm:text-sm border-gray-300 rounded-md text-black', + 'font-base pl-8 py-2 outline-hidden focus:ring-primary-400 focus:outline-hidden focus:border-primary-400 block w-full sm:text-sm border-line-strong rounded-md text-heading', }, }) @@ -130,7 +130,7 @@ const inputInvalidClass = computed(() => { const inputDisabledClass = computed(() => { if (props.disabled) { - return 'border border-solid rounded-md outline-hidden input-field box-border-2 base-date-picker-input placeholder-gray-400 bg-gray-300 text-gray-600 border-gray-300' + return 'border border-solid rounded-md outline-hidden input-field box-border-2 base-date-picker-input placeholder-subtle bg-surface-muted text-body border-line-strong' } return '' diff --git a/resources/scripts/components/base/BaseWizardNavigation.vue b/resources/scripts/components/base/BaseWizardNavigation.vue index cc99830a..e33289af 100644 --- a/resources/scripts/components/base/BaseWizardNavigation.vue +++ b/resources/scripts/components/base/BaseWizardNavigation.vue @@ -3,7 +3,7 @@ :class="containerClass" class=" relative - after:bg-gray-200 + after:bg-surface-muted after:absolute after:transform after:top-1/2 @@ -62,7 +62,7 @@ export default { }, nextStepClass: { type: String, - default: 'border-gray-200 bg-white', + default: 'border-line-default bg-surface', }, previousStepClass: { type: String, diff --git a/resources/scripts/components/base/BaseWizardStep.vue b/resources/scripts/components/base/BaseWizardStep.vue index 57e41da2..00de8cb4 100644 --- a/resources/scripts/components/base/BaseWizardStep.vue +++ b/resources/scripts/components/base/BaseWizardStep.vue @@ -25,16 +25,16 @@ const props = defineProps({ stepContainerClass: { type: String, default: - 'w-full p-8 mb-8 bg-white border border-gray-200 border-solid rounded', + 'w-full p-8 mb-8 bg-surface border border-line-default border-solid rounded', }, stepTitleClass: { type: String, - default: 'text-2xl not-italic font-semibold leading-7 text-black', + default: 'text-2xl not-italic font-semibold leading-7 text-heading', }, stepDescriptionClass: { type: String, default: - 'w-full mt-2.5 mb-8 text-sm not-italic leading-snug text-gray-500 lg:w-7/12 md:w-7/12 sm:w-7/12', + 'w-full mt-2.5 mb-8 text-sm not-italic leading-snug text-muted lg:w-7/12 md:w-7/12 sm:w-7/12', }, }) diff --git a/resources/scripts/components/base/base-editor/BaseEditor.vue b/resources/scripts/components/base/base-editor/BaseEditor.vue index 199a449a..856ae75d 100644 --- a/resources/scripts/components/base/base-editor/BaseEditor.vue +++ b/resources/scripts/components/base/base-editor/BaseEditor.vue @@ -8,16 +8,16 @@ - + - + @@ -25,36 +25,36 @@ v-for="button in editorButtons" type="button" :key="button.name" - class="p-1 rounded hover:bg-gray-100" + class="p-1 rounded hover:bg-surface-tertiary" @click="button.action" > - + {{ button.text }} - + - + {{ button.text }} @@ -209,7 +209,7 @@ export default { blockquote { padding-left: 1rem; - border-left: 2px solid rgba(13, 13, 13, 0.1); + border-left: 2px solid var(--color-line-default); } code { diff --git a/resources/scripts/components/base/base-table/BaseTable.vue b/resources/scripts/components/base/base-table/BaseTable.vue index a6a67f47..bda401da 100644 --- a/resources/scripts/components/base/base-table/BaseTable.vue +++ b/resources/scripts/components/base/base-table/BaseTable.vue @@ -6,9 +6,9 @@ class=" relative overflow-hidden - bg-white - border border-gray-100 - shadow-sm + bg-surface + border border-line-light + shadow rounded-xl " > @@ -22,7 +22,7 @@ :class="[ getThClass(column), { - 'text-bold text-black': sort.fieldName === column.key, + 'text-bold text-heading': sort.fieldName === column.key, }, ]" @click="changeSorting(column)" @@ -51,7 +51,7 @@ {{ $t('general.no_data_found') }} @@ -163,9 +163,9 @@ const props = defineProps({ sortOrder: { type: String, default: '' }, tableClass: { type: String, - default: 'min-w-full divide-y divide-gray-200', + default: 'min-w-full divide-y divide-line-default', }, - theadClass: { type: String, default: 'bg-gray-50' }, + theadClass: { type: String, default: 'bg-surface-secondary' }, tbodyClass: { type: String, default: '' }, noResultsMessage: { type: String, @@ -236,7 +236,7 @@ function getColumn(columnName) { function getThClass(column) { let classes = - 'whitespace-nowrap px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider' + 'whitespace-nowrap px-6 py-3 text-left text-xs font-medium text-muted uppercase tracking-wider' if (column.defaultThClass) { classes = column.defaultThClass @@ -256,7 +256,7 @@ function getThClass(column) { } function getTdClass(column) { - let classes = 'px-6 py-4 text-sm text-gray-500 whitespace-nowrap' + let classes = 'px-6 py-4 text-sm text-muted whitespace-nowrap' if (column.defaultTdClass) { classes = column.defaultTdClass diff --git a/resources/scripts/components/base/base-table/BaseTablePagination.vue b/resources/scripts/components/base/base-table/BaseTablePagination.vue index 0a7d4419..1710e3d2 100644 --- a/resources/scripts/components/base/base-table/BaseTablePagination.vue +++ b/resources/scripts/components/base/base-table/BaseTablePagination.vue @@ -7,8 +7,8 @@ justify-between px-4 py-3 - bg-white - border-t border-gray-200 + bg-surface + border-t border-line-default sm:px-6 " > @@ -16,7 +16,7 @@ @@ -40,7 +40,7 @@ @@ -65,7 +65,7 @@ - + {{ $t('general.pagination.showing') }} {{ ' ' }} @@ -142,7 +142,7 @@ :class="{ 'z-10 bg-primary-500 border-primary-500 text-white': isActive(1), - 'bg-white border-gray-200 text-gray-500 hover:bg-gray-50': + 'bg-surface border-line-default text-muted hover:bg-hover': !isActive(1), }" class=" @@ -170,9 +170,9 @@ py-2 text-sm font-medium - text-gray-700 - bg-white - border border-gray-200 + text-body + bg-surface + border border-line-default " > ... @@ -184,7 +184,7 @@ :class="{ 'z-10 bg-primary-500 border-primary-500 text-white': isActive(page), - 'bg-white border-gray-200 text-gray-500 hover:bg-gray-50': + 'bg-surface border-line-default text-muted hover:bg-hover': !isActive(page), disabled: page === '...', }" @@ -214,9 +214,9 @@ py-2 text-sm font-medium - text-gray-700 - bg-white - border border-gray-200 + text-body + bg-surface + border border-line-default " > ... @@ -228,7 +228,7 @@ :class="{ 'z-10 bg-primary-500 border-primary-500 text-white': isActive(pagination.totalPages), - 'bg-white border-gray-200 text-gray-500 hover:bg-gray-50': + 'bg-surface border-line-default text-muted hover:bg-hover': !isActive(pagination.totalPages), }" class=" @@ -255,14 +255,14 @@ py-2 text-sm font-medium - text-gray-500 - bg-white - border border-gray-200 + text-muted + bg-surface + border border-line-default rounded-r-lg - hover:bg-gray-50 + hover:bg-hover " :class="{ - 'disabled cursor-default pointer-events-none !bg-gray-100 !text-gray-400': + 'disabled cursor-default pointer-events-none !bg-surface-tertiary !text-subtle': pagination.currentPage === pagination.totalPages, }" @click="pageClicked(pagination.currentPage + 1)" diff --git a/resources/scripts/components/list/BaseListItem.vue b/resources/scripts/components/list/BaseListItem.vue index dcd252d0..9624c069 100644 --- a/resources/scripts/components/list/BaseListItem.vue +++ b/resources/scripts/components/list/BaseListItem.vue @@ -34,7 +34,7 @@ export default { }) let containerClass = computed(() => { if (props.active) return `${defaultClass} text-primary-600 bg-primary-50 font-semibold` - else return `${defaultClass} text-gray-600 hover:bg-gray-50 hover:text-gray-900` + else return `${defaultClass} text-body hover:bg-hover hover:text-heading` }) return { hasIconSlot, diff --git a/resources/scripts/components/notifications/NotificationItem.vue b/resources/scripts/components/notifications/NotificationItem.vue index 2cf03de5..21a58615 100644 --- a/resources/scripts/components/notifications/NotificationItem.vue +++ b/resources/scripts/components/notifications/NotificationItem.vue @@ -1,6 +1,6 @@ @@ -62,7 +62,7 @@ {{ @@ -75,7 +75,7 @@ {{ @@ -91,8 +91,8 @@ - + diff --git a/resources/scripts/customer/layouts/partials/TheSiteFooter.vue b/resources/scripts/customer/layouts/partials/TheSiteFooter.vue index 91ab8115..75196e31 100644 --- a/resources/scripts/customer/layouts/partials/TheSiteFooter.vue +++ b/resources/scripts/customer/layouts/partials/TheSiteFooter.vue @@ -12,15 +12,15 @@ pr-8 text-sm font-normal - text-gray-700 - bg-white + text-body + bg-surface " > Powered by Bytefury diff --git a/resources/scripts/customer/layouts/partials/TheSiteHeader.vue b/resources/scripts/customer/layouts/partials/TheSiteHeader.vue index 47717d75..5d92a8fe 100644 --- a/resources/scripts/customer/layouts/partials/TheSiteHeader.vue +++ b/resources/scripts/customer/layouts/partials/TheSiteHeader.vue @@ -2,7 +2,7 @@ @@ -34,7 +34,7 @@ :class="[ hasActiveUrl(item.link) ? 'border-primary-500 text-primary-600' - : 'border-transparent text-gray-500 hover:text-gray-700 hover:border-gray-300', + : 'border-transparent text-muted hover:text-body hover:border-line-strong', 'inline-flex items-center px-1 pt-1 border-b-2 text-sm font-medium', ]" > @@ -46,11 +46,11 @@ {{ $t('navigation.settings') }} @@ -94,7 +94,7 @@ {{ $t('navigation.logout') }} @@ -106,14 +106,14 @@ {{ $t(item.title) }} - + - + {{ globalStore.currentUser.title }} - + {{ globalStore.currentUser.email }} @@ -161,12 +161,12 @@ type="button" class=" ml-auto - bg-white + bg-surface shrink-0 p-1 rounded-full - text-gray-400 - hover:text-gray-500 + text-subtle + hover:text-muted focus:outline-hidden focus:ring-2 focus:ring-offset-2 @@ -182,7 +182,7 @@ :class="[ hasActiveUrl(item.link) ? 'bg-primary-50 border-primary-500 text-primary-700' - : 'border-transparent text-gray-600 hover:bg-gray-50 hover:border-gray-300 hover:text-gray-800', + : 'border-transparent text-body hover:bg-hover hover:border-line-strong hover:text-heading', 'block pl-3 pr-4 py-2 border-l-4 text-base font-medium', ]" >{{ $t(item.title) }} - + diff --git a/resources/scripts/customer/views/auth/ForgotPassword.vue b/resources/scripts/customer/views/auth/ForgotPassword.vue index e4ff913e..2de36f5e 100644 --- a/resources/scripts/customer/views/auth/ForgotPassword.vue +++ b/resources/scripts/customer/views/auth/ForgotPassword.vue @@ -31,7 +31,7 @@ {{ $t('general.back_to_login') }} diff --git a/resources/scripts/customer/views/auth/Login.vue b/resources/scripts/customer/views/auth/Login.vue index 2c1fe2d5..55cba735 100644 --- a/resources/scripts/customer/views/auth/Login.vue +++ b/resources/scripts/customer/views/auth/Login.vue @@ -39,7 +39,7 @@ @@ -48,7 +48,7 @@ {{ $t('login.forgot_password') }} diff --git a/resources/scripts/customer/views/auth/ResetPassword.vue b/resources/scripts/customer/views/auth/ResetPassword.vue index 780c36c2..dd1ca3be 100644 --- a/resources/scripts/customer/views/auth/ResetPassword.vue +++ b/resources/scripts/customer/views/auth/ResetPassword.vue @@ -31,7 +31,7 @@ diff --git a/resources/scripts/customer/views/dashboard/DashboardStatsItem.vue b/resources/scripts/customer/views/dashboard/DashboardStatsItem.vue index a5827484..75574bce 100644 --- a/resources/scripts/customer/views/dashboard/DashboardStatsItem.vue +++ b/resources/scripts/customer/views/dashboard/DashboardStatsItem.vue @@ -6,10 +6,10 @@ flex justify-between p-3 - bg-white + bg-surface rounded shadow - hover:bg-gray-50 + hover:bg-hover xl:p-4 lg:col-span-2 " @@ -17,10 +17,10 @@ :to="route" > - + - + {{ label }} diff --git a/resources/scripts/customer/views/dashboard/DashboardStatsPlaceholder.vue b/resources/scripts/customer/views/dashboard/DashboardStatsPlaceholder.vue index a114818d..e5a99893 100644 --- a/resources/scripts/customer/views/dashboard/DashboardStatsPlaceholder.vue +++ b/resources/scripts/customer/views/dashboard/DashboardStatsPlaceholder.vue @@ -1,7 +1,7 @@ - - + + @@ -119,11 +119,11 @@ - + - + {{ $t('general.view') }} @@ -182,7 +182,7 @@ const estimateColumns = computed(() => { key: 'estimate_date', label: t('estimates.date'), thClass: 'extra', - tdClass: 'font-medium text-gray-900', + tdClass: 'font-medium text-heading', }, { key: 'estimate_number', label: t('estimates.number', 2) }, { key: 'status', label: t('estimates.status') }, diff --git a/resources/scripts/customer/views/estimates/View.vue b/resources/scripts/customer/views/estimates/View.vue index 17b9ad86..68096f61 100644 --- a/resources/scripts/customer/views/estimates/View.vue +++ b/resources/scripts/customer/views/estimates/View.vue @@ -25,7 +25,7 @@ - + @@ -69,7 +69,7 @@ pb-2 mb-2 text-sm - border-b border-gray-200 border-solid + border-b border-line-default border-solid " > {{ $t('general.sort_by') }} @@ -136,7 +136,7 @@ h-full pb-32 overflow-y-scroll - border-l border-gray-200 border-solid + border-l border-line-default border-solid sw-scroll " > @@ -146,9 +146,9 @@ :key="index" :to="`/${globalStore.companySlug}/customer/estimates/${estimate.id}/view`" :class="[ - 'flex justify-between p-4 items-center cursor-pointer hover:bg-gray-100 border-l-4 border-l-transparent', + 'flex justify-between p-4 items-center cursor-pointer hover:bg-hover-strong border-l-4 border-l-transparent', { - 'bg-gray-100 border-l-4 border-l-primary-500 border-solid': + 'bg-surface-tertiary border-l-4 border-l-primary-500 border-solid': hasActiveUrl(estimate.id), }, ]" @@ -162,7 +162,7 @@ not-italic font-medium leading-5 - text-gray-500 + text-muted capitalize " > @@ -182,13 +182,13 @@ not-italic font-semibold leading-8 - text-right text-gray-900 + text-right text-heading block " :amount="estimate.total" :currency="estimate.currency" /> - + {{ estimate.formatted_estimate_date }} @@ -196,7 +196,7 @@ {{ $t('estimates.no_matching_estimates') }} diff --git a/resources/scripts/customer/views/invoices/Index.vue b/resources/scripts/customer/views/invoices/Index.vue index 1a4e28b8..21251e68 100644 --- a/resources/scripts/customer/views/invoices/Index.vue +++ b/resources/scripts/customer/views/invoices/Index.vue @@ -45,8 +45,8 @@ class="px-3 mt-2" > - - + + @@ -126,11 +126,11 @@ - + - + {{ $t('general.view') }} @@ -191,7 +191,7 @@ const itemColumns = computed(() => { key: 'invoice_date', label: t('invoices.date'), thClass: 'extra', - tdClass: 'font-medium text-gray-900', + tdClass: 'font-medium text-heading', }, { key: 'invoice_number', label: t('invoices.number') }, diff --git a/resources/scripts/customer/views/invoices/View.vue b/resources/scripts/customer/views/invoices/View.vue index 985a1242..9833e523 100644 --- a/resources/scripts/customer/views/invoices/View.vue +++ b/resources/scripts/customer/views/invoices/View.vue @@ -31,7 +31,7 @@ -
{{ data.app_version }}
{{ data.php_version }}
{{ data.database?.driver?.toUpperCase() }}
{{ data.database?.version }}
{{ data.counts?.companies }}
{{ data.counts?.users }}
{{ $t('administration.users.role') }}: {{ userData.role }} diff --git a/resources/scripts/admin/views/administration/users/Index.vue b/resources/scripts/admin/views/administration/users/Index.vue index 66d8fea4..878c1b7e 100644 --- a/resources/scripts/admin/views/administration/users/Index.vue +++ b/resources/scripts/admin/views/administration/users/Index.vue @@ -66,7 +66,7 @@ > @@ -107,18 +107,18 @@ {{ company.name }} +{{ row.data.companies.length - 3 }}
Loading invitation details...
{{ error }}
You've been invited to join {{ invitationDetails.company_name }} as {{ invitationDetails.role_name }} @@ -112,7 +112,7 @@
{{ $t('customers.portal_access_text') }}
{{ $t('general.yes') }} {{ $t('general.no') }}
{{ field.default_answer }}
{{ $t('customers.no_matching_customers') }}
{{ $t('estimates.no_matching_estimates') }}
{{ $t('wizard.verify_domain.notes.notes') }}
{{ $t('invoices.no_matching_invoices') }}
{{ invitation.email }}
{{ invitation.role?.title }} · {{ $t('members.invited_by') }}: {{ invitation.invited_by?.name }}
{{ $t('modules.api_token_description', { url: globalStore.config.base_url.replace(/^http:\/\//, ''), diff --git a/resources/scripts/admin/views/modules/View.vue b/resources/scripts/admin/views/modules/View.vue index 51b95923..a88df3b3 100644 --- a/resources/scripts/admin/views/modules/View.vue +++ b/resources/scripts/admin/views/modules/View.vue @@ -1,6 +1,6 @@ - + @@ -30,7 +30,7 @@ @@ -159,7 +159,7 @@ {{ $t('modules.version') }} {{ moduleVersion }} ({{ $t('modules.last_updated') }} @@ -170,7 +170,7 @@ @@ -178,7 +178,7 @@ Pricing plans - + @@ -203,18 +203,18 @@ :class="[ checked ? 'bg-primary-600 border-transparent' - : 'bg-white border-gray-300', + : 'bg-surface border-line-strong', active ? 'ring-2 ring-offset-2 ring-primary-500' : '', 'h-4 w-4 rounded-full border flex items-center justify-center', ]" aria-hidden="true" > - + @@ -226,7 +226,7 @@ > @@ -328,18 +328,18 @@ - - + + {{ $t('modules.what_you_get') }} - + - + - + @@ -370,7 +370,7 @@ {{ $t(step.translationKey) }} - + {{ step.time }} - - + Frequently Asked Questions - + {{ faq.question }} - + {{ faq.answer }} @@ -607,7 +607,7 @@ License @@ -622,7 +622,7 @@ class="mt-24 sm:mt-32 lg:max-w-none" > - + {{ $t('modules.other_modules') }} - + - + - + @@ -70,7 +70,7 @@ - + - + diff --git a/resources/scripts/admin/views/modules/partials/RecentModuleCard.vue b/resources/scripts/admin/views/modules/partials/RecentModuleCard.vue index e735270b..dcd88651 100644 --- a/resources/scripts/admin/views/modules/partials/RecentModuleCard.vue +++ b/resources/scripts/admin/views/modules/partials/RecentModuleCard.vue @@ -1,7 +1,7 @@ - + - + {{ $t('estimates.notes') }} diff --git a/resources/scripts/admin/views/payments/Index.vue b/resources/scripts/admin/views/payments/Index.vue index 5ff72c7c..2006ab1a 100644 --- a/resources/scripts/admin/views/payments/Index.vue +++ b/resources/scripts/admin/views/payments/Index.vue @@ -116,7 +116,7 @@ - + {{ $t('general.delete') }} @@ -246,7 +246,7 @@ const paymentColumns = computed(() => { key: 'payment_date', label: t('payments.date'), thClass: 'extra', - tdClass: 'font-medium text-gray-900', + tdClass: 'font-medium text-heading', }, { key: 'payment_number', label: t('payments.payment_number') }, { key: 'name', label: t('payments.customer') }, diff --git a/resources/scripts/admin/views/payments/View.vue b/resources/scripts/admin/views/payments/View.vue index 9fcc87ef..34313d99 100644 --- a/resources/scripts/admin/views/payments/View.vue +++ b/resources/scripts/admin/views/payments/View.vue @@ -31,7 +31,7 @@ pt-16 pb-[6rem] ml-56 - bg-white + bg-surface xl:ml-64 w-88 xl:block @@ -45,7 +45,7 @@ px-4 pt-8 pb-6 - border border-gray-200 border-solid + border border-line-default border-solid " > {{ $t('general.sort_by') }} @@ -139,7 +139,7 @@ @@ -192,7 +192,7 @@ not-italic font-medium leading-5 - text-gray-500 + text-muted capitalize " > @@ -209,13 +209,13 @@ not-italic font-semibold leading-8 - text-right text-gray-900 + text-right text-heading " :amount="payment?.amount" :currency="payment.customer?.currency" /> - + {{ payment.formatted_payment_date }} @@ -226,7 +226,7 @@ {{ $t('payments.no_matching_payments') }} diff --git a/resources/scripts/admin/views/recurring-invoices/Index.vue b/resources/scripts/admin/views/recurring-invoices/Index.vue index 395101e3..2c1e707e 100644 --- a/resources/scripts/admin/views/recurring-invoices/Index.vue +++ b/resources/scripts/admin/views/recurring-invoices/Index.vue @@ -120,7 +120,7 @@ h-10 mt-5 list-none - border-b-2 border-gray-200 border-solid + border-b-2 border-line-default border-solid " > @@ -155,7 +155,7 @@ - + {{ $t('general.delete') }} @@ -212,7 +212,7 @@ : '' " tag="span" - class="text-xs text-gray-400" + class="text-xs text-subtle" /> @@ -306,7 +306,7 @@ const invoiceColumns = computed(() => { { key: 'checkbox', thClass: 'extra', - tdClass: 'font-medium text-gray-900', + tdClass: 'font-medium text-heading', }, { key: 'starts_at', diff --git a/resources/scripts/admin/views/recurring-invoices/create/RecurringInvoiceCreateBasicFields.vue b/resources/scripts/admin/views/recurring-invoices/create/RecurringInvoiceCreateBasicFields.vue index d21c556d..bf95f706 100644 --- a/resources/scripts/admin/views/recurring-invoices/create/RecurringInvoiceCreateBasicFields.vue +++ b/resources/scripts/admin/views/recurring-invoices/create/RecurringInvoiceCreateBasicFields.vue @@ -16,11 +16,11 @@ - + {{ $t('recurring_invoices.send_automatically') }} {{ $t('recurring_invoices.send_automatically_desc') }} diff --git a/resources/scripts/admin/views/recurring-invoices/partials/Invoices.vue b/resources/scripts/admin/views/recurring-invoices/partials/Invoices.vue index fa997aa3..e56ee1a8 100644 --- a/resources/scripts/admin/views/recurring-invoices/partials/Invoices.vue +++ b/resources/scripts/admin/views/recurring-invoices/partials/Invoices.vue @@ -73,7 +73,7 @@ const invoiceColumns = computed(() => { key: 'invoice_date', label: t('invoices.date'), thClass: 'extra', - tdClass: 'font-medium text-gray-900', + tdClass: 'font-medium text-heading', }, { key: 'invoice_number', label: t('invoices.invoice') }, { key: 'customer.name', label: t('invoices.customer') }, diff --git a/resources/scripts/admin/views/recurring-invoices/partials/RecurringInvoiceViewSidebar.vue b/resources/scripts/admin/views/recurring-invoices/partials/RecurringInvoiceViewSidebar.vue index 638101f9..4eb8e759 100644 --- a/resources/scripts/admin/views/recurring-invoices/partials/RecurringInvoiceViewSidebar.vue +++ b/resources/scripts/admin/views/recurring-invoices/partials/RecurringInvoiceViewSidebar.vue @@ -148,7 +148,7 @@ onSearched = debounce(onSearched, 500) pt-16 pb-[6.4rem] ml-56 - bg-white + bg-surface xl:ml-64 w-88 xl:block @@ -162,7 +162,7 @@ onSearched = debounce(onSearched, 500) px-4 pt-8 pb-2 - border border-gray-200 border-solid + border border-line-default border-solid height-full " > @@ -175,7 +175,7 @@ onSearched = debounce(onSearched, 500) @input="onSearched()" > - + @@ -194,7 +194,7 @@ onSearched = debounce(onSearched, 500) pb-2 mb-1 mb-2 text-sm - border-b border-gray-200 border-solid + border-b border-line-default border-solid " > {{ $t('general.sort_by') }} @@ -241,7 +241,7 @@ onSearched = debounce(onSearched, 500) class=" h-full overflow-y-scroll - border-l border-gray-200 border-solid + border-l border-line-default border-solid base-scroll " > @@ -251,9 +251,9 @@ onSearched = debounce(onSearched, 500) :id="'recurring-invoice-' + invoice.id" :to="`/admin/recurring-invoices/${invoice.id}/view`" :class="[ - 'flex justify-between side-invoice p-4 cursor-pointer hover:bg-gray-100 items-center border-l-4 border-l-transparent', + 'flex justify-between side-invoice p-4 cursor-pointer hover:bg-hover-strong items-center border-l-4 border-l-transparent', { - 'bg-gray-100 border-l-4 border-l-primary-500 border-solid': + 'bg-surface-tertiary border-l-4 border-l-primary-500 border-solid': hasActiveUrl(invoice.id), }, ]" @@ -269,7 +269,7 @@ onSearched = debounce(onSearched, 500) not-italic font-normal leading-5 - text-black + text-heading capitalize truncate " @@ -283,7 +283,7 @@ onSearched = debounce(onSearched, 500) not-italic font-medium leading-5 - text-gray-600 + text-body " > {{ invoice.invoice_number }} @@ -305,7 +305,7 @@ onSearched = debounce(onSearched, 500) not-italic font-semibold leading-8 - text-right text-gray-900 + text-right text-heading " :amount="invoice.total" :currency="invoice.customer.currency" @@ -317,7 +317,7 @@ onSearched = debounce(onSearched, 500) not-italic font-normal leading-5 - text-right text-gray-600 + text-right text-body est-date " > @@ -331,7 +331,7 @@ onSearched = debounce(onSearched, 500) {{ $t('invoices.no_matching_invoices') }} diff --git a/resources/scripts/admin/views/reports/ExpensesReport.vue b/resources/scripts/admin/views/reports/ExpensesReport.vue index 85836669..b6915c32 100644 --- a/resources/scripts/admin/views/reports/ExpensesReport.vue +++ b/resources/scripts/admin/views/reports/ExpensesReport.vue @@ -55,7 +55,7 @@ hidden w-full h-screen - border-gray-100 border-solid + border-line-light border-solid rounded md:flex " diff --git a/resources/scripts/admin/views/reports/ProfitLossReport.vue b/resources/scripts/admin/views/reports/ProfitLossReport.vue index d2ed6df1..91449421 100644 --- a/resources/scripts/admin/views/reports/ProfitLossReport.vue +++ b/resources/scripts/admin/views/reports/ProfitLossReport.vue @@ -55,7 +55,7 @@ hidden w-full h-screen - border-gray-100 border-solid + border-line-light border-solid rounded md:flex " diff --git a/resources/scripts/admin/views/reports/SalesReports.vue b/resources/scripts/admin/views/reports/SalesReports.vue index 4fed5772..3d53543a 100644 --- a/resources/scripts/admin/views/reports/SalesReports.vue +++ b/resources/scripts/admin/views/reports/SalesReports.vue @@ -68,7 +68,7 @@ hidden w-full h-screen - border-gray-100 border-solid + border-line-light border-solid rounded md:flex " diff --git a/resources/scripts/admin/views/reports/TaxReport.vue b/resources/scripts/admin/views/reports/TaxReport.vue index d6f53941..461a547b 100644 --- a/resources/scripts/admin/views/reports/TaxReport.vue +++ b/resources/scripts/admin/views/reports/TaxReport.vue @@ -54,7 +54,7 @@ hidden w-full h-screen - border-gray-100 border-solid + border-line-light border-solid rounded md:flex " diff --git a/resources/scripts/admin/views/settings/BackupSetting.vue b/resources/scripts/admin/views/settings/BackupSetting.vue index 9cc3d56f..625e1932 100644 --- a/resources/scripts/admin/views/settings/BackupSetting.vue +++ b/resources/scripts/admin/views/settings/BackupSetting.vue @@ -47,18 +47,18 @@ - + - + {{ $t('general.download') }} - + {{ $t('general.delete') }} @@ -95,17 +95,17 @@ const backupColumns = computed(() => { key: 'path', label: t('settings.backup.path'), thClass: 'extra', - tdClass: 'font-medium text-gray-900', + tdClass: 'font-medium text-heading', }, { key: 'created_at', label: t('settings.backup.created_at'), - tdClass: 'font-medium text-gray-900', + tdClass: 'font-medium text-heading', }, { key: 'size', label: t('settings.backup.size'), - tdClass: 'font-medium text-gray-900', + tdClass: 'font-medium text-heading', }, { key: 'actions', diff --git a/resources/scripts/admin/views/settings/CompanyInfoSettings.vue b/resources/scripts/admin/views/settings/CompanyInfoSettings.vue index d712aae9..a5c0d442 100644 --- a/resources/scripts/admin/views/settings/CompanyInfoSettings.vue +++ b/resources/scripts/admin/views/settings/CompanyInfoSettings.vue @@ -110,10 +110,10 @@ - + {{ $t('settings.company_info.delete_company') }} - + {{ $t('settings.company_info.delete_company_description') }} diff --git a/resources/scripts/admin/views/settings/CompanyMailConfigSetting.vue b/resources/scripts/admin/views/settings/CompanyMailConfigSetting.vue index c739478d..4f943bdd 100644 --- a/resources/scripts/admin/views/settings/CompanyMailConfigSetting.vue +++ b/resources/scripts/admin/views/settings/CompanyMailConfigSetting.vue @@ -35,7 +35,7 @@ - + {{ $t('settings.mail.using_global_mail_config') }} diff --git a/resources/scripts/admin/views/settings/CustomFieldsSetting.vue b/resources/scripts/admin/views/settings/CustomFieldsSetting.vue index 016d37f9..39c5705c 100644 --- a/resources/scripts/admin/views/settings/CustomFieldsSetting.vue +++ b/resources/scripts/admin/views/settings/CustomFieldsSetting.vue @@ -27,7 +27,7 @@ > {{ row.data.name }} - ({{ row.data.slug }}) + ({{ row.data.slug }}) @@ -96,7 +96,7 @@ const customFieldsColumns = computed(() => { key: 'name', label: t('settings.custom_fields.name'), thClass: 'extra', - tdClass: 'font-medium text-gray-900', + tdClass: 'font-medium text-heading', }, { key: 'model_type', diff --git a/resources/scripts/admin/views/settings/ExchangeRateProviderSetting.vue b/resources/scripts/admin/views/settings/ExchangeRateProviderSetting.vue index 7aaa7132..f72a4f44 100644 --- a/resources/scripts/admin/views/settings/ExchangeRateProviderSetting.vue +++ b/resources/scripts/admin/views/settings/ExchangeRateProviderSetting.vue @@ -8,7 +8,7 @@ {{ $t('settings.menu_title.exchange_rate') }} {{ $t('settings.exchange_rate.providers_description') }} @@ -49,17 +49,17 @@ - + - + {{ $t('general.edit') }} - + {{ $t('general.delete') }} @@ -104,19 +104,19 @@ const drivers = computed(() => { key: 'driver', label: t('settings.exchange_rate.driver'), thClass: 'extra', - tdClass: 'font-medium text-gray-900', + tdClass: 'font-medium text-heading', }, { key: 'key', label: t('settings.exchange_rate.key'), thClass: 'extra', - tdClass: 'font-medium text-gray-900', + tdClass: 'font-medium text-heading', }, { key: 'active', label: t('settings.exchange_rate.active'), thClass: 'extra', - tdClass: 'font-medium text-gray-900', + tdClass: 'font-medium text-heading', }, { key: 'actions', diff --git a/resources/scripts/admin/views/settings/ExpenseCategorySetting.vue b/resources/scripts/admin/views/settings/ExpenseCategorySetting.vue index c0db9d01..4d5accc5 100644 --- a/resources/scripts/admin/views/settings/ExpenseCategorySetting.vue +++ b/resources/scripts/admin/views/settings/ExpenseCategorySetting.vue @@ -65,13 +65,13 @@ const ExpenseCategoryColumns = computed(() => { key: 'name', label: t('settings.expense_category.category_name'), thClass: 'extra', - tdClass: 'font-medium text-gray-900', + tdClass: 'font-medium text-heading', }, { key: 'description', label: t('settings.expense_category.category_description'), thClass: 'extra', - tdClass: 'font-medium text-gray-900', + tdClass: 'font-medium text-heading', }, { diff --git a/resources/scripts/admin/views/settings/FileDiskSetting.vue b/resources/scripts/admin/views/settings/FileDiskSetting.vue index abe106d1..eeed11ac 100644 --- a/resources/scripts/admin/views/settings/FileDiskSetting.vue +++ b/resources/scripts/admin/views/settings/FileDiskSetting.vue @@ -39,7 +39,7 @@ - + @@ -56,7 +56,7 @@ v-if="row.data.type !== 'SYSTEM'" @click="openEditDiskModal(row.data)" > - + {{ $t('general.edit') }} @@ -65,7 +65,7 @@ v-if="row.data.type !== 'SYSTEM' && !row.data.set_as_default" @click="removeDisk(row.data.id)" > - + {{ $t('general.delete') }} @@ -109,26 +109,26 @@ const fileDiskColumns = computed(() => { key: 'name', label: t('settings.disk.disk_name'), thClass: 'extra', - tdClass: 'font-medium text-gray-900', + tdClass: 'font-medium text-heading', }, { key: 'driver', label: t('settings.disk.filesystem_driver'), thClass: 'extra', - tdClass: 'font-medium text-gray-900', + tdClass: 'font-medium text-heading', }, { key: 'type', label: t('settings.disk.disk_type'), thClass: 'extra', - tdClass: 'font-medium text-gray-900', + tdClass: 'font-medium text-heading', }, { key: 'set_as_default', label: t('settings.disk.is_default'), thClass: 'extra', - tdClass: 'font-medium text-gray-900', + tdClass: 'font-medium text-heading', }, { key: 'actions', diff --git a/resources/scripts/admin/views/settings/NotesSetting.vue b/resources/scripts/admin/views/settings/NotesSetting.vue index 4b4c934d..1e0806b6 100644 --- a/resources/scripts/admin/views/settings/NotesSetting.vue +++ b/resources/scripts/admin/views/settings/NotesSetting.vue @@ -66,13 +66,13 @@ const notesColumns = computed(() => { key: 'name', label: t('settings.customization.notes.name'), thClass: 'extra', - tdClass: 'font-medium text-gray-900 flex gap-1 items-center', + tdClass: 'font-medium text-heading flex gap-1 items-center', }, { key: 'type', label: t('settings.customization.notes.type'), thClass: 'extra', - tdClass: 'font-medium text-gray-900', + tdClass: 'font-medium text-heading', }, { diff --git a/resources/scripts/admin/views/settings/NotificationsSetting.vue b/resources/scripts/admin/views/settings/NotificationsSetting.vue index f863af28..4463acae 100644 --- a/resources/scripts/admin/views/settings/NotificationsSetting.vue +++ b/resources/scripts/admin/views/settings/NotificationsSetting.vue @@ -44,7 +44,7 @@ - + { key: 'name', label: t('settings.payment_modes.mode_name'), thClass: 'extra', - tdClass: 'font-medium text-gray-900', + tdClass: 'font-medium text-heading', }, { key: 'actions', diff --git a/resources/scripts/admin/views/settings/RolesSettings.vue b/resources/scripts/admin/views/settings/RolesSettings.vue index ef049f43..2f0a21da 100644 --- a/resources/scripts/admin/views/settings/RolesSettings.vue +++ b/resources/scripts/admin/views/settings/RolesSettings.vue @@ -64,12 +64,12 @@ const roleColumns = computed(() => { key: 'name', label: t('settings.roles.role_name'), thClass: 'extra', - tdClass: 'font-medium text-gray-900', + tdClass: 'font-medium text-heading', }, { key: 'created_at', label: t('settings.roles.added_on'), - tdClass: 'font-medium text-gray-900', + tdClass: 'font-medium text-heading', }, { diff --git a/resources/scripts/admin/views/settings/SettingsIndex.vue b/resources/scripts/admin/views/settings/SettingsIndex.vue index 42728de7..5bf54673 100644 --- a/resources/scripts/admin/views/settings/SettingsIndex.vue +++ b/resources/scripts/admin/views/settings/SettingsIndex.vue @@ -24,7 +24,7 @@ /> - + { key: 'name', label: t('settings.tax_types.tax_name'), thClass: 'extra', - tdClass: 'font-medium text-gray-900', + tdClass: 'font-medium text-heading', }, { key: 'calculation_type', label: t('settings.tax_types.calculation_type'), thClass: 'extra', - tdClass: 'font-medium text-gray-900', + tdClass: 'font-medium text-heading', }, { key: 'amount', label: t('settings.tax_types.amount'), thClass: 'extra', - tdClass: 'font-medium text-gray-900', + tdClass: 'font-medium text-heading', }, { key: 'actions', diff --git a/resources/scripts/admin/views/settings/UpdateAppSetting.vue b/resources/scripts/admin/views/settings/UpdateAppSetting.vue index 2723ae7f..d572fb77 100644 --- a/resources/scripts/admin/views/settings/UpdateAppSetting.vue +++ b/resources/scripts/admin/views/settings/UpdateAppSetting.vue @@ -8,7 +8,7 @@ {{ $t('settings.update_app.current_version') }} - + - + {{ i }} @@ -170,7 +170,7 @@ {{ $t('settings.update_app.update_progress') }} {{ $t('settings.update_app.progress_text') }} @@ -189,13 +189,13 @@ justify-between w-full py-3 - border-b border-gray-200 border-solid + border-b border-line-default border-solid last:border-b-0 " > {{ $t(step.translationKey) }} - + {{ step.time }} - + {{ $t(`settings.customization.${type}s.${type}_number_format`) }} - + {{ $t(`settings.customization.${type}s.${type}_number_format_description`) }} @@ -27,8 +27,8 @@ not-italic font-medium leading-5 - text-left text-gray-700 - border-t border-b border-gray-200 border-solid + text-left text-body + border-t border-b border-line-default border-solid " > {{ $t('settings.customization.component') }} @@ -53,8 +53,8 @@ not-italic font-medium leading-5 - text-left text-gray-700 - border-t border-b border-gray-200 border-solid + text-left text-body + border-t border-b border-line-default border-solid " > {{ $t('settings.customization.Parameter') }} @@ -67,15 +67,15 @@ not-italic font-medium leading-5 - text-left text-gray-700 - border-t border-b border-gray-200 border-solid + text-left text-body + border-t border-b border-line-default border-solid " > - + @@ -93,7 +93,7 @@ text-sm not-italic font-medium - text-primary-800 + text-primary-500 whitespace-nowrap mr-2 min-w-[200px] @@ -102,7 +102,7 @@ {{ element.label }} - + {{ element.description }} diff --git a/resources/scripts/admin/views/settings/customization/estimates/EstimatesTab.vue b/resources/scripts/admin/views/settings/customization/estimates/EstimatesTab.vue index 978cdc37..96f2b25f 100644 --- a/resources/scripts/admin/views/settings/customization/estimates/EstimatesTab.vue +++ b/resources/scripts/admin/views/settings/customization/estimates/EstimatesTab.vue @@ -15,7 +15,7 @@ - + - + {{ $t('settings.customization.estimates.convert_estimate_options') }} - + {{ $t('settings.customization.estimates.convert_estimate_description') }} diff --git a/resources/scripts/admin/views/settings/customization/estimates/EstimatesTabDefaultFormats.vue b/resources/scripts/admin/views/settings/customization/estimates/EstimatesTabDefaultFormats.vue index dc75dbde..2f4bd4cb 100644 --- a/resources/scripts/admin/views/settings/customization/estimates/EstimatesTabDefaultFormats.vue +++ b/resources/scripts/admin/views/settings/customization/estimates/EstimatesTabDefaultFormats.vue @@ -1,9 +1,9 @@ - + {{ $t('settings.customization.estimates.default_formats') }} - + {{ $t('settings.customization.estimates.default_formats_description') }} diff --git a/resources/scripts/admin/views/settings/customization/estimates/EstimatesTabExpiryDate.vue b/resources/scripts/admin/views/settings/customization/estimates/EstimatesTabExpiryDate.vue index f8a0591a..b5dcac8b 100644 --- a/resources/scripts/admin/views/settings/customization/estimates/EstimatesTabExpiryDate.vue +++ b/resources/scripts/admin/views/settings/customization/estimates/EstimatesTabExpiryDate.vue @@ -1,9 +1,9 @@ - + {{ $t('settings.customization.estimates.expiry_date') }} - + {{ $t('settings.customization.estimates.expiry_date_description') }} diff --git a/resources/scripts/admin/views/settings/customization/invoices/InvoicesTab.vue b/resources/scripts/admin/views/settings/customization/invoices/InvoicesTab.vue index 28b6cefc..780fb9a5 100644 --- a/resources/scripts/admin/views/settings/customization/invoices/InvoicesTab.vue +++ b/resources/scripts/admin/views/settings/customization/invoices/InvoicesTab.vue @@ -15,7 +15,7 @@ - + - + {{ $t('settings.customization.invoices.default_formats') }} - + {{ $t('settings.customization.invoices.default_formats_description') }} diff --git a/resources/scripts/admin/views/settings/customization/invoices/InvoicesTabDueDate.vue b/resources/scripts/admin/views/settings/customization/invoices/InvoicesTabDueDate.vue index f994fa15..a12d5bba 100644 --- a/resources/scripts/admin/views/settings/customization/invoices/InvoicesTabDueDate.vue +++ b/resources/scripts/admin/views/settings/customization/invoices/InvoicesTabDueDate.vue @@ -1,9 +1,9 @@ - + {{ $t('settings.customization.invoices.due_date') }} - + {{ $t('settings.customization.invoices.due_date_description') }} diff --git a/resources/scripts/admin/views/settings/customization/invoices/InvoicesTabRetrospective.vue b/resources/scripts/admin/views/settings/customization/invoices/InvoicesTabRetrospective.vue index 4aa42db6..9389d3f0 100644 --- a/resources/scripts/admin/views/settings/customization/invoices/InvoicesTabRetrospective.vue +++ b/resources/scripts/admin/views/settings/customization/invoices/InvoicesTabRetrospective.vue @@ -1,8 +1,8 @@ - + {{ $t('settings.customization.invoices.retrospective_edits') }} - + {{ $t('settings.customization.invoices.retrospective_edits_description') }} diff --git a/resources/scripts/admin/views/settings/customization/items/ItemsTab.vue b/resources/scripts/admin/views/settings/customization/items/ItemsTab.vue index 73ff180b..d386e3e7 100644 --- a/resources/scripts/admin/views/settings/customization/items/ItemsTab.vue +++ b/resources/scripts/admin/views/settings/customization/items/ItemsTab.vue @@ -15,14 +15,14 @@ - + {{ $t('general.edit') }} @@ -30,7 +30,7 @@ {{ $t('general.delete') }} @@ -60,7 +60,7 @@ const columns = computed(() => { key: 'name', label: t('settings.customization.items.unit_name'), thClass: 'extra', - tdClass: 'font-medium text-gray-900', + tdClass: 'font-medium text-heading', }, { key: 'actions', diff --git a/resources/scripts/admin/views/settings/customization/payments/PaymentsTab.vue b/resources/scripts/admin/views/settings/customization/payments/PaymentsTab.vue index 8552124f..5da762d9 100644 --- a/resources/scripts/admin/views/settings/customization/payments/PaymentsTab.vue +++ b/resources/scripts/admin/views/settings/customization/payments/PaymentsTab.vue @@ -7,7 +7,7 @@ - + - + {{ $t('settings.customization.payments.default_formats') }} - + {{ $t('settings.customization.payments.default_formats_description') }} diff --git a/resources/scripts/admin/views/settings/mail-driver/MailgunMailDriver.vue b/resources/scripts/admin/views/settings/mail-driver/MailgunMailDriver.vue index 18a86af9..e606231c 100644 --- a/resources/scripts/admin/views/settings/mail-driver/MailgunMailDriver.vue +++ b/resources/scripts/admin/views/settings/mail-driver/MailgunMailDriver.vue @@ -60,7 +60,7 @@ diff --git a/resources/scripts/admin/views/settings/mail-driver/SesMailDriver.vue b/resources/scripts/admin/views/settings/mail-driver/SesMailDriver.vue index 098d5e3a..2c8fc30f 100644 --- a/resources/scripts/admin/views/settings/mail-driver/SesMailDriver.vue +++ b/resources/scripts/admin/views/settings/mail-driver/SesMailDriver.vue @@ -155,7 +155,7 @@ diff --git a/resources/scripts/admin/views/settings/mail-driver/SmtpMailDriver.vue b/resources/scripts/admin/views/settings/mail-driver/SmtpMailDriver.vue index 49ab5501..15ae7ea9 100644 --- a/resources/scripts/admin/views/settings/mail-driver/SmtpMailDriver.vue +++ b/resources/scripts/admin/views/settings/mail-driver/SmtpMailDriver.vue @@ -64,7 +64,7 @@ diff --git a/resources/scripts/components/CompanySwitcher.vue b/resources/scripts/components/CompanySwitcher.vue index 9c0b1ce0..2881ad62 100644 --- a/resources/scripts/components/CompanySwitcher.vue +++ b/resources/scripts/components/CompanySwitcher.vue @@ -45,7 +45,7 @@ > @@ -77,7 +77,7 @@ - + - + {{ $t('company_switcher.no_results_found') }} @@ -120,10 +120,10 @@ px-3 rounded-md cursor-pointer - hover:bg-gray-100 hover:text-primary-500 + hover:bg-hover-strong hover:text-primary-500 " :class="{ - 'bg-gray-100 text-primary-500': + 'bg-surface-tertiary text-primary-500': companyStore.selectedCompany && companyStore.selectedCompany.id === company.id, }" @click="changeCompany(company)" @@ -138,7 +138,7 @@ overflow-hidden text-base font-semibold - bg-gray-200 + bg-surface-muted rounded-md w-9 h-9 @@ -166,12 +166,12 @@ {{ $t('members.pending_invitations') }} @@ -186,14 +186,14 @@ class=" flex items-center justify-center mr-3 overflow-hidden text-xs font-semibold - bg-gray-200 rounded-md w-9 h-9 shrink-0 text-gray-400 + bg-surface-muted rounded-md w-9 h-9 shrink-0 text-subtle " > {{ initGenerator(invitation.company?.name || '?') }} - {{ invitation.company?.name }} - {{ invitation.role?.title }} + {{ invitation.company?.name }} + {{ invitation.role?.title }} @@ -204,7 +204,7 @@ {{ $t('general.accept') }} {{ $t('general.decline') }} @@ -221,7 +221,7 @@ justify-center p-4 pl-3 - border-t-2 border-gray-100 + border-t-2 border-line-light cursor-pointer text-primary-400 hover:text-primary-500 diff --git a/resources/scripts/components/GlobalSearchBar.vue b/resources/scripts/components/GlobalSearchBar.vue index 015d49be..dbcfbfa2 100644 --- a/resources/scripts/components/GlobalSearchBar.vue +++ b/resources/scripts/components/GlobalSearchBar.vue @@ -9,7 +9,7 @@ @input="onSearch" > - + @@ -32,7 +32,7 @@ scrollbar-thumb-gray-300 scrollbar-track-gray-100 overflow-y-auto - bg-white + bg-surface rounded-md mt-2 shadow-lg @@ -51,24 +51,24 @@ flex items-center justify-center - text-gray-400 text-base + text-subtle text-base flex-col mt-4 " > - + {{ $t('global_search.no_results_found') }} - + {{ $t('global_search.customers') }} {{ customer.name }} {{ customer.contact_name }} - {{ + {{ customer.email }} @@ -109,14 +109,14 @@ {{ $t('global_search.users') }} {{ user.name }} - {{ user.email }} + {{ user.email }} diff --git a/resources/scripts/components/InvoiceInformationCard.vue b/resources/scripts/components/InvoiceInformationCard.vue index 53219252..17c7436a 100644 --- a/resources/scripts/components/InvoiceInformationCard.vue +++ b/resources/scripts/components/InvoiceInformationCard.vue @@ -1,33 +1,33 @@ - + - + {{ $t('invoices.invoice_information') }} - - + + - + {{ $t('general.from') }} - + {{ invoice.company.name }} - + {{ $t('general.to') }} - + {{ invoice.customer.name }} - + {{ $t('invoices.paid_status').toLowerCase() }} - + - + {{ $t('invoices.total') }} - + - + {{ $t('invoices.notes') }} - + diff --git a/resources/scripts/components/InvoicePublicPage.vue b/resources/scripts/components/InvoicePublicPage.vue index 6cb0b772..b350026c 100644 --- a/resources/scripts/components/InvoicePublicPage.vue +++ b/resources/scripts/components/InvoicePublicPage.vue @@ -61,7 +61,7 @@ I Powered by diff --git a/resources/scripts/components/base-select/BaseMultiselect.vue b/resources/scripts/components/base-select/BaseMultiselect.vue index 6b173ef3..3e4ee669 100755 --- a/resources/scripts/components/base-select/BaseMultiselect.vue +++ b/resources/scripts/components/base-select/BaseMultiselect.vue @@ -437,9 +437,9 @@ export default { required: false, default: () => ({ container: - 'p-0 relative mx-auto w-full flex items-center justify-end box-border cursor-pointer border border-gray-200 rounded-md bg-white text-sm leading-snug outline-hidden max-h-10', + 'p-0 relative mx-auto w-full flex items-center justify-end box-border cursor-pointer border border-line-default rounded-md bg-surface text-sm leading-snug outline-hidden max-h-10', containerDisabled: - 'cursor-default bg-gray-200/50 !text-gray-400', + 'cursor-default bg-surface-muted/50 !text-subtle', containerOpen: '', containerOpenTop: '', containerActive: 'ring-1 ring-primary-400 border-primary-400', @@ -451,10 +451,10 @@ export default { multipleLabel: 'flex items-center h-full absolute left-0 top-0 pointer-events-none bg-transparent leading-snug pl-3.5', search: - 'w-full absolute inset-0 outline-hidden appearance-none box-border border-0 text-sm font-sans bg-white rounded-md pl-3.5', + 'w-full absolute inset-0 outline-hidden appearance-none box-border border-0 text-sm font-sans bg-surface rounded-md pl-3.5', tags: 'grow shrink flex flex-wrap mt-1 pl-2', tag: 'bg-primary-500 text-white text-sm font-semibold py-0.5 pl-2 rounded mr-1 mb-1 flex items-center whitespace-nowrap', - tagDisabled: 'pr-2 !bg-gray-400 text-white', + tagDisabled: 'pr-2 !bg-subtle text-white', tagRemove: 'flex items-center justify-center p-1 mx-0.5 rounded-xs hover:bg-black/10 group', tagRemoveIcon: @@ -464,7 +464,7 @@ export default { 'absolute inset-0 border-0 focus:outline-hidden !shadow-none !focus:shadow-none appearance-none p-0 text-sm font-sans box-border w-full', tagsSearchCopy: 'invisible whitespace-pre-wrap inline-block h-px', placeholder: - 'flex items-center h-full absolute left-0 top-0 pointer-events-none bg-transparent leading-snug pl-3.5 text-gray-400 text-sm', + 'flex items-center h-full absolute left-0 top-0 pointer-events-none bg-transparent leading-snug pl-3.5 text-subtle text-sm', caret: 'bg-multiselect-caret bg-center bg-no-repeat w-5 h-5 py-px box-content z-5 relative mr-1 opacity-40 shrink-0 grow-0 transition-transform', caretOpen: 'rotate-180 pointer-events-auto', @@ -475,7 +475,7 @@ export default { spinner: 'bg-multiselect-spinner bg-center bg-no-repeat w-4 h-4 z-10 mr-3.5 animate-spin shrink-0 grow-0', dropdown: - 'max-h-60 shadow-lg absolute -left-px -right-px -bottom-1 border border-gray-300 mt-1 overflow-y-auto z-50 bg-white flex flex-col rounded-md', + 'max-h-60 shadow-lg absolute -left-px -right-px -bottom-1 border border-line-strong mt-1 overflow-y-auto z-50 bg-surface flex flex-col rounded-md', dropdownTop: '-translate-y-full -top-2 bottom-auto flex-col-reverse rounded-md', dropdownBottom: 'translate-y-full', @@ -484,25 +484,25 @@ export default { optionsTop: 'flex-col-reverse', group: 'p-0 m-0', groupLabel: - 'flex text-sm box-border items-center justify-start text-left py-1 px-3 font-semibold bg-gray-200 cursor-default leading-normal', + 'flex text-sm box-border items-center justify-start text-left py-1 px-3 font-semibold bg-surface-muted cursor-default leading-normal', groupLabelPointable: 'cursor-pointer', - groupLabelPointed: 'bg-gray-300 text-gray-700', + groupLabelPointed: 'bg-surface-muted text-body', groupLabelSelected: 'bg-primary-600 text-white', - groupLabelDisabled: 'bg-gray-100 text-gray-300 cursor-not-allowed', + groupLabelDisabled: 'bg-surface-tertiary text-subtle cursor-not-allowed', groupLabelSelectedPointed: 'bg-primary-600 text-white opacity-90', groupLabelSelectedDisabled: 'text-primary-100 bg-primary-600/50 cursor-not-allowed', groupOptions: 'p-0 m-0', option: 'flex items-center justify-start box-border text-left cursor-pointer text-sm leading-snug py-2 px-3', - optionPointed: 'text-gray-800 bg-gray-100', + optionPointed: 'text-heading bg-surface-tertiary', optionSelected: 'text-white bg-primary-500', - optionDisabled: 'text-gray-300 cursor-not-allowed', + optionDisabled: 'text-subtle cursor-not-allowed', optionSelectedPointed: 'text-white bg-primary-500 opacity-90', optionSelectedDisabled: 'text-primary-100 bg-primary-500/50 cursor-not-allowed', - noOptions: 'py-2 px-3 text-gray-600 bg-white', - noResults: 'py-2 px-3 text-gray-600 bg-white', + noOptions: 'py-2 px-3 text-muted bg-surface', + noResults: 'py-2 px-3 text-muted bg-surface', fakeInput: 'bg-transparent absolute left-0 right-0 -bottom-px w-full h-px border-0 p-0 appearance-none outline-hidden text-transparent', spacer: 'h-9 py-px box-content', diff --git a/resources/scripts/components/base/BaseBadge.vue b/resources/scripts/components/base/BaseBadge.vue index 228bc566..a75c2d1a 100644 --- a/resources/scripts/components/base/BaseBadge.vue +++ b/resources/scripts/components/base/BaseBadge.vue @@ -5,7 +5,7 @@ py-1 text-sm font-normal - text-center text-green-800 + text-center text-status-green uppercase bg-success " diff --git a/resources/scripts/components/base/BaseBreadcrumb.vue b/resources/scripts/components/base/BaseBreadcrumb.vue index 07afcf02..d28ef414 100644 --- a/resources/scripts/components/base/BaseBreadcrumb.vue +++ b/resources/scripts/components/base/BaseBreadcrumb.vue @@ -1,6 +1,6 @@ - + diff --git a/resources/scripts/components/base/BaseBreadcrumbItem.vue b/resources/scripts/components/base/BaseBreadcrumbItem.vue index b19ab0cc..323bfb44 100644 --- a/resources/scripts/components/base/BaseBreadcrumbItem.vue +++ b/resources/scripts/components/base/BaseBreadcrumbItem.vue @@ -7,7 +7,7 @@ text-sm font-medium leading-5 - text-gray-900 + text-heading outline-hidden focus:ring-2 focus:ring-offset-2 focus:ring-primary-400 " diff --git a/resources/scripts/components/base/BaseButton.vue b/resources/scripts/components/base/BaseButton.vue index 38a45d72..ce1756f3 100644 --- a/resources/scripts/components/base/BaseButton.vue +++ b/resources/scripts/components/base/BaseButton.vue @@ -54,11 +54,11 @@ const props = defineProps({ const sizeClass = computed(() => { return { - 'px-2.5 py-1.5 text-xs leading-4 rounded': props.size === 'xs', - 'px-3 py-2 text-sm leading-4 rounded-md': props.size == 'sm', - 'px-4 py-2 text-sm leading-5 rounded-md': props.size === 'md', - 'px-4 py-2 text-base leading-6 rounded-md': props.size === 'lg', - 'px-6 py-3 text-base leading-6 rounded-md': props.size === 'xl', + 'px-2.5 py-1.5 text-xs leading-4 rounded-lg': props.size === 'xs', + 'px-3 py-2 text-sm leading-4 rounded-lg': props.size == 'sm', + 'px-4 py-2 text-sm leading-5 rounded-lg': props.size === 'md', + 'px-4 py-2 text-base leading-6 rounded-lg': props.size === 'lg', + 'px-6 py-3 text-base leading-6 rounded-lg': props.size === 'xl', } }) @@ -87,11 +87,11 @@ const variantClass = computed(() => { props.variant === 'secondary', 'border-solid border-primary-500 font-normal transition ease-in-out duration-150 text-primary-500 hover:bg-primary-200 shadow-inner focus:ring-primary-500': props.variant == 'primary-outline', - 'border-gray-200 text-gray-700 bg-white hover:bg-gray-50 focus:ring-primary-500 focus:ring-offset-0': + 'border-line-default text-body bg-surface hover:bg-hover focus:ring-primary-500 focus:ring-offset-0': props.variant == 'white', 'border-transparent shadow-xs text-white bg-red-600 hover:bg-red-700 focus:ring-red-500': props.variant === 'danger', - 'border-transparent bg-gray-200 border hover:bg-gray-200/60 focus:ring-gray-500 focus:ring-offset-0': + 'border-transparent bg-surface-muted border hover:bg-surface-muted/60 focus:ring-gray-500 focus:ring-offset-0': props.variant === 'gray', } }) @@ -112,8 +112,8 @@ const iconVariantClass = computed(() => { return { 'text-white': props.variant === 'primary', 'text-primary-700': props.variant === 'secondary', - 'text-gray-700': props.variant === 'white', - 'text-gray-400': props.variant === 'gray', + 'text-body': props.variant === 'white', + 'text-subtle': props.variant === 'gray', } }) diff --git a/resources/scripts/components/base/BaseCard.vue b/resources/scripts/components/base/BaseCard.vue index c4ef52d3..5776eb49 100644 --- a/resources/scripts/components/base/BaseCard.vue +++ b/resources/scripts/components/base/BaseCard.vue @@ -1,8 +1,8 @@ - + @@ -11,7 +11,7 @@ diff --git a/resources/scripts/components/base/BaseCheckbox.vue b/resources/scripts/components/base/BaseCheckbox.vue index c5e1d4d7..5e9cf914 100644 --- a/resources/scripts/components/base/BaseCheckbox.vue +++ b/resources/scripts/components/base/BaseCheckbox.vue @@ -15,12 +15,12 @@ v-if="label" :for="id" :class="`font-medium ${ - disabled ? 'text-gray-400 cursor-not-allowed' : 'text-gray-600' + disabled ? 'text-subtle cursor-not-allowed' : 'text-body' } cursor-pointer `" > {{ label }} - {{ description }} + {{ description }} @@ -51,7 +51,7 @@ const props = defineProps({ }, checkboxClass: { type: String, - default: 'w-4 h-4 border-gray-300 rounded cursor-pointer', + default: 'w-4 h-4 border-line-strong rounded cursor-pointer', }, setInitialValue: { type: Boolean, @@ -75,7 +75,7 @@ const checked = computed({ const disabledClass = computed(() => { if (props.disabled) { - return 'text-gray-300 cursor-not-allowed' + return 'text-subtle cursor-not-allowed' } return 'text-primary-600 focus:ring-primary-500' diff --git a/resources/scripts/components/base/BaseContentPlaceholders.vue b/resources/scripts/components/base/BaseContentPlaceholders.vue index 57543abd..47f91461 100644 --- a/resources/scripts/components/base/BaseContentPlaceholders.vue +++ b/resources/scripts/components/base/BaseContentPlaceholders.vue @@ -55,7 +55,7 @@ const classObject = computed(() => { position: relative; overflow: hidden; min-height: 15px; - background: #eee; + background: var(--color-surface-muted); .base-content-placeholders-is-rounded & { border-radius: 6px; @@ -72,7 +72,7 @@ const classObject = computed(() => { width: 100vw; max-width: 1000px; height: 100%; - background: linear-gradient(to right, transparent 0%, #e1e1e1 15%, transparent 30%); + background: linear-gradient(to right, transparent 0%, var(--color-hover-strong) 15%, transparent 30%); animation: vueContentPlaceholdersAnimation 1.5s linear infinite forwards; } } @@ -87,7 +87,7 @@ const classObject = computed(() => { .base-content-placeholders-heading__title { width: 85%; margin-bottom: 10px; - background: #ccc; + background: var(--color-surface-muted); position: relative; overflow: hidden; min-height: 15px; @@ -107,7 +107,7 @@ const classObject = computed(() => { width: 100vw; max-width: 1000px; height: 100%; - background: linear-gradient(to right, transparent 0%, #e1e1e1 15%, transparent 30%); + background: linear-gradient(to right, transparent 0%, var(--color-hover-strong) 15%, transparent 30%); animation: vueContentPlaceholdersAnimation 1.5s linear infinite forwards; } } @@ -117,7 +117,7 @@ const classObject = computed(() => { position: relative; overflow: hidden; min-height: 15px; - background: #eee; + background: var(--color-surface-muted); .base-content-placeholders-is-rounded & { border-radius: 6px; @@ -134,7 +134,7 @@ const classObject = computed(() => { width: 100vw; max-width: 1000px; height: 100%; - background: linear-gradient(to right, transparent 0%, #e1e1e1 15%, transparent 30%); + background: linear-gradient(to right, transparent 0%, var(--color-hover-strong) 15%, transparent 30%); animation: vueContentPlaceholdersAnimation 1.5s linear infinite forwards; } } @@ -151,7 +151,7 @@ const classObject = computed(() => { position: relative; overflow: hidden; min-height: 15px; - background: #eee; + background: var(--color-surface-muted); .base-content-placeholders-is-rounded & { border-radius: 6px; @@ -168,7 +168,7 @@ const classObject = computed(() => { width: 100vw; max-width: 1000px; height: 100%; - background: linear-gradient(to right, transparent 0%, #e1e1e1 15%, transparent 30%); + background: linear-gradient(to right, transparent 0%, var(--color-hover-strong) 15%, transparent 30%); animation: vueContentPlaceholdersAnimation 1.5s linear infinite forwards; } @@ -190,7 +190,7 @@ const classObject = computed(() => { position: relative; overflow: hidden; min-height: 15px; - background: #eee; + background: var(--color-surface-muted); .base-content-placeholders-is-animated &::before { content: ''; @@ -200,7 +200,7 @@ const classObject = computed(() => { width: 100vw; max-width: 1000px; height: 100%; - background: linear-gradient(to right, transparent 0%, #e1e1e1 15%, transparent 30%); + background: linear-gradient(to right, transparent 0%, var(--color-hover-strong) 15%, transparent 30%); animation: vueContentPlaceholdersAnimation 1.5s linear infinite forwards; } } diff --git a/resources/scripts/components/base/BaseCustomInput.vue b/resources/scripts/components/base/BaseCustomInput.vue index ca911e3a..84316e55 100644 --- a/resources/scripts/components/base/BaseCustomInput.vue +++ b/resources/scripts/components/base/BaseCustomInput.vue @@ -27,7 +27,7 @@ - + {{ type.label }} @@ -39,7 +39,7 @@ text-sm font-normal cursor-pointer - hover:bg-gray-100 + hover:bg-hover-strong rounded ml-1 py-0.5 @@ -49,7 +49,7 @@ {{ field.label }} diff --git a/resources/scripts/components/base/BaseCustomerAddressDisplay.vue b/resources/scripts/components/base/BaseCustomerAddressDisplay.vue index fa2a880d..cb34f710 100644 --- a/resources/scripts/components/base/BaseCustomerAddressDisplay.vue +++ b/resources/scripts/components/base/BaseCustomerAddressDisplay.vue @@ -1,7 +1,7 @@ {{ address?.address_street_1 }}, diff --git a/resources/scripts/components/base/BaseCustomerSelectPopup.vue b/resources/scripts/components/base/BaseCustomerSelectPopup.vue index 9557f882..4fe37052 100644 --- a/resources/scripts/components/base/BaseCustomerSelectPopup.vue +++ b/resources/scripts/components/base/BaseCustomerSelectPopup.vue @@ -16,8 +16,8 @@ class=" flex flex-col p-4 - bg-white - border border-gray-200 border-solid + bg-surface + border border-line-default border-solid min-h-[170px] rounded-md " @@ -26,7 +26,7 @@ - + {{ $t('general.edit') }} @@ -61,7 +61,7 @@ " @click="resetSelectedCustomer" > - + {{ $t('general.deselect') }} @@ -73,7 +73,7 @@ mb-1 text-sm font-medium - text-left text-gray-400 + text-left text-subtle uppercase whitespace-nowrap " @@ -123,7 +123,7 @@ mb-1 text-sm font-medium - text-left text-gray-400 + text-left text-subtle uppercase whitespace-nowrap " @@ -187,8 +187,8 @@ px-0 p-0 py-16 - bg-white - border border-gray-200 border-solid + bg-surface + border border-line-default border-solid rounded-md min-h-[170px] " @@ -203,14 +203,14 @@ p-2 mr-5 text-sm text-white - bg-gray-200 + bg-surface-muted rounded-full font-base " /> - + {{ $t('customers.new_customer') }} * @@ -244,7 +244,7 @@ rounded-md shadow-lg ring-1 ring-black/5 - bg-white + bg-surface " > @@ -263,7 +263,7 @@ flex flex-col overflow-auto list - border-t border-gray-200 + border-t border-line-default " > @@ -330,9 +330,9 @@ - + {{ $t('customers.no_customers_found') }} @@ -350,10 +350,10 @@ w-full px-2 py-3 - bg-gray-200 + bg-surface-muted border-none outline-hidden - focus:bg-gray-300 + focus:bg-surface-muted " @click="openCustomerModal" > diff --git a/resources/scripts/components/base/BaseDatePicker.vue b/resources/scripts/components/base/BaseDatePicker.vue index c29bdd9e..1605f19b 100644 --- a/resources/scripts/components/base/BaseDatePicker.vue +++ b/resources/scripts/components/base/BaseDatePicker.vue @@ -21,7 +21,7 @@ text-sm not-italic font-black - text-gray-400 + text-subtle cursor-pointer " @click="onClickDp" @@ -121,7 +121,7 @@ const props = defineProps({ defaultInputClass: { type: String, default: - 'font-base pl-8 py-2 outline-hidden focus:ring-primary-400 focus:outline-hidden focus:border-primary-400 block w-full sm:text-sm border-gray-200 rounded-md text-black', + 'font-base pl-8 py-2 outline-hidden focus:ring-primary-400 focus:outline-hidden focus:border-primary-400 block w-full sm:text-sm border-line-default rounded-md text-heading', }, time24hr: { type: Boolean, @@ -282,7 +282,7 @@ const inputInvalidClass = computed(() => { const inputDisabledClass = computed(() => { if (props.disabled) { - return 'border border-solid rounded-md outline-hidden input-field box-border-2 base-date-picker-input placeholder-gray-400 bg-gray-200 text-gray-600 border-gray-200' + return 'border border-solid rounded-md outline-hidden input-field box-border-2 base-date-picker-input placeholder-gray-400 bg-surface-muted text-body border-line-default' } return '' diff --git a/resources/scripts/components/base/BaseDescriptionListItem.vue b/resources/scripts/components/base/BaseDescriptionListItem.vue index 6140fc4b..76496a29 100644 --- a/resources/scripts/components/base/BaseDescriptionListItem.vue +++ b/resources/scripts/components/base/BaseDescriptionListItem.vue @@ -10,7 +10,7 @@ {{ label }} - + {{ value }} diff --git a/resources/scripts/components/base/BaseDialog.vue b/resources/scripts/components/base/BaseDialog.vue index e65ca5d0..5d56fb88 100644 --- a/resources/scripts/components/base/BaseDialog.vue +++ b/resources/scripts/components/base/BaseDialog.vue @@ -30,7 +30,7 @@ leave-to="opacity-0" > @@ -59,7 +59,7 @@ text-left align-bottom transition-all - bg-white + bg-surface rounded-lg shadow-xl sm:my-8 sm:align-middle sm:w-full sm:p-6 @@ -76,35 +76,35 @@ w-12 h-12 mx-auto - bg-green-100 + bg-alert-success-bg rounded-full " :class="{ - 'bg-green-100': dialogStore.variant === 'primary', - 'bg-red-100': dialogStore.variant === 'danger', + 'bg-alert-success-bg': dialogStore.variant === 'primary', + 'bg-alert-error-bg': dialogStore.variant === 'danger', }" > {{ dialogStore.title }} - + {{ dialogStore.message }} diff --git a/resources/scripts/components/base/BaseDivider.vue b/resources/scripts/components/base/BaseDivider.vue index 327cfe0e..6a529918 100644 --- a/resources/scripts/components/base/BaseDivider.vue +++ b/resources/scripts/components/base/BaseDivider.vue @@ -1,3 +1,3 @@ - + diff --git a/resources/scripts/components/base/BaseDropdown.vue b/resources/scripts/components/base/BaseDropdown.vue index 69f9ea84..94281fa6 100644 --- a/resources/scripts/components/base/BaseDropdown.vue +++ b/resources/scripts/components/base/BaseDropdown.vue @@ -69,7 +69,7 @@ const props = defineProps({ }) const containerClasses = computed(() => { - const baseClass = `origin-top-right rounded-md shadow-lg bg-white ring-1 ring-black/5 divide-y divide-gray-100 focus:outline-hidden` + const baseClass = `origin-top-right rounded-md shadow-lg bg-surface ring-1 ring-black/5 divide-y divide-line-light focus:outline-hidden` return `${baseClass} ${props.containerClass}` }) diff --git a/resources/scripts/components/base/BaseDropdownItem.vue b/resources/scripts/components/base/BaseDropdownItem.vue index 7336a47a..c93d1202 100644 --- a/resources/scripts/components/base/BaseDropdownItem.vue +++ b/resources/scripts/components/base/BaseDropdownItem.vue @@ -3,7 +3,7 @@ diff --git a/resources/scripts/components/base/BaseEmptyPlaceholder.vue b/resources/scripts/components/base/BaseEmptyPlaceholder.vue index c89265d6..a888ebf6 100644 --- a/resources/scripts/components/base/BaseEmptyPlaceholder.vue +++ b/resources/scripts/components/base/BaseEmptyPlaceholder.vue @@ -7,7 +7,7 @@ {{ title }} - + {{ description }} diff --git a/resources/scripts/components/base/BaseErrorAlert.vue b/resources/scripts/components/base/BaseErrorAlert.vue index c80a5849..2bebfa26 100644 --- a/resources/scripts/components/base/BaseErrorAlert.vue +++ b/resources/scripts/components/base/BaseErrorAlert.vue @@ -1,14 +1,14 @@ - + - + - + {{ errorTitle }} - + {{ error }} diff --git a/resources/scripts/components/base/BaseEstimateStatusBadge.vue b/resources/scripts/components/base/BaseEstimateStatusBadge.vue index 203a9517..c9ac54a7 100644 --- a/resources/scripts/components/base/BaseEstimateStatusBadge.vue +++ b/resources/scripts/components/base/BaseEstimateStatusBadge.vue @@ -18,19 +18,19 @@ const props = defineProps({ const badgeColorClasses = computed(() => { switch (props.status) { case 'DRAFT': - return 'bg-yellow-300/25 px-2 py-1 text-sm text-yellow-800 uppercase font-normal text-center ' + return 'bg-yellow-300/25 px-2 py-1 text-sm text-status-yellow uppercase font-normal text-center ' case 'SENT': - return ' bg-yellow-500/25 px-2 py-1 text-sm text-yellow-900 uppercase font-normal text-center ' + return ' bg-yellow-500/25 px-2 py-1 text-sm text-status-yellow uppercase font-normal text-center ' case 'VIEWED': - return 'bg-blue-400/25 px-2 py-1 text-sm text-blue-900 uppercase font-normal text-center' + return 'bg-blue-400/25 px-2 py-1 text-sm text-status-blue uppercase font-normal text-center' case 'EXPIRED': - return 'bg-red-300/25 px-2 py-1 text-sm text-red-800 uppercase font-normal text-center' + return 'bg-red-300/25 px-2 py-1 text-sm text-status-red uppercase font-normal text-center' case 'ACCEPTED': - return 'bg-green-400/25 px-2 py-1 text-sm text-green-800 uppercase font-normal text-center' + return 'bg-green-400/25 px-2 py-1 text-sm text-status-green uppercase font-normal text-center' case 'REJECTED': - return 'bg-purple-300/25 px-2 py-1 text-sm text-purple-800 uppercase font-normal text-center' + return 'bg-purple-300/25 px-2 py-1 text-sm text-status-purple uppercase font-normal text-center' default: - return 'bg-gray-500/25 px-2 py-1 text-sm text-gray-900 uppercase font-normal text-center' + return 'bg-surface-secondary0/25 px-2 py-1 text-sm text-heading uppercase font-normal text-center' } }) diff --git a/resources/scripts/components/base/BaseFileUploader.vue b/resources/scripts/components/base/BaseFileUploader.vue index 8e0c0385..794faaa4 100644 --- a/resources/scripts/components/base/BaseFileUploader.vue +++ b/resources/scripts/components/base/BaseFileUploader.vue @@ -11,15 +11,15 @@ rounded-md cursor-pointer avatar-upload - border-gray-300 + border-line-strong transition-all duration-300 ease-in-out isolate - hover:border-gray-300 + hover:border-line-strong group min-h-[100px] - bg-gray-50 + bg-surface-secondary " :class="avatar ? 'w-32 h-32' : 'w-full'" > @@ -48,7 +48,7 @@ - + {{ $t('general.file_upload.drag_a_file') }} + {{ recommendedText }} - + @@ -188,8 +188,8 @@ block p-2 m-2 - bg-white - border border-gray-200 + bg-surface + border border-line-default rounded hover:border-gray-500 relative @@ -211,7 +211,7 @@ flex justify-center items-center - text-gray-400 + text-subtle flex-col space-y-2 px-2 @@ -238,7 +238,7 @@ - + @@ -286,8 +286,8 @@ block p-2 m-2 - bg-white - border border-gray-200 + bg-surface + border border-line-default rounded hover:border-gray-500 relative @@ -309,7 +309,7 @@ flex justify-center items-center - text-gray-400 + text-subtle flex-col space-y-2 px-2 @@ -336,7 +336,7 @@ - + diff --git a/resources/scripts/components/base/BaseFilterWrapper.vue b/resources/scripts/components/base/BaseFilterWrapper.vue index 5db8358c..8a805c1c 100644 --- a/resources/scripts/components/base/BaseFilterWrapper.vue +++ b/resources/scripts/components/base/BaseFilterWrapper.vue @@ -7,7 +7,7 @@ leave-from-class="opacity-100" leave-to-class="opacity-0" > - + { return { - 'text-gray-900 text-lg font-medium': props.type === 'heading-title', - 'text-gray-500 uppercase text-base': props.type === 'section-title', + 'text-heading text-lg font-medium': props.type === 'heading-title', + 'text-muted uppercase text-base': props.type === 'section-title', } }) diff --git a/resources/scripts/components/base/BaseInfoAlert.vue b/resources/scripts/components/base/BaseInfoAlert.vue index 6a0391d7..5d8933f2 100644 --- a/resources/scripts/components/base/BaseInfoAlert.vue +++ b/resources/scripts/components/base/BaseInfoAlert.vue @@ -1,8 +1,8 @@ - + @@ -10,15 +10,15 @@ - + {{ title }} - + {{ list }} @@ -34,14 +34,14 @@ :key="i" type="button" class=" - bg-yellow-50 + bg-alert-warning-bg px-2 py-1.5 rounded-md text-sm font-medium - text-yellow-800 - hover:bg-yellow-100 + text-alert-warning-text + hover:bg-alert-warning-bg focus:outline-hidden focus:ring-2 focus:ring-offset-2 diff --git a/resources/scripts/components/base/BaseInput.vue b/resources/scripts/components/base/BaseInput.vue index fb32fd96..86b0ea45 100644 --- a/resources/scripts/components/base/BaseInput.vue +++ b/resources/scripts/components/base/BaseInput.vue @@ -60,10 +60,10 @@ inline-flex items-center px-3 - text-gray-500 - border border-r-0 border-gray-200 + text-muted + border border-r-0 border-line-default rounded-l-md - bg-gray-50 + bg-surface-secondary sm:text-sm " > @@ -82,7 +82,7 @@ pointer-events-none " > - + {{ inlineAddon }} @@ -199,15 +199,15 @@ const props = defineProps({ defaultInputClass: { type: String, default: - 'font-base block w-full sm:text-sm border-gray-200 rounded-md text-black', + 'font-base block w-full sm:text-sm border-line-default rounded-md text-heading', }, iconLeftClass: { type: String, - default: 'h-5 w-5 text-gray-400', + default: 'h-5 w-5 text-subtle', }, iconRightClass: { type: String, - default: 'h-5 w-5 text-gray-400', + default: 'h-5 w-5 text-subtle', }, modelModifiers: { default: () => ({}), @@ -258,7 +258,7 @@ const inputInvalidClass = computed(() => { const inputDisabledClass = computed(() => { if (props.disabled) { - return `border-gray-100 bg-gray-100 !text-gray-400 ring-gray-200 focus:ring-gray-200 focus:border-gray-100` + return `border-line-light bg-surface-tertiary !text-subtle ring-surface-muted focus:ring-surface-muted focus:border-line-light` } return '' diff --git a/resources/scripts/components/base/BaseInputGroup.vue b/resources/scripts/components/base/BaseInputGroup.vue index 31d83fb9..850b763a 100644 --- a/resources/scripts/components/base/BaseInputGroup.vue +++ b/resources/scripts/components/base/BaseInputGroup.vue @@ -12,7 +12,7 @@ not-italic items-center font-medium - text-gray-800 + text-heading whitespace-nowrap justify-between " @@ -26,12 +26,12 @@ v-if="tooltip" v-tooltip="{ content: tooltip }" name="InformationCircleIcon" - class="h-4 text-gray-400 cursor-pointer hover:text-gray-600" + class="h-4 text-subtle cursor-pointer hover:text-body" /> - + {{ helpText }} diff --git a/resources/scripts/components/base/BaseInvoiceStatusBadge.vue b/resources/scripts/components/base/BaseInvoiceStatusBadge.vue index 14840c40..08b6d32b 100644 --- a/resources/scripts/components/base/BaseInvoiceStatusBadge.vue +++ b/resources/scripts/components/base/BaseInvoiceStatusBadge.vue @@ -20,25 +20,25 @@ export default { const badgeColorClasses = computed(() => { switch (props.status) { case 'DRAFT': - return 'bg-yellow-300/25 px-2 py-1 text-sm text-yellow-800 uppercase font-normal text-center' + return 'bg-yellow-300/25 px-2 py-1 text-sm text-status-yellow uppercase font-normal text-center' case 'SENT': - return ' bg-yellow-500/25 px-2 py-1 text-sm text-yellow-900 uppercase font-normal text-center ' + return ' bg-yellow-500/25 px-2 py-1 text-sm text-status-yellow uppercase font-normal text-center ' case 'VIEWED': - return 'bg-blue-400/25 px-2 py-1 text-sm text-blue-900 uppercase font-normal text-center' + return 'bg-blue-400/25 px-2 py-1 text-sm text-status-blue uppercase font-normal text-center' case 'COMPLETED': - return 'bg-green-500/25 px-2 py-1 text-sm text-green-900 uppercase font-normal text-center' + return 'bg-green-500/25 px-2 py-1 text-sm text-status-green uppercase font-normal text-center' case 'DUE': - return 'bg-yellow-500/25 px-2 py-1 text-sm text-yellow-900 uppercase font-normal text-center' + return 'bg-yellow-500/25 px-2 py-1 text-sm text-status-yellow uppercase font-normal text-center' case 'OVERDUE': - return 'bg-red-300/50 px-2 py-1 text-sm text-red-900 uppercase font-normal text-center' + return 'bg-red-300/50 px-2 py-1 text-sm text-status-red uppercase font-normal text-center' case 'UNPAID': - return 'bg-yellow-500/25 px-2 py-1 text-sm text-yellow-900 uppercase font-normal text-center' + return 'bg-yellow-500/25 px-2 py-1 text-sm text-status-yellow uppercase font-normal text-center' case 'PARTIALLY_PAID': - return 'bg-blue-400/25 px-2 py-1 text-sm text-blue-900 uppercase font-normal text-center' + return 'bg-blue-400/25 px-2 py-1 text-sm text-status-blue uppercase font-normal text-center' case 'PAID': - return 'bg-green-500/25 px-2 py-1 text-sm text-green-900 uppercase font-normal text-center' + return 'bg-green-500/25 px-2 py-1 text-sm text-status-green uppercase font-normal text-center' default: - return 'bg-gray-500/25 px-2 py-1 text-sm text-gray-900 uppercase font-normal text-center' + return 'bg-surface-secondary0/25 px-2 py-1 text-sm text-heading uppercase font-normal text-center' } }) return { badgeColorClasses } diff --git a/resources/scripts/components/base/BaseItemSelect.vue b/resources/scripts/components/base/BaseItemSelect.vue index df1aa583..74ab4a15 100644 --- a/resources/scripts/components/base/BaseItemSelect.vue +++ b/resources/scripts/components/base/BaseItemSelect.vue @@ -9,15 +9,15 @@ items-center h-10 pl-2 - bg-gray-200 - border border-gray-200 border-solid + bg-surface-muted + border border-line-default border-solid rounded " > {{ item.name }} diff --git a/resources/scripts/components/base/BaseModal.vue b/resources/scripts/components/base/BaseModal.vue index 2d0c85d2..4ec0aad6 100644 --- a/resources/scripts/components/base/BaseModal.vue +++ b/resources/scripts/components/base/BaseModal.vue @@ -51,7 +51,7 @@ diff --git a/resources/scripts/components/base/BaseMoney.vue b/resources/scripts/components/base/BaseMoney.vue index bdc4f89e..acec5313 100644 --- a/resources/scripts/components/base/BaseMoney.vue +++ b/resources/scripts/components/base/BaseMoney.vue @@ -39,7 +39,7 @@ const props = defineProps({ inputClass: { type: String, default: - 'font-base block w-full sm:text-sm border-gray-200 rounded-md text-black', + 'font-base block w-full sm:text-sm border-line-default rounded-md text-heading', }, disabled: { type: Boolean, diff --git a/resources/scripts/components/base/BaseNewBadge.vue b/resources/scripts/components/base/BaseNewBadge.vue index 47f3b38e..a5d55164 100644 --- a/resources/scripts/components/base/BaseNewBadge.vue +++ b/resources/scripts/components/base/BaseNewBadge.vue @@ -1,7 +1,7 @@ diff --git a/resources/scripts/components/base/BasePageHeader.vue b/resources/scripts/components/base/BasePageHeader.vue index b85b5389..15718eaf 100644 --- a/resources/scripts/components/base/BasePageHeader.vue +++ b/resources/scripts/components/base/BasePageHeader.vue @@ -1,7 +1,7 @@ - + {{ title }} diff --git a/resources/scripts/components/base/BasePaidStatusBadge.vue b/resources/scripts/components/base/BasePaidStatusBadge.vue index 67012a31..c70ca34a 100644 --- a/resources/scripts/components/base/BasePaidStatusBadge.vue +++ b/resources/scripts/components/base/BasePaidStatusBadge.vue @@ -26,13 +26,13 @@ export default { case 'PAID': return 'bg-primary-300/25 text-primary-800 uppercase font-normal text-center' case 'UNPAID': - return ' bg-yellow-500/25 text-yellow-900 uppercase font-normal text-center ' + return ' bg-yellow-500/25 text-status-yellow uppercase font-normal text-center ' case 'PARTIALLY_PAID': - return 'bg-blue-400/25 text-blue-900 uppercase font-normal text-center' + return 'bg-blue-400/25 text-status-blue uppercase font-normal text-center' case 'OVERDUE': - return 'bg-red-300/50 px-2 py-1 text-sm text-red-900 uppercase font-normal text-center' + return 'bg-red-300/50 px-2 py-1 text-sm text-status-red uppercase font-normal text-center' default: - return 'bg-gray-500/25 text-gray-900 uppercase font-normal text-center' + return 'bg-surface-secondary0/25 text-heading uppercase font-normal text-center' } }) return { badgeColorClasses } diff --git a/resources/scripts/components/base/BaseRadio.vue b/resources/scripts/components/base/BaseRadio.vue index 8a719673..602fd3fd 100644 --- a/resources/scripts/components/base/BaseRadio.vue +++ b/resources/scripts/components/base/BaseRadio.vue @@ -66,11 +66,11 @@ const props = defineProps({ }, checkedStateClass: { type: String, - default: 'bg-primary-600', + default: 'bg-primary-500', }, unCheckedStateClass: { type: String, - default: 'bg-white ', + default: 'bg-surface ', }, optionGroupActiveStateClass: { type: String, @@ -78,11 +78,11 @@ const props = defineProps({ }, checkedStateLabelClass: { type: String, - default: 'text-primary-900 ', + default: 'text-primary-500 ', }, unCheckedStateLabelClass: { type: String, - default: 'text-gray-900', + default: 'text-heading', }, optionGroupClass: { type: String, diff --git a/resources/scripts/components/base/BaseRecurringInvoiceStatusBadge.vue b/resources/scripts/components/base/BaseRecurringInvoiceStatusBadge.vue index 29fc698c..822ded96 100644 --- a/resources/scripts/components/base/BaseRecurringInvoiceStatusBadge.vue +++ b/resources/scripts/components/base/BaseRecurringInvoiceStatusBadge.vue @@ -20,13 +20,13 @@ export default { const badgeColorClasses = computed(() => { switch (props.status) { case 'COMPLETED': - return 'bg-green-500/25 px-2 py-1 text-sm text-green-900 uppercase font-normal text-center' + return 'bg-green-500/25 px-2 py-1 text-sm text-status-green uppercase font-normal text-center' case 'ON_HOLD': - return 'bg-yellow-500/25 px-2 py-1 text-sm text-yellow-900 uppercase font-normal text-center' + return 'bg-yellow-500/25 px-2 py-1 text-sm text-status-yellow uppercase font-normal text-center' case 'ACTIVE': - return 'bg-blue-400/25 px-2 py-1 text-sm text-blue-900 uppercase font-normal text-center' + return 'bg-blue-400/25 px-2 py-1 text-sm text-status-blue uppercase font-normal text-center' default: - return 'bg-gray-500/25 px-2 py-1 text-sm text-gray-900 uppercase font-normal text-center' + return 'bg-surface-secondary0/25 px-2 py-1 text-sm text-heading uppercase font-normal text-center' } }) return { badgeColorClasses } diff --git a/resources/scripts/components/base/BaseSelectAction.vue b/resources/scripts/components/base/BaseSelectAction.vue index 5fc53ca2..2c9adcd1 100644 --- a/resources/scripts/components/base/BaseSelectAction.vue +++ b/resources/scripts/components/base/BaseSelectAction.vue @@ -8,7 +8,7 @@ px-6 py-2 text-sm - bg-gray-200 + bg-surface-muted cursor-pointer text-primary-400 " diff --git a/resources/scripts/components/base/BaseSelectInput.vue b/resources/scripts/components/base/BaseSelectInput.vue index 700d27f0..9e9a25b0 100644 --- a/resources/scripts/components/base/BaseSelectInput.vue +++ b/resources/scripts/components/base/BaseSelectInput.vue @@ -12,7 +12,7 @@ > {{ label }} @@ -27,8 +27,8 @@ pl-3 pr-10 text-left - bg-white - border border-gray-200 + bg-surface + border border-line-default rounded-md shadow-xs cursor-default @@ -42,10 +42,10 @@ {{ getValue(selectedValue) }} - + {{ placeholder }} - + Please select an option @@ -62,7 +62,7 @@ > @@ -82,7 +82,7 @@ mt-1 overflow-auto text-base - bg-white + bg-surface rounded-md shadow-lg max-h-60 @@ -100,7 +100,7 @@ > diff --git a/resources/scripts/components/base/BaseSettingCard.vue b/resources/scripts/components/base/BaseSettingCard.vue index 99db2897..2af8c7cf 100644 --- a/resources/scripts/components/base/BaseSettingCard.vue +++ b/resources/scripts/components/base/BaseSettingCard.vue @@ -11,7 +11,7 @@ mt-2 text-sm leading-snug - text-left text-gray-500 + text-left text-muted max-w-[680px] " > diff --git a/resources/scripts/components/base/BaseSwitch.vue b/resources/scripts/components/base/BaseSwitch.vue index b08b106d..aab73dee 100644 --- a/resources/scripts/components/base/BaseSwitch.vue +++ b/resources/scripts/components/base/BaseSwitch.vue @@ -7,7 +7,7 @@ {{ title }} - + {{ description }} @@ -18,7 +18,7 @@ :disabled="disabled" :model-value="modelValue" :class="[ - modelValue ? 'bg-primary-500' : 'bg-gray-200', + modelValue ? 'bg-primary-500' : 'bg-surface-muted', 'ml-4 relative inline-flex shrink-0 h-6 w-11 border-2 border-transparent rounded-full cursor-pointer transition-colors ease-in-out duration-200 focus:outline-hidden focus:ring-2 focus:ring-offset-2 focus:ring-primary-500', ]" @update:modelValue="onUpdate" diff --git a/resources/scripts/components/base/BaseTabGroup.vue b/resources/scripts/components/base/BaseTabGroup.vue index 96b0fa1b..16b91bbd 100644 --- a/resources/scripts/components/base/BaseTabGroup.vue +++ b/resources/scripts/components/base/BaseTabGroup.vue @@ -3,7 +3,7 @@ {{ tab.title }} diff --git a/resources/scripts/components/base/BaseTextarea.vue b/resources/scripts/components/base/BaseTextarea.vue index 4ae0f94f..6e835796 100644 --- a/resources/scripts/components/base/BaseTextarea.vue +++ b/resources/scripts/components/base/BaseTextarea.vue @@ -45,7 +45,7 @@ const props = defineProps({ defaultInputClass: { type: String, default: - 'box-border w-full px-3 py-2 text-sm not-italic font-normal leading-snug text-left text-black placeholder-gray-400 bg-white border border-gray-200 border-solid rounded outline-hidden', + 'box-border w-full px-3 py-2 text-sm not-italic font-normal leading-snug text-left text-heading placeholder-subtle bg-surface border border-line-default border-solid rounded outline-hidden', }, autosize: { type: Boolean, diff --git a/resources/scripts/components/base/BaseTimePicker.vue b/resources/scripts/components/base/BaseTimePicker.vue index e048c41f..0a52f85f 100644 --- a/resources/scripts/components/base/BaseTimePicker.vue +++ b/resources/scripts/components/base/BaseTimePicker.vue @@ -21,7 +21,7 @@ text-sm not-italic font-black - text-gray-400 + text-subtle cursor-pointer " viewBox="0 0 20 20" @@ -86,7 +86,7 @@ const props = defineProps({ defaultInputClass: { type: String, default: - 'font-base pl-8 py-2 outline-hidden focus:ring-primary-400 focus:outline-hidden focus:border-primary-400 block w-full sm:text-sm border-gray-300 rounded-md text-black', + 'font-base pl-8 py-2 outline-hidden focus:ring-primary-400 focus:outline-hidden focus:border-primary-400 block w-full sm:text-sm border-line-strong rounded-md text-heading', }, }) @@ -130,7 +130,7 @@ const inputInvalidClass = computed(() => { const inputDisabledClass = computed(() => { if (props.disabled) { - return 'border border-solid rounded-md outline-hidden input-field box-border-2 base-date-picker-input placeholder-gray-400 bg-gray-300 text-gray-600 border-gray-300' + return 'border border-solid rounded-md outline-hidden input-field box-border-2 base-date-picker-input placeholder-subtle bg-surface-muted text-body border-line-strong' } return '' diff --git a/resources/scripts/components/base/BaseWizardNavigation.vue b/resources/scripts/components/base/BaseWizardNavigation.vue index cc99830a..e33289af 100644 --- a/resources/scripts/components/base/BaseWizardNavigation.vue +++ b/resources/scripts/components/base/BaseWizardNavigation.vue @@ -3,7 +3,7 @@ :class="containerClass" class=" relative - after:bg-gray-200 + after:bg-surface-muted after:absolute after:transform after:top-1/2 @@ -62,7 +62,7 @@ export default { }, nextStepClass: { type: String, - default: 'border-gray-200 bg-white', + default: 'border-line-default bg-surface', }, previousStepClass: { type: String, diff --git a/resources/scripts/components/base/BaseWizardStep.vue b/resources/scripts/components/base/BaseWizardStep.vue index 57e41da2..00de8cb4 100644 --- a/resources/scripts/components/base/BaseWizardStep.vue +++ b/resources/scripts/components/base/BaseWizardStep.vue @@ -25,16 +25,16 @@ const props = defineProps({ stepContainerClass: { type: String, default: - 'w-full p-8 mb-8 bg-white border border-gray-200 border-solid rounded', + 'w-full p-8 mb-8 bg-surface border border-line-default border-solid rounded', }, stepTitleClass: { type: String, - default: 'text-2xl not-italic font-semibold leading-7 text-black', + default: 'text-2xl not-italic font-semibold leading-7 text-heading', }, stepDescriptionClass: { type: String, default: - 'w-full mt-2.5 mb-8 text-sm not-italic leading-snug text-gray-500 lg:w-7/12 md:w-7/12 sm:w-7/12', + 'w-full mt-2.5 mb-8 text-sm not-italic leading-snug text-muted lg:w-7/12 md:w-7/12 sm:w-7/12', }, }) diff --git a/resources/scripts/components/base/base-editor/BaseEditor.vue b/resources/scripts/components/base/base-editor/BaseEditor.vue index 199a449a..856ae75d 100644 --- a/resources/scripts/components/base/base-editor/BaseEditor.vue +++ b/resources/scripts/components/base/base-editor/BaseEditor.vue @@ -8,16 +8,16 @@ - + - + @@ -25,36 +25,36 @@ v-for="button in editorButtons" type="button" :key="button.name" - class="p-1 rounded hover:bg-gray-100" + class="p-1 rounded hover:bg-surface-tertiary" @click="button.action" > - + {{ button.text }} - + - + {{ button.text }} @@ -209,7 +209,7 @@ export default { blockquote { padding-left: 1rem; - border-left: 2px solid rgba(13, 13, 13, 0.1); + border-left: 2px solid var(--color-line-default); } code { diff --git a/resources/scripts/components/base/base-table/BaseTable.vue b/resources/scripts/components/base/base-table/BaseTable.vue index a6a67f47..bda401da 100644 --- a/resources/scripts/components/base/base-table/BaseTable.vue +++ b/resources/scripts/components/base/base-table/BaseTable.vue @@ -6,9 +6,9 @@ class=" relative overflow-hidden - bg-white - border border-gray-100 - shadow-sm + bg-surface + border border-line-light + shadow rounded-xl " > @@ -22,7 +22,7 @@ :class="[ getThClass(column), { - 'text-bold text-black': sort.fieldName === column.key, + 'text-bold text-heading': sort.fieldName === column.key, }, ]" @click="changeSorting(column)" @@ -51,7 +51,7 @@ {{ $t('general.no_data_found') }} @@ -163,9 +163,9 @@ const props = defineProps({ sortOrder: { type: String, default: '' }, tableClass: { type: String, - default: 'min-w-full divide-y divide-gray-200', + default: 'min-w-full divide-y divide-line-default', }, - theadClass: { type: String, default: 'bg-gray-50' }, + theadClass: { type: String, default: 'bg-surface-secondary' }, tbodyClass: { type: String, default: '' }, noResultsMessage: { type: String, @@ -236,7 +236,7 @@ function getColumn(columnName) { function getThClass(column) { let classes = - 'whitespace-nowrap px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider' + 'whitespace-nowrap px-6 py-3 text-left text-xs font-medium text-muted uppercase tracking-wider' if (column.defaultThClass) { classes = column.defaultThClass @@ -256,7 +256,7 @@ function getThClass(column) { } function getTdClass(column) { - let classes = 'px-6 py-4 text-sm text-gray-500 whitespace-nowrap' + let classes = 'px-6 py-4 text-sm text-muted whitespace-nowrap' if (column.defaultTdClass) { classes = column.defaultTdClass diff --git a/resources/scripts/components/base/base-table/BaseTablePagination.vue b/resources/scripts/components/base/base-table/BaseTablePagination.vue index 0a7d4419..1710e3d2 100644 --- a/resources/scripts/components/base/base-table/BaseTablePagination.vue +++ b/resources/scripts/components/base/base-table/BaseTablePagination.vue @@ -7,8 +7,8 @@ justify-between px-4 py-3 - bg-white - border-t border-gray-200 + bg-surface + border-t border-line-default sm:px-6 " > @@ -16,7 +16,7 @@ @@ -40,7 +40,7 @@ @@ -65,7 +65,7 @@ - + {{ $t('general.pagination.showing') }} {{ ' ' }} @@ -142,7 +142,7 @@ :class="{ 'z-10 bg-primary-500 border-primary-500 text-white': isActive(1), - 'bg-white border-gray-200 text-gray-500 hover:bg-gray-50': + 'bg-surface border-line-default text-muted hover:bg-hover': !isActive(1), }" class=" @@ -170,9 +170,9 @@ py-2 text-sm font-medium - text-gray-700 - bg-white - border border-gray-200 + text-body + bg-surface + border border-line-default " > ... @@ -184,7 +184,7 @@ :class="{ 'z-10 bg-primary-500 border-primary-500 text-white': isActive(page), - 'bg-white border-gray-200 text-gray-500 hover:bg-gray-50': + 'bg-surface border-line-default text-muted hover:bg-hover': !isActive(page), disabled: page === '...', }" @@ -214,9 +214,9 @@ py-2 text-sm font-medium - text-gray-700 - bg-white - border border-gray-200 + text-body + bg-surface + border border-line-default " > ... @@ -228,7 +228,7 @@ :class="{ 'z-10 bg-primary-500 border-primary-500 text-white': isActive(pagination.totalPages), - 'bg-white border-gray-200 text-gray-500 hover:bg-gray-50': + 'bg-surface border-line-default text-muted hover:bg-hover': !isActive(pagination.totalPages), }" class=" @@ -255,14 +255,14 @@ py-2 text-sm font-medium - text-gray-500 - bg-white - border border-gray-200 + text-muted + bg-surface + border border-line-default rounded-r-lg - hover:bg-gray-50 + hover:bg-hover " :class="{ - 'disabled cursor-default pointer-events-none !bg-gray-100 !text-gray-400': + 'disabled cursor-default pointer-events-none !bg-surface-tertiary !text-subtle': pagination.currentPage === pagination.totalPages, }" @click="pageClicked(pagination.currentPage + 1)" diff --git a/resources/scripts/components/list/BaseListItem.vue b/resources/scripts/components/list/BaseListItem.vue index dcd252d0..9624c069 100644 --- a/resources/scripts/components/list/BaseListItem.vue +++ b/resources/scripts/components/list/BaseListItem.vue @@ -34,7 +34,7 @@ export default { }) let containerClass = computed(() => { if (props.active) return `${defaultClass} text-primary-600 bg-primary-50 font-semibold` - else return `${defaultClass} text-gray-600 hover:bg-gray-50 hover:text-gray-900` + else return `${defaultClass} text-body hover:bg-hover hover:text-heading` }) return { hasIconSlot, diff --git a/resources/scripts/components/notifications/NotificationItem.vue b/resources/scripts/components/notifications/NotificationItem.vue index 2cf03de5..21a58615 100644 --- a/resources/scripts/components/notifications/NotificationItem.vue +++ b/resources/scripts/components/notifications/NotificationItem.vue @@ -1,6 +1,6 @@ @@ -62,7 +62,7 @@ {{ @@ -75,7 +75,7 @@ {{ @@ -91,8 +91,8 @@ - + diff --git a/resources/scripts/customer/layouts/partials/TheSiteFooter.vue b/resources/scripts/customer/layouts/partials/TheSiteFooter.vue index 91ab8115..75196e31 100644 --- a/resources/scripts/customer/layouts/partials/TheSiteFooter.vue +++ b/resources/scripts/customer/layouts/partials/TheSiteFooter.vue @@ -12,15 +12,15 @@ pr-8 text-sm font-normal - text-gray-700 - bg-white + text-body + bg-surface " > Powered by Bytefury diff --git a/resources/scripts/customer/layouts/partials/TheSiteHeader.vue b/resources/scripts/customer/layouts/partials/TheSiteHeader.vue index 47717d75..5d92a8fe 100644 --- a/resources/scripts/customer/layouts/partials/TheSiteHeader.vue +++ b/resources/scripts/customer/layouts/partials/TheSiteHeader.vue @@ -2,7 +2,7 @@ @@ -34,7 +34,7 @@ :class="[ hasActiveUrl(item.link) ? 'border-primary-500 text-primary-600' - : 'border-transparent text-gray-500 hover:text-gray-700 hover:border-gray-300', + : 'border-transparent text-muted hover:text-body hover:border-line-strong', 'inline-flex items-center px-1 pt-1 border-b-2 text-sm font-medium', ]" > @@ -46,11 +46,11 @@ {{ $t('navigation.settings') }} @@ -94,7 +94,7 @@ {{ $t('navigation.logout') }} @@ -106,14 +106,14 @@ {{ $t(item.title) }} - + - + {{ globalStore.currentUser.title }} - + {{ globalStore.currentUser.email }} @@ -161,12 +161,12 @@ type="button" class=" ml-auto - bg-white + bg-surface shrink-0 p-1 rounded-full - text-gray-400 - hover:text-gray-500 + text-subtle + hover:text-muted focus:outline-hidden focus:ring-2 focus:ring-offset-2 @@ -182,7 +182,7 @@ :class="[ hasActiveUrl(item.link) ? 'bg-primary-50 border-primary-500 text-primary-700' - : 'border-transparent text-gray-600 hover:bg-gray-50 hover:border-gray-300 hover:text-gray-800', + : 'border-transparent text-body hover:bg-hover hover:border-line-strong hover:text-heading', 'block pl-3 pr-4 py-2 border-l-4 text-base font-medium', ]" >{{ $t(item.title) }} - + diff --git a/resources/scripts/customer/views/auth/ForgotPassword.vue b/resources/scripts/customer/views/auth/ForgotPassword.vue index e4ff913e..2de36f5e 100644 --- a/resources/scripts/customer/views/auth/ForgotPassword.vue +++ b/resources/scripts/customer/views/auth/ForgotPassword.vue @@ -31,7 +31,7 @@ {{ $t('general.back_to_login') }} diff --git a/resources/scripts/customer/views/auth/Login.vue b/resources/scripts/customer/views/auth/Login.vue index 2c1fe2d5..55cba735 100644 --- a/resources/scripts/customer/views/auth/Login.vue +++ b/resources/scripts/customer/views/auth/Login.vue @@ -39,7 +39,7 @@ @@ -48,7 +48,7 @@ {{ $t('login.forgot_password') }} diff --git a/resources/scripts/customer/views/auth/ResetPassword.vue b/resources/scripts/customer/views/auth/ResetPassword.vue index 780c36c2..dd1ca3be 100644 --- a/resources/scripts/customer/views/auth/ResetPassword.vue +++ b/resources/scripts/customer/views/auth/ResetPassword.vue @@ -31,7 +31,7 @@ diff --git a/resources/scripts/customer/views/dashboard/DashboardStatsItem.vue b/resources/scripts/customer/views/dashboard/DashboardStatsItem.vue index a5827484..75574bce 100644 --- a/resources/scripts/customer/views/dashboard/DashboardStatsItem.vue +++ b/resources/scripts/customer/views/dashboard/DashboardStatsItem.vue @@ -6,10 +6,10 @@ flex justify-between p-3 - bg-white + bg-surface rounded shadow - hover:bg-gray-50 + hover:bg-hover xl:p-4 lg:col-span-2 " @@ -17,10 +17,10 @@ :to="route" > - + - + {{ label }} diff --git a/resources/scripts/customer/views/dashboard/DashboardStatsPlaceholder.vue b/resources/scripts/customer/views/dashboard/DashboardStatsPlaceholder.vue index a114818d..e5a99893 100644 --- a/resources/scripts/customer/views/dashboard/DashboardStatsPlaceholder.vue +++ b/resources/scripts/customer/views/dashboard/DashboardStatsPlaceholder.vue @@ -1,7 +1,7 @@ - - + + @@ -119,11 +119,11 @@ - + - + {{ $t('general.view') }} @@ -182,7 +182,7 @@ const estimateColumns = computed(() => { key: 'estimate_date', label: t('estimates.date'), thClass: 'extra', - tdClass: 'font-medium text-gray-900', + tdClass: 'font-medium text-heading', }, { key: 'estimate_number', label: t('estimates.number', 2) }, { key: 'status', label: t('estimates.status') }, diff --git a/resources/scripts/customer/views/estimates/View.vue b/resources/scripts/customer/views/estimates/View.vue index 17b9ad86..68096f61 100644 --- a/resources/scripts/customer/views/estimates/View.vue +++ b/resources/scripts/customer/views/estimates/View.vue @@ -25,7 +25,7 @@ - + @@ -69,7 +69,7 @@ pb-2 mb-2 text-sm - border-b border-gray-200 border-solid + border-b border-line-default border-solid " > {{ $t('general.sort_by') }} @@ -136,7 +136,7 @@ h-full pb-32 overflow-y-scroll - border-l border-gray-200 border-solid + border-l border-line-default border-solid sw-scroll " > @@ -146,9 +146,9 @@ :key="index" :to="`/${globalStore.companySlug}/customer/estimates/${estimate.id}/view`" :class="[ - 'flex justify-between p-4 items-center cursor-pointer hover:bg-gray-100 border-l-4 border-l-transparent', + 'flex justify-between p-4 items-center cursor-pointer hover:bg-hover-strong border-l-4 border-l-transparent', { - 'bg-gray-100 border-l-4 border-l-primary-500 border-solid': + 'bg-surface-tertiary border-l-4 border-l-primary-500 border-solid': hasActiveUrl(estimate.id), }, ]" @@ -162,7 +162,7 @@ not-italic font-medium leading-5 - text-gray-500 + text-muted capitalize " > @@ -182,13 +182,13 @@ not-italic font-semibold leading-8 - text-right text-gray-900 + text-right text-heading block " :amount="estimate.total" :currency="estimate.currency" /> - + {{ estimate.formatted_estimate_date }} @@ -196,7 +196,7 @@ {{ $t('estimates.no_matching_estimates') }} diff --git a/resources/scripts/customer/views/invoices/Index.vue b/resources/scripts/customer/views/invoices/Index.vue index 1a4e28b8..21251e68 100644 --- a/resources/scripts/customer/views/invoices/Index.vue +++ b/resources/scripts/customer/views/invoices/Index.vue @@ -45,8 +45,8 @@ class="px-3 mt-2" > - - + + @@ -126,11 +126,11 @@ - + - + {{ $t('general.view') }} @@ -191,7 +191,7 @@ const itemColumns = computed(() => { key: 'invoice_date', label: t('invoices.date'), thClass: 'extra', - tdClass: 'font-medium text-gray-900', + tdClass: 'font-medium text-heading', }, { key: 'invoice_number', label: t('invoices.number') }, diff --git a/resources/scripts/customer/views/invoices/View.vue b/resources/scripts/customer/views/invoices/View.vue index 985a1242..9833e523 100644 --- a/resources/scripts/customer/views/invoices/View.vue +++ b/resources/scripts/customer/views/invoices/View.vue @@ -31,7 +31,7 @@ -
{{ $t('modules.version') }} {{ moduleVersion }} ({{ $t('modules.last_updated') }} @@ -170,7 +170,7 @@
{{ faq.answer }}
{{ $t('payments.no_matching_payments') }}
{{ $t('recurring_invoices.send_automatically') }}
{{ $t('recurring_invoices.send_automatically_desc') }} diff --git a/resources/scripts/admin/views/recurring-invoices/partials/Invoices.vue b/resources/scripts/admin/views/recurring-invoices/partials/Invoices.vue index fa997aa3..e56ee1a8 100644 --- a/resources/scripts/admin/views/recurring-invoices/partials/Invoices.vue +++ b/resources/scripts/admin/views/recurring-invoices/partials/Invoices.vue @@ -73,7 +73,7 @@ const invoiceColumns = computed(() => { key: 'invoice_date', label: t('invoices.date'), thClass: 'extra', - tdClass: 'font-medium text-gray-900', + tdClass: 'font-medium text-heading', }, { key: 'invoice_number', label: t('invoices.invoice') }, { key: 'customer.name', label: t('invoices.customer') }, diff --git a/resources/scripts/admin/views/recurring-invoices/partials/RecurringInvoiceViewSidebar.vue b/resources/scripts/admin/views/recurring-invoices/partials/RecurringInvoiceViewSidebar.vue index 638101f9..4eb8e759 100644 --- a/resources/scripts/admin/views/recurring-invoices/partials/RecurringInvoiceViewSidebar.vue +++ b/resources/scripts/admin/views/recurring-invoices/partials/RecurringInvoiceViewSidebar.vue @@ -148,7 +148,7 @@ onSearched = debounce(onSearched, 500) pt-16 pb-[6.4rem] ml-56 - bg-white + bg-surface xl:ml-64 w-88 xl:block @@ -162,7 +162,7 @@ onSearched = debounce(onSearched, 500) px-4 pt-8 pb-2 - border border-gray-200 border-solid + border border-line-default border-solid height-full " > @@ -175,7 +175,7 @@ onSearched = debounce(onSearched, 500) @input="onSearched()" > - +
{{ $t('settings.company_info.delete_company_description') }}
{{ $t('settings.exchange_rate.providers_description') }} @@ -49,17 +49,17 @@ - + - + {{ $t('general.edit') }} - + {{ $t('general.delete') }} @@ -104,19 +104,19 @@ const drivers = computed(() => { key: 'driver', label: t('settings.exchange_rate.driver'), thClass: 'extra', - tdClass: 'font-medium text-gray-900', + tdClass: 'font-medium text-heading', }, { key: 'key', label: t('settings.exchange_rate.key'), thClass: 'extra', - tdClass: 'font-medium text-gray-900', + tdClass: 'font-medium text-heading', }, { key: 'active', label: t('settings.exchange_rate.active'), thClass: 'extra', - tdClass: 'font-medium text-gray-900', + tdClass: 'font-medium text-heading', }, { key: 'actions', diff --git a/resources/scripts/admin/views/settings/ExpenseCategorySetting.vue b/resources/scripts/admin/views/settings/ExpenseCategorySetting.vue index c0db9d01..4d5accc5 100644 --- a/resources/scripts/admin/views/settings/ExpenseCategorySetting.vue +++ b/resources/scripts/admin/views/settings/ExpenseCategorySetting.vue @@ -65,13 +65,13 @@ const ExpenseCategoryColumns = computed(() => { key: 'name', label: t('settings.expense_category.category_name'), thClass: 'extra', - tdClass: 'font-medium text-gray-900', + tdClass: 'font-medium text-heading', }, { key: 'description', label: t('settings.expense_category.category_description'), thClass: 'extra', - tdClass: 'font-medium text-gray-900', + tdClass: 'font-medium text-heading', }, { diff --git a/resources/scripts/admin/views/settings/FileDiskSetting.vue b/resources/scripts/admin/views/settings/FileDiskSetting.vue index abe106d1..eeed11ac 100644 --- a/resources/scripts/admin/views/settings/FileDiskSetting.vue +++ b/resources/scripts/admin/views/settings/FileDiskSetting.vue @@ -39,7 +39,7 @@ - + @@ -56,7 +56,7 @@ v-if="row.data.type !== 'SYSTEM'" @click="openEditDiskModal(row.data)" > - + {{ $t('general.edit') }} @@ -65,7 +65,7 @@ v-if="row.data.type !== 'SYSTEM' && !row.data.set_as_default" @click="removeDisk(row.data.id)" > - + {{ $t('general.delete') }} @@ -109,26 +109,26 @@ const fileDiskColumns = computed(() => { key: 'name', label: t('settings.disk.disk_name'), thClass: 'extra', - tdClass: 'font-medium text-gray-900', + tdClass: 'font-medium text-heading', }, { key: 'driver', label: t('settings.disk.filesystem_driver'), thClass: 'extra', - tdClass: 'font-medium text-gray-900', + tdClass: 'font-medium text-heading', }, { key: 'type', label: t('settings.disk.disk_type'), thClass: 'extra', - tdClass: 'font-medium text-gray-900', + tdClass: 'font-medium text-heading', }, { key: 'set_as_default', label: t('settings.disk.is_default'), thClass: 'extra', - tdClass: 'font-medium text-gray-900', + tdClass: 'font-medium text-heading', }, { key: 'actions', diff --git a/resources/scripts/admin/views/settings/NotesSetting.vue b/resources/scripts/admin/views/settings/NotesSetting.vue index 4b4c934d..1e0806b6 100644 --- a/resources/scripts/admin/views/settings/NotesSetting.vue +++ b/resources/scripts/admin/views/settings/NotesSetting.vue @@ -66,13 +66,13 @@ const notesColumns = computed(() => { key: 'name', label: t('settings.customization.notes.name'), thClass: 'extra', - tdClass: 'font-medium text-gray-900 flex gap-1 items-center', + tdClass: 'font-medium text-heading flex gap-1 items-center', }, { key: 'type', label: t('settings.customization.notes.type'), thClass: 'extra', - tdClass: 'font-medium text-gray-900', + tdClass: 'font-medium text-heading', }, { diff --git a/resources/scripts/admin/views/settings/NotificationsSetting.vue b/resources/scripts/admin/views/settings/NotificationsSetting.vue index f863af28..4463acae 100644 --- a/resources/scripts/admin/views/settings/NotificationsSetting.vue +++ b/resources/scripts/admin/views/settings/NotificationsSetting.vue @@ -44,7 +44,7 @@ -
{{ $t('settings.update_app.progress_text') }} @@ -189,13 +189,13 @@ justify-between w-full py-3 - border-b border-gray-200 border-solid + border-b border-line-default border-solid last:border-b-0 " >
{{ $t(step.translationKey) }}
{{ $t(`settings.customization.${type}s.${type}_number_format_description`) }} @@ -27,8 +27,8 @@ not-italic font-medium leading-5 - text-left text-gray-700 - border-t border-b border-gray-200 border-solid + text-left text-body + border-t border-b border-line-default border-solid " >
{{ element.description }}
{{ $t('settings.customization.estimates.convert_estimate_description') }}
{{ $t('settings.customization.estimates.default_formats_description') }}
{{ $t('settings.customization.estimates.expiry_date_description') }}
{{ $t('settings.customization.invoices.default_formats_description') }}
{{ $t('settings.customization.invoices.due_date_description') }}
{{ $t('settings.customization.invoices.retrospective_edits_description') }}
{{ $t('settings.customization.payments.default_formats_description') }}
{{ description }}
{{ address?.address_street_1 }},
{{ value }} diff --git a/resources/scripts/components/base/BaseDialog.vue b/resources/scripts/components/base/BaseDialog.vue index e65ca5d0..5d56fb88 100644 --- a/resources/scripts/components/base/BaseDialog.vue +++ b/resources/scripts/components/base/BaseDialog.vue @@ -30,7 +30,7 @@ leave-to="opacity-0" > @@ -59,7 +59,7 @@ text-left align-bottom transition-all - bg-white + bg-surface rounded-lg shadow-xl sm:my-8 sm:align-middle sm:w-full sm:p-6 @@ -76,35 +76,35 @@ w-12 h-12 mx-auto - bg-green-100 + bg-alert-success-bg rounded-full " :class="{ - 'bg-green-100': dialogStore.variant === 'primary', - 'bg-red-100': dialogStore.variant === 'danger', + 'bg-alert-success-bg': dialogStore.variant === 'primary', + 'bg-alert-error-bg': dialogStore.variant === 'danger', }" >
{{ dialogStore.message }}
{{ $t('general.file_upload.drag_a_file') }} + {{ recommendedText }}
{{ recommendedText }}
- +
{{ $t('general.pagination.showing') }} {{ ' ' }} @@ -142,7 +142,7 @@ :class="{ 'z-10 bg-primary-500 border-primary-500 text-white': isActive(1), - 'bg-white border-gray-200 text-gray-500 hover:bg-gray-50': + 'bg-surface border-line-default text-muted hover:bg-hover': !isActive(1), }" class=" @@ -170,9 +170,9 @@ py-2 text-sm font-medium - text-gray-700 - bg-white - border border-gray-200 + text-body + bg-surface + border border-line-default " > ... @@ -184,7 +184,7 @@ :class="{ 'z-10 bg-primary-500 border-primary-500 text-white': isActive(page), - 'bg-white border-gray-200 text-gray-500 hover:bg-gray-50': + 'bg-surface border-line-default text-muted hover:bg-hover': !isActive(page), disabled: page === '...', }" @@ -214,9 +214,9 @@ py-2 text-sm font-medium - text-gray-700 - bg-white - border border-gray-200 + text-body + bg-surface + border border-line-default " > ... @@ -228,7 +228,7 @@ :class="{ 'z-10 bg-primary-500 border-primary-500 text-white': isActive(pagination.totalPages), - 'bg-white border-gray-200 text-gray-500 hover:bg-gray-50': + 'bg-surface border-line-default text-muted hover:bg-hover': !isActive(pagination.totalPages), }" class=" @@ -255,14 +255,14 @@ py-2 text-sm font-medium - text-gray-500 - bg-white - border border-gray-200 + text-muted + bg-surface + border border-line-default rounded-r-lg - hover:bg-gray-50 + hover:bg-hover " :class="{ - 'disabled cursor-default pointer-events-none !bg-gray-100 !text-gray-400': + 'disabled cursor-default pointer-events-none !bg-surface-tertiary !text-subtle': pagination.currentPage === pagination.totalPages, }" @click="pageClicked(pagination.currentPage + 1)" diff --git a/resources/scripts/components/list/BaseListItem.vue b/resources/scripts/components/list/BaseListItem.vue index dcd252d0..9624c069 100644 --- a/resources/scripts/components/list/BaseListItem.vue +++ b/resources/scripts/components/list/BaseListItem.vue @@ -34,7 +34,7 @@ export default { }) let containerClass = computed(() => { if (props.active) return `${defaultClass} text-primary-600 bg-primary-50 font-semibold` - else return `${defaultClass} text-gray-600 hover:bg-gray-50 hover:text-gray-900` + else return `${defaultClass} text-body hover:bg-hover hover:text-heading` }) return { hasIconSlot, diff --git a/resources/scripts/components/notifications/NotificationItem.vue b/resources/scripts/components/notifications/NotificationItem.vue index 2cf03de5..21a58615 100644 --- a/resources/scripts/components/notifications/NotificationItem.vue +++ b/resources/scripts/components/notifications/NotificationItem.vue @@ -1,6 +1,6 @@ @@ -62,7 +62,7 @@ {{ @@ -75,7 +75,7 @@ {{ @@ -91,8 +91,8 @@ - + diff --git a/resources/scripts/customer/layouts/partials/TheSiteFooter.vue b/resources/scripts/customer/layouts/partials/TheSiteFooter.vue index 91ab8115..75196e31 100644 --- a/resources/scripts/customer/layouts/partials/TheSiteFooter.vue +++ b/resources/scripts/customer/layouts/partials/TheSiteFooter.vue @@ -12,15 +12,15 @@ pr-8 text-sm font-normal - text-gray-700 - bg-white + text-body + bg-surface " > Powered by Bytefury diff --git a/resources/scripts/customer/layouts/partials/TheSiteHeader.vue b/resources/scripts/customer/layouts/partials/TheSiteHeader.vue index 47717d75..5d92a8fe 100644 --- a/resources/scripts/customer/layouts/partials/TheSiteHeader.vue +++ b/resources/scripts/customer/layouts/partials/TheSiteHeader.vue @@ -2,7 +2,7 @@ @@ -34,7 +34,7 @@ :class="[ hasActiveUrl(item.link) ? 'border-primary-500 text-primary-600' - : 'border-transparent text-gray-500 hover:text-gray-700 hover:border-gray-300', + : 'border-transparent text-muted hover:text-body hover:border-line-strong', 'inline-flex items-center px-1 pt-1 border-b-2 text-sm font-medium', ]" > @@ -46,11 +46,11 @@ {{ $t('navigation.settings') }} @@ -94,7 +94,7 @@ {{ $t('navigation.logout') }} @@ -106,14 +106,14 @@ {{ $t(item.title) }} - + - + {{ globalStore.currentUser.title }} - + {{ globalStore.currentUser.email }} @@ -161,12 +161,12 @@ type="button" class=" ml-auto - bg-white + bg-surface shrink-0 p-1 rounded-full - text-gray-400 - hover:text-gray-500 + text-subtle + hover:text-muted focus:outline-hidden focus:ring-2 focus:ring-offset-2 @@ -182,7 +182,7 @@ :class="[ hasActiveUrl(item.link) ? 'bg-primary-50 border-primary-500 text-primary-700' - : 'border-transparent text-gray-600 hover:bg-gray-50 hover:border-gray-300 hover:text-gray-800', + : 'border-transparent text-body hover:bg-hover hover:border-line-strong hover:text-heading', 'block pl-3 pr-4 py-2 border-l-4 text-base font-medium', ]" >{{ $t(item.title) }} - + diff --git a/resources/scripts/customer/views/auth/ForgotPassword.vue b/resources/scripts/customer/views/auth/ForgotPassword.vue index e4ff913e..2de36f5e 100644 --- a/resources/scripts/customer/views/auth/ForgotPassword.vue +++ b/resources/scripts/customer/views/auth/ForgotPassword.vue @@ -31,7 +31,7 @@ {{ $t('general.back_to_login') }} diff --git a/resources/scripts/customer/views/auth/Login.vue b/resources/scripts/customer/views/auth/Login.vue index 2c1fe2d5..55cba735 100644 --- a/resources/scripts/customer/views/auth/Login.vue +++ b/resources/scripts/customer/views/auth/Login.vue @@ -39,7 +39,7 @@ @@ -48,7 +48,7 @@ {{ $t('login.forgot_password') }} diff --git a/resources/scripts/customer/views/auth/ResetPassword.vue b/resources/scripts/customer/views/auth/ResetPassword.vue index 780c36c2..dd1ca3be 100644 --- a/resources/scripts/customer/views/auth/ResetPassword.vue +++ b/resources/scripts/customer/views/auth/ResetPassword.vue @@ -31,7 +31,7 @@ diff --git a/resources/scripts/customer/views/dashboard/DashboardStatsItem.vue b/resources/scripts/customer/views/dashboard/DashboardStatsItem.vue index a5827484..75574bce 100644 --- a/resources/scripts/customer/views/dashboard/DashboardStatsItem.vue +++ b/resources/scripts/customer/views/dashboard/DashboardStatsItem.vue @@ -6,10 +6,10 @@ flex justify-between p-3 - bg-white + bg-surface rounded shadow - hover:bg-gray-50 + hover:bg-hover xl:p-4 lg:col-span-2 " @@ -17,10 +17,10 @@ :to="route" > - + - + {{ label }} diff --git a/resources/scripts/customer/views/dashboard/DashboardStatsPlaceholder.vue b/resources/scripts/customer/views/dashboard/DashboardStatsPlaceholder.vue index a114818d..e5a99893 100644 --- a/resources/scripts/customer/views/dashboard/DashboardStatsPlaceholder.vue +++ b/resources/scripts/customer/views/dashboard/DashboardStatsPlaceholder.vue @@ -1,7 +1,7 @@ - - + + @@ -119,11 +119,11 @@ - + - + {{ $t('general.view') }} @@ -182,7 +182,7 @@ const estimateColumns = computed(() => { key: 'estimate_date', label: t('estimates.date'), thClass: 'extra', - tdClass: 'font-medium text-gray-900', + tdClass: 'font-medium text-heading', }, { key: 'estimate_number', label: t('estimates.number', 2) }, { key: 'status', label: t('estimates.status') }, diff --git a/resources/scripts/customer/views/estimates/View.vue b/resources/scripts/customer/views/estimates/View.vue index 17b9ad86..68096f61 100644 --- a/resources/scripts/customer/views/estimates/View.vue +++ b/resources/scripts/customer/views/estimates/View.vue @@ -25,7 +25,7 @@ - + @@ -69,7 +69,7 @@ pb-2 mb-2 text-sm - border-b border-gray-200 border-solid + border-b border-line-default border-solid " > {{ $t('general.sort_by') }} @@ -136,7 +136,7 @@ h-full pb-32 overflow-y-scroll - border-l border-gray-200 border-solid + border-l border-line-default border-solid sw-scroll " > @@ -146,9 +146,9 @@ :key="index" :to="`/${globalStore.companySlug}/customer/estimates/${estimate.id}/view`" :class="[ - 'flex justify-between p-4 items-center cursor-pointer hover:bg-gray-100 border-l-4 border-l-transparent', + 'flex justify-between p-4 items-center cursor-pointer hover:bg-hover-strong border-l-4 border-l-transparent', { - 'bg-gray-100 border-l-4 border-l-primary-500 border-solid': + 'bg-surface-tertiary border-l-4 border-l-primary-500 border-solid': hasActiveUrl(estimate.id), }, ]" @@ -162,7 +162,7 @@ not-italic font-medium leading-5 - text-gray-500 + text-muted capitalize " > @@ -182,13 +182,13 @@ not-italic font-semibold leading-8 - text-right text-gray-900 + text-right text-heading block " :amount="estimate.total" :currency="estimate.currency" /> - + {{ estimate.formatted_estimate_date }} @@ -196,7 +196,7 @@ {{ $t('estimates.no_matching_estimates') }} diff --git a/resources/scripts/customer/views/invoices/Index.vue b/resources/scripts/customer/views/invoices/Index.vue index 1a4e28b8..21251e68 100644 --- a/resources/scripts/customer/views/invoices/Index.vue +++ b/resources/scripts/customer/views/invoices/Index.vue @@ -45,8 +45,8 @@ class="px-3 mt-2" > - - + + @@ -126,11 +126,11 @@ - + - + {{ $t('general.view') }} @@ -191,7 +191,7 @@ const itemColumns = computed(() => { key: 'invoice_date', label: t('invoices.date'), thClass: 'extra', - tdClass: 'font-medium text-gray-900', + tdClass: 'font-medium text-heading', }, { key: 'invoice_number', label: t('invoices.number') }, diff --git a/resources/scripts/customer/views/invoices/View.vue b/resources/scripts/customer/views/invoices/View.vue index 985a1242..9833e523 100644 --- a/resources/scripts/customer/views/invoices/View.vue +++ b/resources/scripts/customer/views/invoices/View.vue @@ -31,7 +31,7 @@ -
{{ @@ -75,7 +75,7 @@
{{ @@ -91,8 +91,8 @@ - + diff --git a/resources/scripts/customer/layouts/partials/TheSiteFooter.vue b/resources/scripts/customer/layouts/partials/TheSiteFooter.vue index 91ab8115..75196e31 100644 --- a/resources/scripts/customer/layouts/partials/TheSiteFooter.vue +++ b/resources/scripts/customer/layouts/partials/TheSiteFooter.vue @@ -12,15 +12,15 @@ pr-8 text-sm font-normal - text-gray-700 - bg-white + text-body + bg-surface " > Powered by Bytefury diff --git a/resources/scripts/customer/layouts/partials/TheSiteHeader.vue b/resources/scripts/customer/layouts/partials/TheSiteHeader.vue index 47717d75..5d92a8fe 100644 --- a/resources/scripts/customer/layouts/partials/TheSiteHeader.vue +++ b/resources/scripts/customer/layouts/partials/TheSiteHeader.vue @@ -2,7 +2,7 @@ @@ -34,7 +34,7 @@ :class="[ hasActiveUrl(item.link) ? 'border-primary-500 text-primary-600' - : 'border-transparent text-gray-500 hover:text-gray-700 hover:border-gray-300', + : 'border-transparent text-muted hover:text-body hover:border-line-strong', 'inline-flex items-center px-1 pt-1 border-b-2 text-sm font-medium', ]" > @@ -46,11 +46,11 @@ {{ $t('navigation.settings') }} @@ -94,7 +94,7 @@ {{ $t('navigation.logout') }} @@ -106,14 +106,14 @@ {{ $t(item.title) }} - + - + {{ globalStore.currentUser.title }} - + {{ globalStore.currentUser.email }} @@ -161,12 +161,12 @@ type="button" class=" ml-auto - bg-white + bg-surface shrink-0 p-1 rounded-full - text-gray-400 - hover:text-gray-500 + text-subtle + hover:text-muted focus:outline-hidden focus:ring-2 focus:ring-offset-2 @@ -182,7 +182,7 @@ :class="[ hasActiveUrl(item.link) ? 'bg-primary-50 border-primary-500 text-primary-700' - : 'border-transparent text-gray-600 hover:bg-gray-50 hover:border-gray-300 hover:text-gray-800', + : 'border-transparent text-body hover:bg-hover hover:border-line-strong hover:text-heading', 'block pl-3 pr-4 py-2 border-l-4 text-base font-medium', ]" >{{ $t(item.title) }} - + diff --git a/resources/scripts/customer/views/auth/ForgotPassword.vue b/resources/scripts/customer/views/auth/ForgotPassword.vue index e4ff913e..2de36f5e 100644 --- a/resources/scripts/customer/views/auth/ForgotPassword.vue +++ b/resources/scripts/customer/views/auth/ForgotPassword.vue @@ -31,7 +31,7 @@ {{ $t('general.back_to_login') }} diff --git a/resources/scripts/customer/views/auth/Login.vue b/resources/scripts/customer/views/auth/Login.vue index 2c1fe2d5..55cba735 100644 --- a/resources/scripts/customer/views/auth/Login.vue +++ b/resources/scripts/customer/views/auth/Login.vue @@ -39,7 +39,7 @@ @@ -48,7 +48,7 @@ {{ $t('login.forgot_password') }} diff --git a/resources/scripts/customer/views/auth/ResetPassword.vue b/resources/scripts/customer/views/auth/ResetPassword.vue index 780c36c2..dd1ca3be 100644 --- a/resources/scripts/customer/views/auth/ResetPassword.vue +++ b/resources/scripts/customer/views/auth/ResetPassword.vue @@ -31,7 +31,7 @@ diff --git a/resources/scripts/customer/views/dashboard/DashboardStatsItem.vue b/resources/scripts/customer/views/dashboard/DashboardStatsItem.vue index a5827484..75574bce 100644 --- a/resources/scripts/customer/views/dashboard/DashboardStatsItem.vue +++ b/resources/scripts/customer/views/dashboard/DashboardStatsItem.vue @@ -6,10 +6,10 @@ flex justify-between p-3 - bg-white + bg-surface rounded shadow - hover:bg-gray-50 + hover:bg-hover xl:p-4 lg:col-span-2 " @@ -17,10 +17,10 @@ :to="route" > - + - + {{ label }} diff --git a/resources/scripts/customer/views/dashboard/DashboardStatsPlaceholder.vue b/resources/scripts/customer/views/dashboard/DashboardStatsPlaceholder.vue index a114818d..e5a99893 100644 --- a/resources/scripts/customer/views/dashboard/DashboardStatsPlaceholder.vue +++ b/resources/scripts/customer/views/dashboard/DashboardStatsPlaceholder.vue @@ -1,7 +1,7 @@ - - + + @@ -119,11 +119,11 @@ - + - + {{ $t('general.view') }} @@ -182,7 +182,7 @@ const estimateColumns = computed(() => { key: 'estimate_date', label: t('estimates.date'), thClass: 'extra', - tdClass: 'font-medium text-gray-900', + tdClass: 'font-medium text-heading', }, { key: 'estimate_number', label: t('estimates.number', 2) }, { key: 'status', label: t('estimates.status') }, diff --git a/resources/scripts/customer/views/estimates/View.vue b/resources/scripts/customer/views/estimates/View.vue index 17b9ad86..68096f61 100644 --- a/resources/scripts/customer/views/estimates/View.vue +++ b/resources/scripts/customer/views/estimates/View.vue @@ -25,7 +25,7 @@ - + @@ -69,7 +69,7 @@ pb-2 mb-2 text-sm - border-b border-gray-200 border-solid + border-b border-line-default border-solid " > {{ $t('general.sort_by') }} @@ -136,7 +136,7 @@ h-full pb-32 overflow-y-scroll - border-l border-gray-200 border-solid + border-l border-line-default border-solid sw-scroll " > @@ -146,9 +146,9 @@ :key="index" :to="`/${globalStore.companySlug}/customer/estimates/${estimate.id}/view`" :class="[ - 'flex justify-between p-4 items-center cursor-pointer hover:bg-gray-100 border-l-4 border-l-transparent', + 'flex justify-between p-4 items-center cursor-pointer hover:bg-hover-strong border-l-4 border-l-transparent', { - 'bg-gray-100 border-l-4 border-l-primary-500 border-solid': + 'bg-surface-tertiary border-l-4 border-l-primary-500 border-solid': hasActiveUrl(estimate.id), }, ]" @@ -162,7 +162,7 @@ not-italic font-medium leading-5 - text-gray-500 + text-muted capitalize " > @@ -182,13 +182,13 @@ not-italic font-semibold leading-8 - text-right text-gray-900 + text-right text-heading block " :amount="estimate.total" :currency="estimate.currency" /> - + {{ estimate.formatted_estimate_date }} @@ -196,7 +196,7 @@ {{ $t('estimates.no_matching_estimates') }} diff --git a/resources/scripts/customer/views/invoices/Index.vue b/resources/scripts/customer/views/invoices/Index.vue index 1a4e28b8..21251e68 100644 --- a/resources/scripts/customer/views/invoices/Index.vue +++ b/resources/scripts/customer/views/invoices/Index.vue @@ -45,8 +45,8 @@ class="px-3 mt-2" > - - + + @@ -126,11 +126,11 @@ - + - + {{ $t('general.view') }} @@ -191,7 +191,7 @@ const itemColumns = computed(() => { key: 'invoice_date', label: t('invoices.date'), thClass: 'extra', - tdClass: 'font-medium text-gray-900', + tdClass: 'font-medium text-heading', }, { key: 'invoice_number', label: t('invoices.number') }, diff --git a/resources/scripts/customer/views/invoices/View.vue b/resources/scripts/customer/views/invoices/View.vue index 985a1242..9833e523 100644 --- a/resources/scripts/customer/views/invoices/View.vue +++ b/resources/scripts/customer/views/invoices/View.vue @@ -31,7 +31,7 @@ -