|
|
1
1
如果您想直接使用Fabric核心CSS类,而不是使用JS中的CSS,则需要按照 getting started with Fabric Core :
|
|
|
2
0
不完全是我想要的,但这里有一种方法:
https://github.com/OfficeDev/office-ui-fabric-react/wiki/Component-Styling#styling-best-practices
是我需要使用的
============== 以下是可用字体的列表 可视化字体: https://developer.microsoft.com/en-us/fabric#/styles/typography |
|
|
3
0
加载主题时,可以通过添加以下代码来完成此操作: defaultFontStyle:{fontFamily:'Comic Sans MS',fontWeight:'bold'}, 这是自7.21.0版office ui fabric react开始提供的 以下是您可以找到bug发布和报告的URL: https://github.com/microsoft/fluentui/issues/7416 https://github.com/microsoft/fluentui/releases/tag/office-ui-fabric-react_v7.21.0 https://github.com/microsoft/fluentui/pull/9981 |