fluentui icon indicating copy to clipboard operation
fluentui copied to clipboard

[Feature]: TabList styling interface

Open zensho-mjp opened this issue 2 years ago • 2 comments

Library

React Components / v9 (@fluentui/react-components)

Describe the feature that you would like added

Hi everyone,

I've just started to use Fluent UI v9 and discovered a huge change in styling component. Although you can use makeStyles() to override styles of component, there is no interface anymore for styling purposes like before (IButtonStyles, IDetailsListStyle, IDropdownStyles, etc.). This is quite annoying because with those interfaces we knew what properties to target to adjust styling of fluent ui components. I am in the situation where I want to change the Tab styling from the TabList component, and I have nothing at my disposal to know how to do it, and how to be sure I target the correct property. It would be interesting to add interfaces again so that developers know what they do.

In the meantime, does anyone know how I could style different part of that component?

Thank you,

Maxime

Have you discussed this feature with our team

No response

Additional context

No response

Validations

  • [X] Check that there isn't already an issue that request the same feature to avoid creating a duplicate.

Priority

High

zensho-mjp avatar Dec 28 '23 09:12 zensho-mjp

You use slots to style and each component has an interface that defines the slots.

https://react.fluentui.dev/?path=/docs/concepts-developer-styling-components--page#overriding-fui-component-styles

micahgodbolt avatar Jan 09 '24 00:01 micahgodbolt

This issue has been marked as being beyond the support scope of Fluent UI's issues board. It will now be closed automatically for house-keeping purposes.