Skip to content

Commit

Permalink
add border
Browse files Browse the repository at this point in the history
  • Loading branch information
claviska committed Sep 29, 2021
1 parent 9123afa commit 0ef4e92
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions docs/resources/changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ _During the beta period, these restrictions may be relaxed in the event of a mis
- Added the `outline` variation to `<sl-button>` [#522](https://github.com/shoelace-style/shoelace/issues/522)
- Added the `filled` variation to `<sl-input>`, `<sl-textarea>`, and `<sl-select>` and supporting design tokens
- Added the `control` part to `<sl-select>` so you can target the main control with CSS [#538](https://github.com/shoelace-style/shoelace/issues/538)
- Added a border to `<sl-badge>` to improve contrast when drawn on various background colors
- Changed the default `distance` in `<sl-dropdown>` from `2` to `0` [#538](https://github.com/shoelace-style/shoelace/issues/538)
- Fixed a bug where `<sl-select>` would be larger than the viewport when it had lots of options [#544](https://github.com/shoelace-style/shoelace/issues/544)

Expand Down
1 change: 1 addition & 0 deletions src/components/badge/badge.styles.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ export default css`
letter-spacing: var(--sl-letter-spacing-normal);
line-height: 1;
border-radius: var(--sl-border-radius-small);
border: solid 1px rgb(var(--sl-color-neutral-0));
white-space: nowrap;
padding: 3px 6px;
user-select: none;
Expand Down

0 comments on commit 0ef4e92

Please sign in to comment.