Skip to content

Commit

Permalink
fix: decrease ring opacity
Browse files Browse the repository at this point in the history
  • Loading branch information
gravitano committed May 9, 2022
1 parent cf7dc7f commit da0b5fd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/utils/classes.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ 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 focus-visible:ring-error-500 focus-visible:border-error-500 ring-error-500 focus:border-error-500 focus:ring-error-500';
export const inputErrorClasses = `border-error-500 placeholder-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) => {
let className = [
Expand Down

0 comments on commit da0b5fd

Please sign in to comment.