Skip to content

Commit 995efb3

Browse files
2.1.0
1 parent 413b4cd commit 995efb3

16 files changed

+30
-26
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# CHANGELOG.md
22

3+
## [2.1.0] - 2023-06-23
4+
5+
- Account settings page fixes
6+
37
## [2.0.0] - 2023-06-01
48

59
- Dark version added

resources/views/api/api-token-manager.blade.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
@foreach (Laravel\Jetstream\Jetstream::$permissions as $permission)
2727
<label class="flex items-center">
2828
<x-jet-checkbox wire:model.defer="createApiTokenForm.permissions" :value="$permission"/>
29-
<span class="ml-2 text-sm text-slate-600">{{ $permission }}</span>
29+
<span class="ml-2 text-sm text-slate-600 dark:text-slate-400">{{ $permission }}</span>
3030
</label>
3131
@endforeach
3232
</div>
@@ -129,7 +129,7 @@ class="mt-4 bg-slate-100 px-4 py-2 rounded font-mono text-sm text-slate-500 w-fu
129129
@foreach (Laravel\Jetstream\Jetstream::$permissions as $permission)
130130
<label class="flex items-center">
131131
<x-jet-checkbox wire:model.defer="updateApiTokenForm.permissions" :value="$permission"/>
132-
<span class="ml-2 text-sm text-slate-600">{{ $permission }}</span>
132+
<span class="ml-2 text-sm text-slate-600 dark:text-slate-400">{{ $permission }}</span>
133133
</label>
134134
@endforeach
135135
</div>

resources/views/profile/delete-user-form.blade.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
</x-slot>
99

1010
<x-slot name="content">
11-
<div class="max-w-xl text-sm text-slate-600">
11+
<div class="max-w-xl text-sm text-slate-600 dark:text-slate-400">
1212
{{ __('Once your account is deleted, all of its resources and data will be permanently deleted. Before deleting your account, please download any data or information that you wish to retain.') }}
1313
</div>
1414

resources/views/profile/logout-other-browser-sessions-form.blade.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
</x-slot>
99

1010
<x-slot name="content">
11-
<div class="max-w-xl text-sm text-slate-600">
11+
<div class="max-w-xl text-sm text-slate-600 dark:text-slate-400">
1212
{{ __('If necessary, you may log out of all of your other browser sessions across all of your devices. Some of your recent sessions are listed below; however, this list may not be exhaustive. If you feel your account has been compromised, you should also update your password.') }}
1313
</div>
1414

@@ -30,7 +30,7 @@
3030
</div>
3131

3232
<div class="ml-3">
33-
<div class="text-sm text-slate-600">
33+
<div class="text-sm text-slate-600 dark:text-slate-400">
3434
{{ $session->agent->platform() ? $session->agent->platform() : 'Unknown' }} - {{ $session->agent->browser() ? $session->agent->browser() : 'Unknown' }}
3535
</div>
3636

resources/views/profile/two-factor-authentication-form.blade.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,23 +8,23 @@
88
</x-slot>
99

1010
<x-slot name="content">
11-
<h3 class="text-lg font-medium text-slate-900">
11+
<h3 class="text-lg font-medium text-slate-900 dark:text-slate-100">
1212
@if ($this->enabled)
1313
{{ __('You have enabled two factor authentication.') }}
1414
@else
1515
{{ __('You have not enabled two factor authentication.') }}
1616
@endif
1717
</h3>
1818

19-
<div class="mt-3 max-w-xl text-sm text-slate-600">
19+
<div class="mt-3 max-w-xl text-sm text-slate-600 dark:text-slate-400">
2020
<p>
2121
{{ __('When two factor authentication is enabled, you will be prompted for a secure, random token during authentication. You may retrieve this token from your phone\'s Google Authenticator application.') }}
2222
</p>
2323
</div>
2424

2525
@if ($this->enabled)
2626
@if ($showingQrCode)
27-
<div class="mt-4 max-w-xl text-sm text-slate-600">
27+
<div class="mt-4 max-w-xl text-sm text-slate-600 dark:text-slate-400">
2828
<p class="font-semibold">
2929
{{ __('Two factor authentication is now enabled. Scan the following QR code using your phone\'s authenticator application.') }}
3030
</p>
@@ -36,7 +36,7 @@
3636
@endif
3737

3838
@if ($showingRecoveryCodes)
39-
<div class="mt-4 max-w-xl text-sm text-slate-600">
39+
<div class="mt-4 max-w-xl text-sm text-slate-600 dark:text-slate-400">
4040
<p class="font-semibold">
4141
{{ __('Store these recovery codes in a secure password manager. They can be used to recover access to your account if your two factor authentication device is lost.') }}
4242
</p>

resources/views/vendor/jetstream/components/action-message.blade.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,6 @@
55
x-show.transition.out.opacity.duration.1500ms="shown"
66
x-transition:leave.opacity.duration.1500ms
77
style="display: none;"
8-
{{ $attributes->merge(['class' => 'text-sm text-slate-600']) }}>
8+
{{ $attributes->merge(['class' => 'text-sm text-slate-600 dark:text-slate-400']) }}>
99
{{ $slot->isEmpty() ? 'Saved.' : $slot }}
1010
</div>

resources/views/vendor/jetstream/components/action-section.blade.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
</x-jet-section-title>
66

77
<div class="mt-5 md:mt-0 md:col-span-2">
8-
<div class="px-4 py-5 sm:p-6 bg-white shadow sm:rounded-lg">
8+
<div class="px-4 py-5 sm:p-6 bg-white dark:bg-slate-800 shadow sm:rounded-lg">
99
{{ $content }}
1010
</div>
1111
</div>

resources/views/vendor/jetstream/components/confirmation-modal.blade.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
@props(['id' => null, 'maxWidth' => null])
22

33
<x-jet-modal :id="$id" :maxWidth="$maxWidth" {{ $attributes }}>
4-
<div class="bg-white px-4 pt-5 pb-4 sm:p-6 sm:pb-4">
4+
<div class="bg-white dark:bg-slate-800 px-4 pt-5 pb-4 sm:p-6 sm:pb-4">
55
<div class="sm:flex sm:items-start">
66
<div class="mx-auto shrink-0 flex items-center justify-center h-12 w-12 rounded-full bg-red-100 sm:mx-0 sm:h-10 sm:w-10">
77
<svg class="h-6 w-6 text-red-600" stroke="currentColor" fill="none" viewBox="0 0 24 24">
@@ -10,7 +10,7 @@
1010
</div>
1111

1212
<div class="mt-3 text-center sm:mt-0 sm:ml-4 sm:text-left">
13-
<h3 class="text-lg">
13+
<h3 class="text-lg font-medium text-slate-900 dark:text-slate-100">
1414
{{ $title }}
1515
</h3>
1616

@@ -21,7 +21,7 @@
2121
</div>
2222
</div>
2323

24-
<div class="flex flex-row justify-end px-6 py-4 bg-slate-100 text-right">
24+
<div class="flex flex-row justify-end px-6 py-4 bg-slate-100 dark:bg-slate-900/20 text-right">
2525
{{ $footer }}
2626
</div>
2727
</x-jet-modal>

resources/views/vendor/jetstream/components/dialog-modal.blade.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
<x-jet-modal :id="$id" :maxWidth="$maxWidth" {{ $attributes }}>
44
<div class="px-6 py-4">
5-
<div class="text-lg">
5+
<div class="text-lg font-medium text-slate-900 dark:text-slate-100">
66
{{ $title }}
77
</div>
88

@@ -11,7 +11,7 @@
1111
</div>
1212
</div>
1313

14-
<div class="flex flex-row justify-end px-6 py-4 bg-slate-100 text-right">
14+
<div class="flex flex-row justify-end px-6 py-4 bg-slate-100 dark:bg-slate-900/20 text-right">
1515
{{ $footer }}
1616
</div>
1717
</x-jet-modal>

resources/views/vendor/jetstream/components/form-section.blade.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,14 +8,14 @@
88

99
<div class="mt-5 md:mt-0 md:col-span-2">
1010
<form wire:submit.prevent="{{ $submit }}">
11-
<div class="px-4 py-5 bg-white sm:p-6 shadow {{ isset($actions) ? 'sm:rounded-tl-md sm:rounded-tr-md' : 'sm:rounded-md' }}">
11+
<div class="px-4 py-5 bg-white dark:bg-slate-800 sm:p-6 shadow {{ isset($actions) ? 'sm:rounded-tl-md sm:rounded-tr-md' : 'sm:rounded-md' }}">
1212
<div class="grid grid-cols-6 gap-6">
1313
{{ $form }}
1414
</div>
1515
</div>
1616

1717
@if (isset($actions))
18-
<div class="flex items-center justify-end px-4 py-3 bg-slate-50 text-right sm:px-6 shadow sm:rounded-bl-md sm:rounded-br-md">
18+
<div class="flex items-center justify-end px-4 py-3 bg-slate-50 dark:bg-slate-700/20 text-right sm:px-6 shadow sm:rounded-bl-md sm:rounded-br-md">
1919
{{ $actions }}
2020
</div>
2121
@endif

0 commit comments

Comments
 (0)