Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(*): add dynamic LESS compilation of component variations
This PR is a proposal for a solution to allow users to define which variations of an element will be compiled . It was often requested to have a possibility to remove certain variations of an element from of the compiled CSS File. I invented a central file `variation.variables` which is loaded into the default site.variables to enable all variations by default. If now somebody wants to remove for example the `tertiary` variant of the `button` element one just has to add `@variationButtonTertiary: false` to their custom themes `site.variables` Side effect improvements - Sizing logic has been unified, so `divider`, `reveal` and `card` also have size options now - For the same reason, `header` and `statistic` also received missing size options (mini,big,massive) - Removed unnecessary !important for `statistic` size options
- Loading branch information