Skip to content

Commit 26480a0

Browse files
authored
Merge pull request #465 from manosim/fix/form-text-enterprise
fix: Improve enterprise login form text on dark mode
2 parents b00ad8a + 9e1a78d commit 26480a0

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

.github/workflows/build-app.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name: Build App
22

3-
on: [push, pull_request]
3+
on: [push]
44

55
jobs:
66
build-macos:

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)