question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Fluent UI Updates to SharePoint - WebPartTitle control too thin now

See original GitHub issue

Thank you for reporting an issue, suggesting an enhancement, or asking a question. We appreciate your feedback - to help the team understand your needs please complete the below template to ensure we have the details to help. Thanks!

Please check out the documentation to see if your question is already addressed there. This will help us ensure our documentation is up to date.

Category

[x] Enhancement

[ ] Bug

[ ] Question

Version

Please specify what version of the library you are using: [ 1.19.0 ]

If you are not using the latest release, please update and see if the issue is resolved before submitting an issue.

Expected / Desired Behavior / Question

If you are reporting an issue please describe the expected behavior. If you are suggesting an enhancement please describe thoroughly the enhancement, how it can be achieved, and expected benefit. If you are asking a question, ask away!

The WebPartTitle control should match the default web part title typeface, including font family, size, and weight.

Observed Behavior

If you are reporting an issue please describe the behavior you expected to occur when performing the action. If you are making a suggestion or asking a question delete this section.

In my tenant (on targeted release), the current WebPartTitle control no longer matches the default SharePoint web part titles because the font weight is set to 100 (see here). The June 2020 roadmap podcast mentioned that Fluent UI is rolling out to more areas of SharePoint, so web part titles appear bolder now.

I can provide a PR to update the font weight if needed.

Steps to Reproduce

If you are reporting an issue please describe the steps to reproduce the bug in sufficient detail to allow testing. If you are making a suggestion or asking a question delete this section.

Create an SPFx web part using the PnP WebPartTitle control. The control styles will use the thin font treatment instead of the newer Fluent UI bolder style in a tenant that has the new Fluent UI styles rolled out to it.

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Reactions:4
  • Comments:11 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
joshmcrtycommented, Dec 16, 2020

@jimmywim it does if you pass the themeVariant to it.

1reaction
sympmarccommented, Jul 8, 2020
Read more comments on GitHub >

github_iconTop Results From Across the Web

SharePoint Site Theme - Not saving / Reverting to another ...
Hi All, I'm having difficulty with SharePoint colour themes since the most recent update. I have created a Colour Theme in Fluent UI...
Read more >
Release notes - @pnp/spfx-controls-react
FilePicker : panel causes SharePoint to Throttle due to infinite loop fetching ... Fluent UI Updates to SharePoint - WebPartTitle control too thin...
Read more >
Sharepoint online summary links web part missing
Creating news in SharePoint is relatively simple compared to publishing on ... Since the introduction of the Modern UI, Microsoft has been developing...
Read more >
Source - GitHub
... `WebPartTitle`: Fluent UI Updates to SharePoint - WebPartTitle control too thin now [#605](https://github.com/pnp/sp-dev-fx-controls-react/issues/605) ...
Read more >
Untitled
I have updated all the dependencies for this sample (which in and of itself ... If are new to SharePoint This is how,...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found