-
Notifications
You must be signed in to change notification settings - Fork 254
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
feat(ui5-message-strip): introduce custom colors #8757
Conversation
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.
- Add a sample to the new playground
packages/main/src/themes/sap_fiori_3/MessageStrip-parameters.css
Outdated
Show resolved
Hide resolved
packages/main/src/themes/sap_fiori_3_dark/MessageStrip-parameters.css
Outdated
Show resolved
Hide resolved
packages/main/src/themes/sap_horizon_dark/MessageStrip-parameters.css
Outdated
Show resolved
Hide resolved
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.
Regarding the commit message - maybe custom messages is not the best description. The customisation is actually only visual. Maybe something like
With the following enhancement, the end user will be able to message strips with custom colors, from a predefined set of colors.
Done |
With the following enhancement, the end user will be able to create message strips with custom colors from a predefined set of colors. That is achieved enhancing the
design
property enumMessageStripDesign
with two new optionsColorSet1
andColorSet2
as well as the newly introduced propertycolorScheme
.Setting the
design
property value toColorSet1
orColorSet2
, then you are able to choose between 10 different colors for each usingcolorScheme
property with values from "1" to "10".