Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(popup): make disabled inputs make look more disabled #686

Merged
merged 2 commits into from
Oct 23, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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