Skip to content

Commit

Permalink
fix remaining label for dark mode
Browse files Browse the repository at this point in the history
  • Loading branch information
yogesh-gohil committed Mar 30, 2023
1 parent 29430cc commit 6740f66
Show file tree
Hide file tree
Showing 10 changed files with 15 additions and 13 deletions.
2 changes: 2 additions & 0 deletions resources/scripts/admin/components/CopyInputField.vue
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
py-2
rounded-lg
bg-opacity-40 bg-gray-300
dark:bg-gray-700 dark:border-gray-600
whitespace-nowrap
flex-col
mt-1
Expand All @@ -19,6 +20,7 @@
text-sm
font-medium
text-black
dark:text-white
truncate
select-all select-color
"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@
<BaseTab :title="$t('customers.portal_access')">
<BaseInputGrid class="col-span-5 lg:col-span-4">
<div class="md:col-span-2">
<p class="text-sm text-gray-500">
<p class="text-sm text-gray-500 dark:text-gray-300">
{{ $t('customers.portal_access_text') }}
</p>

Expand Down
2 changes: 1 addition & 1 deletion resources/scripts/admin/views/customers/Create.vue
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@

<BaseInputGrid class="col-span-5 lg:col-span-4">
<div class="md:col-span-2">
<p class="text-sm text-gray-500">
<p class="text-sm text-gray-500 dark:text-gray-300">
{{ $t('customers.portal_access_text') }}
</p>

Expand Down
6 changes: 3 additions & 3 deletions resources/scripts/admin/views/modules/Index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -53,18 +53,18 @@
</div>
</div>
<div v-else class="mt-24">
<label class="flex items-center justify-center text-gray-500">
<label class="flex items-center justify-center text-gray-500 dark:text-gray-300">
{{ $t('modules.no_modules_installed') }}
</label>
</div>
</div>
</div>

<BaseCard v-else class="mt-6">
<h6 class="text-gray-900 text-lg font-medium">
<h6 class="text-gray-900 text-lg font-medium dark:text-white">
{{ $t('modules.connect_installation') }}
</h6>
<p class="mt-1 text-sm text-gray-500">
<p class="mt-1 text-sm text-gray-500 dark:text-gray-400">
{{
$t('modules.api_token_description', {
url: globalStore.config.base_url.replace(/^http:\/\//, ''),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,11 @@
</div>

<div class="ml-2">
<p class="p-0 mb-1 leading-snug text-left text-black">
<p class="p-0 mb-1 leading-snug text-left text-black dark:text-white">
{{ $t('recurring_invoices.send_automatically') }}
</p>
<p
class="p-0 m-0 text-xs leading-tight text-left text-gray-500"
class="p-0 m-0 text-xs leading-tight text-left text-gray-500 dark:text-gray-400"
style="max-width: 480px"
>
{{ $t('recurring_invoices.send_automatically_desc') }}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
>
<template #cell-name="{ row }">
{{ row.data.name }}
<span class="text-xs text-gray-500"> ({{ row.data.slug }})</span>
<span class="text-xs text-gray-500 dark:text-gray-400"> ({{ row.data.slug }})</span>
</template>

<template #cell-is_required="{ row }">
Expand Down Expand Up @@ -60,7 +60,7 @@
<CustomFieldDropdown
:row="row.data"
:table="table"
:load-data="refreshTable"
:load-data="refreshTable"
/>
</template>
</BaseTable>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -439,7 +439,7 @@ export default {
container:
'p-0 relative mx-auto w-full flex items-center justify-end box-border cursor-pointer border border-gray-200 dark:border-gray-600 rounded-md bg-white dark:bg-gray-700 text-sm leading-snug outline-none max-h-10',
containerDisabled:
'bg-gray-200 bg-opacity-50 !text-gray-400 dark:!text-gray-800 !dark:text-gray-500 !cursor-default dark:opacity-25',
'bg-gray-200 !text-gray-800 dark:!text-gray-800 !dark:text-gray-500 !cursor-not-allowed dark:opacity-50',
containerOpen: '',
containerOpenTop: '',
containerActive: 'ring-1 ring-primary-400 border-primary-400',
Expand Down
2 changes: 1 addition & 1 deletion resources/scripts/components/base/BaseDivider.vue
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
<template>
<hr class="w-full text-gray-300 dark:bg-gray-600" />
<div class="w-full h-px bg-gray-300 dark:bg-gray-600" />
</template>
2 changes: 1 addition & 1 deletion resources/scripts/components/base/BaseInputGroup.vue
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
</label>
<div :class="inputContainerClasses">
<slot></slot>
<span v-if="helpText" class="text-gray-500 text-xs mt-1 font-light">
<span v-if="helpText" class="text-gray-500 text-xs mt-1 font-light dark:text-gray-400">
{{ helpText }}
</span>
<span v-if="error" class="block mt-0.5 text-sm text-red-500">
Expand Down
2 changes: 1 addition & 1 deletion resources/scripts/components/base/BaseRadio.vue
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
]"
aria-hidden="true"
>
<span class="rounded-full bg-white w-1.5 h-1.5" :class="{ 'bg-white': checked }"/>
<span class="rounded-full w-1.5 h-1.5" :class="{ 'bg-white': checked }"/>
</span>
<div class="flex flex-col ml-3">
<RadioGroupLabel
Expand Down

0 comments on commit 6740f66

Please sign in to comment.