Skip to content

Commit a0d228c

Browse files
committed
style(FR-1825): fix BAIPropertyFilter tooltip text color to white (#4893)
# Change tooltip color from token.colorError to red in BAIPropertyFilter This PR changes the tooltip color in the BAIPropertyFilter component from using the dynamic token.colorError to a static "red" color value. This ensures consistent error indication regardless of the current theme token configuration. **After** Light mode: ![image.png](https://app.graphite.com/user-attachments/assets/979241e5-876c-4573-81d2-cb56187558f7.png) Dark mode: ![image.png](https://app.graphite.com/user-attachments/assets/721404b5-2df9-4476-a1f9-fbe8524c0513.png) **Before** Light mode: ![image.png](https://app.graphite.com/user-attachments/assets/e219135a-8a5d-477c-93e5-ec164a59ad11.png) Dark mode: ![image.png](https://app.graphite.com/user-attachments/assets/6852ef6e-3ebb-4789-91cd-b6bce5d04df0.png) **Checklist:** - [ ] Documentation - [ ] Minium required manager version - [ ] Specific setting for review (eg., KB link, endpoint or how to setup) - [ ] Minimum requirements to check during review - [ ] Test case(s) to demonstrate the difference of before/after
1 parent 7d7dbf1 commit a0d228c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

packages/backend.ai-ui/src/components/BAIPropertyFilter.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -345,7 +345,7 @@ const BAIPropertyFilter: React.FC<BAIPropertyFilterProps> = ({
345345
<Tooltip
346346
title={isValid || !isFocused ? '' : selectedProperty.rule?.message}
347347
open={!isValid && isFocused}
348-
color={token.colorError}
348+
color="red"
349349
>
350350
<AutoComplete
351351
ref={autoCompleteRef}

0 commit comments

Comments
 (0)