-
Notifications
You must be signed in to change notification settings - Fork 106
feat(ui-file-drop): migrate to new theming system #2309
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
base: v12
Are you sure you want to change the base?
Conversation
| fileDropLabelContent: { | ||
| label: 'fileDrop__labelContent', | ||
| display: 'block', | ||
| backgroundColor: componentTheme.backgroundColor, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is a new token. View has to be migrated to the new theming system first so all of the docs examples will be working fine in dark themes (View is assigned to renderLabel that hides the original background).
|
adamlobler
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Everything looks good. I just want Dorka to check it visually to confirm whether the token values are okay as they are or if we need to update them, because right now the hover states aren’t visible at all. I can see a small difference in the border color, but it’s hard to notice.
| state: FileDropStyleProps | ||
| componentTheme: NewComponentTypes['FileDrop'], | ||
| params: StyleParams, | ||
| _sharedTokens: SharedTokens |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nitpick: i think this param can just be omitted if not used
INSTUI-4793
ISSUE:
FileDrop is migrated to the new theming system
TEST PLAN: