-
-
Notifications
You must be signed in to change notification settings - Fork 51k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feature: add itemSelectedFontColor token in Segemented Component #44570
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
|
The latest updates on your projects. Learn more about Argos notifications ↗︎
|
Codecov ReportPatch and project coverage have no change.
Additional details and impacted files@@ Coverage Diff @@
## feature #44570 +/- ##
=========================================
Coverage 100.00% 100.00%
=========================================
Files 678 678
Lines 11425 11429 +4
Branches 3078 3080 +2
=========================================
+ Hits 11425 11429 +4 ☔ View full report in Codecov by Sentry. |
afc163
reviewed
Sep 1, 2023
MadCcc
reviewed
Sep 1, 2023
MadCcc
reviewed
Sep 4, 2023
MadCcc
reviewed
Sep 4, 2023
MadCcc
reviewed
Sep 4, 2023
Signed-off-by: MadCcc <[email protected]>
MadCcc
approved these changes
Sep 4, 2023
20 tasks
This was referenced Oct 9, 2023
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
[中文版模板 / Chinese template]
🤔 This is a ...
🔗 Related issue link
close #44513
💡 Background and solution
📝 Changelog
itemSelectedColor
token in Segemented ComponentitemSelectedColor
的组件 Token☑️ Self-Check before Merge
🚀 Summary
🤖 Generated by Copilot at 5318af6
This pull request enhances the segmented component by adding a new style property
itemSelectedFontColor
that can be used to customize the text color of the selected item. It also updates the style file and the demo file to demonstrate this feature.🔍 Walkthrough
🤖 Generated by Copilot at 5318af6
itemSelectedFontColor
to the custom token of the segmented component to customize the text color of the selected item (link, link, link)itemSelectedFontColor
instead of the existing propertyitemHoverColor
for the color of the selected item in thegenSegmentedStyle
function incomponents/segmented/style/index.tsx
(link)genSegmentedStyle
function for debugging purposes (link)