Skip to content

Commit

Permalink
fix(popup): make disabled inputs make look more disabled
Browse files Browse the repository at this point in the history
  • Loading branch information
sidvishnoi committed Oct 23, 2024
1 parent ea1e81a commit 953c363
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src/pages/progress-connect/index.css
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
--text-medium: 51 65 85;
--text-strong: 15 23 42;
--text-error: 239 68 68;
--text-disabled: 148 163 184;
--text-disabled: 168 174 184;

/* Background colors */
--bg-primary: 59 130 246;
Expand Down
2 changes: 1 addition & 1 deletion src/popup/components/ui/Code.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ export const Code = ({ value, className, ...props }: CodeProps) => {
return (
<div
className={cn(
'flex items-center justify-between break-all rounded-xl bg-disabled px-4 py-4 text-sm text-medium',
'flex items-center justify-between break-all rounded-xl bg-disabled px-4 py-4 text-sm text-disabled',
className,
)}
{...props}
Expand Down
4 changes: 2 additions & 2 deletions src/popup/components/ui/Input.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,10 @@ const inputVariants = cva(
default: 'border-base',
},
disabled: {
true: 'border-transparent bg-disabled',
true: 'border-transparent bg-disabled text-disabled',
},
readOnly: {
true: 'border-transparent bg-disabled',
true: 'border-transparent bg-disabled text-disabled',
},
},
defaultVariants: {
Expand Down
2 changes: 1 addition & 1 deletion src/popup/index.css
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
--text-medium: 51 65 85;
--text-strong: 15 23 42;
--text-error: 239 68 68;
--text-disabled: 148 163 184;
--text-disabled: 168 174 184;

/* Background colors */
--bg-primary: 59 130 246;
Expand Down

0 comments on commit 953c363

Please sign in to comment.