patternlab-node icon indicating copy to clipboard operation
patternlab-node copied to clipboard

[QUESTION] Setting and customization PatternLab

Open zvitek opened this issue 3 years ago • 4 comments

Hello, I'm a new in PatternLab and I would like to ask for some questions because it's not possible to find it in documentation.

I would like to know if it's possible:

  1. Hide HBS tab in example. Just display render of HTML
  2. Display source code of element in sub section. Now it's only on "view all" page
  3. Change localization of PL or make translation
  4. Change logo or all design of PL

Thank you very much

zvitek avatar Nov 26 '20 13:11 zvitek

  1. Hide HBS tab in example. Just display render of HTML

That functionality is currently not included

  1. Display source code of element in sub section. Now it's only on "view all" page

This feature you can find on the left-hand side of the menu or with the setting icon.

horizontal menu layout grafik vertical menu layout grafik

  1. Change localization of PL or make translation

This is currently not implemented but planned for the future.

  1. Change logo or all design of PL

This is also planned

JosefBredereck avatar Jan 11 '21 09:01 JosefBredereck

@zvitek if the main aspect regarding your first aspect (Hide HBS tab in example. Just display render of HTML) to not have the hbs content displayed prominently in the first place, you could use the following configuration option within patternlab-config.json file, as described within the documentation as a mitigation: "defaultPatternInfoPanelCode": "html",

mfranzke avatar Jan 25 '21 20:01 mfranzke

@zvitek plus you could change the logo through the configuration options: https://patternlab.io/docs/editing-the-configuration-options/#heading-theme

mfranzke avatar Apr 13 '21 17:04 mfranzke

It's hard to keep track of everything. This issue has been automatically marked as stale because it has not had recent activity, neither from the team nor the community. It will be closed if no further activity occurs. Please consider adding additional info, volunteering to contribute a fix for this issue, or making a further case that this is important to you, the team, and the project as a whole. Thanks!

stale[bot] avatar Jan 09 '22 00:01 stale[bot]