I've just inherited a HTML/CSS based internal UI library, which the place I work is planning to use to standardize CSS styles for all of its products across the board, mainly webapps. The library has code that is in a style similar to bootstrap, however there are also separate css files for each of our clients inside that same git repo.
I feel that this must be fixed, however I know that the time required to invest in this endeavor will have to be a lot; so, I thought if I can weigh up the pros and cons as well as red flags, it would be a good way to make a decision.
Currently I have in mind, is the consider separating any client-specific HTML/CSS from the current base code into separate repository, per client, per product. This repository would then import the base UI library to get the styles related to each component.
Would this be the sort of approach I am looking for for solving my above problem? Are there any possible red flags to this approach?