Skip to content

Commit 880c363

Browse files
committed
fix light mode text color in some 2fa and auth views
1 parent 8e6d1ab commit 880c363

File tree

6 files changed

+8
-8
lines changed

6 files changed

+8
-8
lines changed

resources/js/Pages/Auth/TwoFactorChallenge.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ const submit = () => {
8787
<div class="flex items-center justify-end mt-4">
8888
<button
8989
type="button"
90-
class="text-sm text-muted hover:text-gray-900 underline cursor-pointer"
90+
class="text-sm text-muted hover:text-text-primary underline cursor-pointer"
9191
@click.prevent="toggleRecovery">
9292
<template v-if="!recovery"> Use a recovery code</template>
9393

resources/js/Pages/Auth/VerifyEmail.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ const verificationLinkSent = computed(
5353
:href="route('logout')"
5454
method="post"
5555
as="button"
56-
class="underline text-sm text-muted hover:text-gray-100 rounded-md focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-indigo-500 dark:focus:ring-offset-gray-800 ms-2">
56+
class="underline text-sm text-muted hover:text-text-secondary rounded-md focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-indigo-500 dark:focus:ring-offset-gray-800 ms-2">
5757
Log Out
5858
</Link>
5959
</div>

resources/js/Pages/PrivacyPolicy.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ defineProps({
1010
<template>
1111
<Head title="Privacy Policy" />
1212

13-
<div class="font-sans text-gray-100 antialiased">
13+
<div class="font-sans text-text-secondary antialiased">
1414
<div class="pt-4 bg-gray-900">
1515
<div class="min-h-screen flex flex-col items-center pt-6 sm:pt-0">
1616
<div>

resources/js/Pages/Profile/Partials/TwoFactorAuthenticationForm.vue

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -127,13 +127,13 @@ const disableTwoFactorAuthentication = () => {
127127
<template #content>
128128
<h3
129129
v-if="twoFactorEnabled && !confirming"
130-
class="text-lg font-medium text-gray-100">
130+
class="text-lg font-medium text-text-secondary">
131131
You have enabled two factor authentication.
132132
</h3>
133133

134134
<h3
135135
v-else-if="twoFactorEnabled && confirming"
136-
class="text-lg font-medium text-gray-100">
136+
class="text-lg font-medium text-text-secondary">
137137
Finish enabling two factor authentication.
138138
</h3>
139139

@@ -210,7 +210,7 @@ const disableTwoFactorAuthentication = () => {
210210
</div>
211211

212212
<div
213-
class="grid gap-1 max-w-xl mt-4 px-4 py-4 font-mono text-sm bg-input-background text-gray-100 rounded-lg">
213+
class="grid gap-1 max-w-xl mt-4 px-4 py-4 font-mono text-sm bg-input-background text-text-secondary rounded-lg">
214214
<div v-for="code in recoveryCodes" :key="code">
215215
{{ code }}
216216
</div>

resources/js/Pages/Profile/Partials/UpdateProfileInformationForm.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -185,7 +185,7 @@ const page = usePage<{
185185
:href="route('verification.send')"
186186
method="post"
187187
as="button"
188-
class="underline text-sm text-muted hover:text-gray-100 rounded-md focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-indigo-500 dark:focus:ring-offset-gray-800"
188+
class="underline text-sm text-muted hover:text-text-secondary rounded-md focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-indigo-500 dark:focus:ring-offset-gray-800"
189189
@click.prevent="sendEmailVerification">
190190
Click here to re-send the verification email.
191191
</Link>

resources/js/Pages/TermsOfService.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ defineProps({
1010
<template>
1111
<Head title="Terms of Service" />
1212

13-
<div class="font-sans text-gray-100 antialiased">
13+
<div class="font-sans text-text-secondary antialiased">
1414
<div class="pt-4 bg-gray-900">
1515
<div class="min-h-screen flex flex-col items-center pt-6 sm:pt-0">
1616
<div>

0 commit comments

Comments
 (0)