Set style for FocusZone focus outline?
Priorities and help requested (not applicable if asking question):
Are you willing to submit a PR to fix? Yes
Describe the issue:
The FocusZone focus outline is thin, solid black border. Is there any way to enhance it?
If applicable, please provide a codepen repro:
You can see the behavior here: https://developer.microsoft.com/en-us/fabric#/components/focuszone
I found the reference in the docs that pointed me to the associated SCSS mixin. Just wanted to update this issue in case others were looking for the same thing.
Just to be clear, the FocusZone itself doesn't mandate any focus styling out of the box--as you point out that's handled by the focusBorder mixin for SCSS-based components. That said, what scenario are you trying to support? Generally, focus borders should be as consistent as possible within product families and should only be adjusted if absolutely needed (e.g. for accessibility or to stand out on backgrounds)
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!
To expand on @Jahnp's comment, for components using the getStyles api there is a getFocus() function as well that takes a theme object as an argument, and returns focus border styles. Closing since this is answered.