Skip to content

Commit

Permalink
WJ-125 - New: Input autofill color;
Browse files Browse the repository at this point in the history
WJ-125 - Update: Forms error message color;
  • Loading branch information
Lucas Teixeira committed Nov 17, 2020
1 parent ee9134e commit fd856c5
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
5 changes: 5 additions & 0 deletions src/components/Input/styles.ts
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,11 @@ export const Container = styled.div<ContainerProps>`
&::placeholder {
color: ${Color.Text};
}
&:-webkit-autofill {
box-shadow: 0 0 0 30px ${Color.FillSecondary} inset;
-webkit-text-fill-color: ${Color.Text};
}
}
svg {
Expand Down
2 changes: 1 addition & 1 deletion src/pages/Login/styles.ts
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ export const LoginHeader = styled.h1`

export const ErrorMessage = styled.p`
margin: ${Size.Default} 0;
color: ${Color.Secondary};
color: ${Color.Error};
font-size: ${Size.Small};
`;

Expand Down
2 changes: 1 addition & 1 deletion src/pages/Signup/styles.ts
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ export const SignupHeader = styled.h1`

export const ErrorMessage = styled.p`
margin: ${Size.Default} 0;
color: ${Color.Secondary};
color: ${Color.Error};
font-size: ${Size.Small};
`;

Expand Down

0 comments on commit fd856c5

Please sign in to comment.