Skip to content
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

Merged
merged 5 commits into from
Apr 16, 2024
Merged

Conversation

niyap
Copy link
Contributor

@niyap niyap commented Apr 15, 2024

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 enum MessageStripDesign with two new options ColorSet1 and ColorSet2 as well as the newly introduced property colorScheme.
Setting the design property value to ColorSet1 or ColorSet2, then you are able to choose between 10 different colors for each using colorScheme property with values from "1" to "10".

Copy link
Contributor

@elenastoyanovaa elenastoyanovaa left a 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

Copy link
Contributor

@elenastoyanovaa elenastoyanovaa left a 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.

@niyap niyap changed the title feat(ui5-message-strip): introduce custom messages feat(ui5-message-strip): introduce custom colors Apr 15, 2024
@niyap
Copy link
Contributor Author

niyap commented Apr 16, 2024

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

@niyap niyap added 2.0 enhancement New feature or request labels Apr 16, 2024
@niyap niyap merged commit d30f424 into main Apr 16, 2024
9 checks passed
@niyap niyap deleted the msgstripcustomcolors branch April 16, 2024 12:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
2.0 enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants