Skip to content

Commit

Permalink
fix: change input error styles to border and text
Browse files Browse the repository at this point in the history
  • Loading branch information
gravitano committed May 10, 2022
1 parent 9fda593 commit 9d4b02a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/utils/classes.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ export const inputDisabledClasses =
export const inputClasses =
'border shadow-sm rounded-md text-gray-800 ' + inputDisabledClasses;

export const inputErrorClasses = `border-error-500 placeholder-error-500 text-error-500
export const inputErrorClasses = `border-error-500 text-error-500
focus-visible:ring-error-500/30 focus-visible:border-error-500 ring-error-500 focus:border-error-500 focus:ring-error-500`;

export const useInputClasses = (error = false) => {
Expand Down

0 comments on commit 9d4b02a

Please sign in to comment.