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

[AAE-6057] Customize text color in the header #7325

Merged
merged 7 commits into from
Oct 29, 2021

Conversation

BSekula
Copy link
Contributor

@BSekula BSekula commented Oct 27, 2021

Please check if the PR fulfills these requirements

  • The commit message follows our guidelines
  • Tests for the changes have been added (for bug fixes / features)
  • Docs have been added / updated (for bug fixes / features)

What kind of change does this PR introduce? (check one with "x")

  • Bugfix
  • Feature
  • Code style update (formatting, local variables)
  • Refactoring (no functional changes, no api changes)
  • Build related changes
  • Documentation
  • Other... Please describe:

What is the current behaviour? (You can also link to an open issue here)
https://alfresco.atlassian.net/browse/AAE-6057

What is the new behaviour?
adf-layout-header can consume new argument for changing text color

Does this PR introduce a breaking change? (check one with "x")

  • Yes
  • No

If this PR contains a breaking change, please describe the impact and migration path for existing applications: ...

Other information:

@CLAassistant
Copy link

CLAassistant commented Oct 27, 2021

CLA assistant check
All committers have signed the CLA.

@BSekula BSekula force-pushed the dev-bsekula-AAE-6057-header-text-color branch from 9eae745 to 05736d5 Compare October 27, 2021 10:24
/**
* Text color for the header. Should be hex color code
*/
@Input() textColor: string;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can you be sure the doc get rebuilded as well using the command npm run docbuild

Copy link
Contributor Author

@BSekula BSekula Oct 27, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Added documentation

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't like this solution, in my opinion all the font/color changes should be driven by the adf palette. What's the plan to pollute every component like CardView/Navigation Bar/Breadcrumbs with additional options to change the color/font/size?

Copy link
Contributor Author

@BSekula BSekula Oct 28, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Updated as discussed

@BSekula BSekula merged commit b3140b6 into develop Oct 29, 2021
@BSekula BSekula deleted the dev-bsekula-AAE-6057-header-text-color branch October 29, 2021 06:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants