Closed YtgmHAdHsvxfjyRYW53Y9kA9JHUKpEaKjkHs8Oy closed 1 year ago
Button now supports high-contrast
and high-contrast-inverse
. These can be used with some extra work
<Button forceTheme={lowContrast ? 'light' : undefined} kind={lowContrast ? 'high-contrast' : 'high-contrast-inverse'} style={this.styles.button} onPress={this.actionCallback} text="Action" />
This has been added to the documentation for the Notification component. This is needed since Theme manager doesn't handle layers like Notification rendering in light mode in Dark theme with its custom colors.
Example:
Drop shadow can be turned on via new prop dropShadow
(Boolean). This is off by default.
In the Gray 10 Theme Mobile-Carbon Design System figma file there is a component called Notification. Design here: https://www.figma.com/file/O3KSDu2TWpMaazGkgsKqLA/(Beta)-Gray-10-Theme-Mobile---Carbon-Design-System?type=design&node-id=1880-5505&t=8njoXVhePM30Alif-4
If there is another way to render these items that we are not aware of please let us know. Thank you