OfficeDev / office-ui-fabric-core

The front-end CSS framework for building experiences for Office and Microsoft 365.
https://developer.microsoft.com/en-us/fabric
Other
3.77k stars 466 forks source link

pre-built component styling #1177

Open anyndel opened 5 years ago

anyndel commented 5 years ago

Since UI-fabric-JS is definitely dead, we find ourselves with a lack of components, as far as I can tell. As an example, I guess it should be easy enough to build a button class adding a bunch of color, border, radius and font mixins... is this something already available anywhere at all? Not looking at functional components, but just at replicating coherent styling that is a given in ui-fabric-react.

GregLahaye commented 3 years ago

Did you ever find something regarding this? I'm looking for the same thing...

anyndel commented 3 years ago

Unfortunately, nothing found. I ended up fashioning a simple component system by mimicking what I saw in the react version as much as possible and ended up using it with Vue in a concept project that never saw the light of day and was (is?) closed source, so I really can't share much. The good part is that fetching from animations, borders and using the guides at the time (2019) it was pretty easy to create at least some basic coherent components. Not working in an MS shop now, so I still need to find an excuse to check out fabric again :)

GregLahaye commented 3 years ago

Ah that's too bad. Thanks for your response. We're making an Angular add-in so I'll have to take a look at implementing some basic styled components.

anyndel commented 3 years ago

I was young and didn't think of throwing my results here or elsewhere. What I can wholeheartedly recommend is foregoing the React stuff and just going with the style guide. It will be much easier.