Skip to content

Commit

Permalink
added corner radius for DateInput in theme next
Browse files Browse the repository at this point in the history
  • Loading branch information
ThusharaJ07 authored and joshwooding committed Jul 16, 2024
1 parent 798d196 commit 88c863f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .changeset/bordered-datepicker.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,9 @@

Added bordered prop for `DateInput` component.

Added examples for bordered style variant for DateInput and DatePicker
Added examples for bordered style variant for DateInput and DatePicker.

Added corner radius support for `DateInput` component in theme next.

```
<DatePicker bordered />
Expand Down
2 changes: 2 additions & 0 deletions packages/lab/src/date-input/DateInput.css
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
align-items: center;
background: var(--saltDateInput-background, var(--input-background));
border: var(--input-border);
border-radius: var(--salt-palette-corner-weak, 0);
color: var(--saltDateInput-color, var(--salt-content-primary-foreground));
display: inline-flex;
gap: var(--salt-spacing-50);
Expand All @@ -23,6 +24,7 @@
position: relative;
width: 100%;
box-sizing: border-box;
overflow: hidden;
}

.saltDateInput:hover {
Expand Down

0 comments on commit 88c863f

Please sign in to comment.