Skip to content

Commit

Permalink
perf: update input component solid variant style.
Browse files Browse the repository at this point in the history
  • Loading branch information
riccox committed Jun 12, 2023
1 parent 4bc56af commit 1245c04
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions packages/tailwind/src/style/components/input.css
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,8 @@
/* solid */
.input.solid {
--tw-bg-opacity: 1;
background-color: rgba(var(--sira-color-400), var(--tw-bg-opacity));
background-color: rgba(var(--sira-color-100), var(--tw-bg-opacity));
border-color: rgba(var(--sira-color-600), var(--tw-border-opacity));
}
.input.solid::selection,
.input.solid *::selection {
Expand All @@ -42,8 +43,7 @@
}

.input.solid:not(:hover, :focus) {
--tw-border-opacity: 0;
border-color: transparent;
--tw-border-opacity: 0.3;
}

/* Size */
Expand Down

1 comment on commit 1245c04

@vercel
Copy link

@vercel vercel bot commented on 1245c04 Jun 12, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.