Skip to content
Open
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
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
## Changelog

## HEAD

- [fix] Update warning text from `color-orange-deep` to `color-orange-dark` to match conventions in Studio.

## 2.24.0

- [feature] Add optional `children` prop to `ControlSelect`. When provided, the native select is hidden and positioned absolutely over the children, which are rendered as a custom display with pointer-events disabled.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -266,7 +266,7 @@ exports[`Popover warning renders 1`] = `
style="position: fixed; left: 0px; top: 0px; transform: translate(-6px, 0px); min-width: max-content; --radix-popper-transform-origin: 0px 0px; z-index: auto; --radix-popper-available-width: -16px; --radix-popper-available-height: 0px; --radix-popper-anchor-width: 0px; --radix-popper-anchor-height: 0px;"
>
<div
class="bg-orange-faint border--orange-deep color-orange-deep border shadow-darken25 round px12 py12 border border-1 border--border--orange-deep"
class="bg-orange-faint border--orange-deep color-orange-dark border shadow-darken25 round px12 py12 border border-1 border--border--orange-deep"
data-align="center"
data-side="left"
data-state="open"
Expand Down
2 changes: 1 addition & 1 deletion src/components/utils/styles.ts
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ function getTheme(theme?: 'dark' | 'warning' | 'error' | 'light') {
return {
background: 'bg-orange-faint',
borderColor: 'border--orange-deep',
color: 'color-orange-deep',
color: 'color-orange-dark',
fill: variables['--orange-deep'],
shadowColor: variables['--darken25']
};
Expand Down
Loading