Skip to content

Commit 9e1a78d

Browse files
committed
fix: Improve enterprise login form text on dark mode
1 parent b44e994 commit 9e1a78d

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

src/components/fields/FieldInput.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ export class FieldInput extends React.PureComponent<IProps> {
3232

3333
<input
3434
type="text"
35-
className="appearance-none block w-full bg-gray-100 border border-red rounded py-2 px-4 mb-2 focus:bg-gray-200 focus:outline-none"
35+
className="appearance-none block w-full dark:text-gray-800 bg-gray-100 border border-red rounded py-2 px-4 mb-2 focus:bg-gray-200 focus:outline-none"
3636
id={input.name}
3737
placeholder={placeholder}
3838
{...input}

src/routes/__snapshots__/LoginEnterprise.test.tsx.snap

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ exports[`routes/LoginEnterprise.js renders correctly 1`] = `
5656
Hostname
5757
</label>
5858
<input
59-
className="appearance-none block w-full bg-gray-100 border border-red rounded py-2 px-4 mb-2 focus:bg-gray-200 focus:outline-none"
59+
className="appearance-none block w-full dark:text-gray-800 bg-gray-100 border border-red rounded py-2 px-4 mb-2 focus:bg-gray-200 focus:outline-none"
6060
id="hostname"
6161
name="hostname"
6262
onBlur={[Function]}
@@ -77,7 +77,7 @@ exports[`routes/LoginEnterprise.js renders correctly 1`] = `
7777
Client ID
7878
</label>
7979
<input
80-
className="appearance-none block w-full bg-gray-100 border border-red rounded py-2 px-4 mb-2 focus:bg-gray-200 focus:outline-none"
80+
className="appearance-none block w-full dark:text-gray-800 bg-gray-100 border border-red rounded py-2 px-4 mb-2 focus:bg-gray-200 focus:outline-none"
8181
id="clientId"
8282
name="clientId"
8383
onBlur={[Function]}
@@ -98,7 +98,7 @@ exports[`routes/LoginEnterprise.js renders correctly 1`] = `
9898
Client Secret
9999
</label>
100100
<input
101-
className="appearance-none block w-full bg-gray-100 border border-red rounded py-2 px-4 mb-2 focus:bg-gray-200 focus:outline-none"
101+
className="appearance-none block w-full dark:text-gray-800 bg-gray-100 border border-red rounded py-2 px-4 mb-2 focus:bg-gray-200 focus:outline-none"
102102
id="clientSecret"
103103
name="clientSecret"
104104
onBlur={[Function]}

0 commit comments

Comments
 (0)