Skip to content

Commit

Permalink
feat: input-bordered, select-bordered, textarea-bordered are no…
Browse files Browse the repository at this point in the history
…w using `base-200` for border coloe instead of `base-content/20`

This creates a better color match when we use a button next to a bordered input
  • Loading branch information
saadeghi committed Jun 11, 2023
1 parent 10f5976 commit 0f5df66
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/components/styled/file-input.css
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
text-transform: var(--btn-text-case, uppercase);
}
&-bordered {
@apply border-opacity-20;
@apply border-base-200;
}
&:focus {
@apply outline outline-2 outline-offset-2 outline-base-content/20;
Expand Down
2 changes: 1 addition & 1 deletion src/components/styled/input.css
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
line-height: 1em;
}
&-bordered {
@apply border-opacity-20;
@apply border-base-200;
}
&:focus {
@apply outline outline-2 outline-offset-2 outline-base-content/20;
Expand Down
2 changes: 1 addition & 1 deletion src/components/styled/select.css
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
.select {
@apply border border-base-content border-opacity-0 bg-base-100 pr-10 font-semibold rounded-btn;
&-bordered {
@apply border-opacity-20;
@apply border-base-200;
}
background-image: linear-gradient(45deg, transparent 50%, currentColor 50%),
linear-gradient(135deg, currentColor 50%, transparent 50%);
Expand Down
2 changes: 1 addition & 1 deletion src/components/styled/textarea.css
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
.textarea {
@apply border border-base-content border-opacity-0 bg-base-100 rounded-btn;
&-bordered {
@apply border-opacity-20;
@apply border-base-200;
}
&:focus {
@apply outline outline-2 outline-offset-2 outline-base-content/20;
Expand Down

2 comments on commit 0f5df66

@PizzaConsole
Copy link

@PizzaConsole PizzaConsole commented on 0f5df66 Jun 26, 2023

Choose a reason for hiding this comment

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

likely cause of #2055 @saadeghi

@saadeghi
Copy link
Owner Author

Choose a reason for hiding this comment

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

Thank you. I'm working on it

Please sign in to comment.