Skip to content

Commit

Permalink
style: change EndpointLLMChatCard close button color (#2613)
Browse files Browse the repository at this point in the history
Updated the style of the Button component in EndpointLLMChatCard to use token.colorIcon instead of token.colorBgMask for the icon color, ensuring consistency with design tokens.

### Screenshot

![image.png](https://graphite-user-uploaded-assets-prod.s3.amazonaws.com/2HueYSdFvL8pOB5mgrUQ/7ae74ade-e891-4348-86df-2b073eb19fde.png)

![image.png](https://graphite-user-uploaded-assets-prod.s3.amazonaws.com/2HueYSdFvL8pOB5mgrUQ/ab1799fa-d390-4a2b-95c5-c2d5757bf685.png)

**Checklist:** (if applicable)

- [ ] Mention to the original issue
- [ ] 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
  • Loading branch information
agatha197 committed Aug 7, 2024
1 parent 1206203 commit e0b3ef1
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ const EndpointLLMChatCard: React.FC<EndpointLLMChatCardProps> = ({
<Button
icon={<CloseOutlined />}
type="text"
style={{ color: token.colorBgMask }}
style={{ color: token.colorIcon }}
/>
</Popconfirm>
) : undefined
Expand Down

0 comments on commit e0b3ef1

Please sign in to comment.