40 ms·
Yes of course: - Sharing styling libraries (currently done via css files) across multiple web development teams, giving the ability to a central team of design
by gtsop 6y ago
Yes of course:
- Sharing styling libraries (currently done via css files) across multiple web development teams, giving the ability to a central team of designers/developers to modify the look and feel of dozens of websites of the company
- Media queries, sass mixins and functions
- Components can be used in different contexts. The styling can be dramatically different in these contexts. Overriding the "style" attribute is harder than overriding a css class definition.
- Worse developer experience while trying to reason about the styling of a particular page. Image you have a page composed of multiple components. I think (and thus argue) it is easier to glance at a css file (or multiple css files) to understand how the whole thing fits together, instead of looking at all the individual components
files, mentaly filter out the markup to keep the css and try to compose a wholistic picture.