fluentui icon indicating copy to clipboard operation
fluentui copied to clipboard

question: changing default font size (to be smaller)?

Open aappddeevv opened this issue 9 years ago • 6 comments

How do you change the default font size that is used throughout the components?

I see its easy to change the color palette if you use loadTheme but after looking at the code, there does not appear to be a way to set the "default" font and I have tried setting it directly in a bunch of places but "medium" keeps getting used.

aappddeevv avatar Aug 19 '17 12:08 aappddeevv

I'm also wondering how to change the default font size, any easy way to do this instead of manipulating all the CSS?

vertonghenb avatar Oct 18 '17 19:10 vertonghenb

Anything on this...?

fidabhittani avatar Dec 21 '17 14:12 fidabhittani

What I did was, .Fabric > * { font-Size: 12px } but some conrols stills retains its original fonts. to fix that I made it important which led to have all the children have 12 px even my custom classses..

fidabhittani avatar Dec 21 '17 14:12 fidabhittani

I think the new styling model is suppose to help with this but I'm not sure it's a "set it in one place" type of approach which is what I was looking for.

aappddeevv avatar Jan 29 '18 22:01 aappddeevv

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions to Fabric React!

stale[bot] avatar Apr 11 '18 05:04 stale[bot]

This issue has been automatically closed because it has not had recent activity after being marked as stale. If you belive this issue is still a problem or should be reopened, please reopen it! Thank you for your contributions to Fabric React! Why am I receiving this notification?

stale[bot] avatar May 18 '18 22:05 stale[bot]