-
-
Notifications
You must be signed in to change notification settings - Fork 337
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(chore): reduce CSS by removing :not() selectors if variation is …
…disabled A lot of :not() css selectors are not needed when the related variation has been disabled and thus isn't compiled This PR makes sure such selectors are removed upon compilation which reduces the generated css even more For example if one disables circular step in variation.variables (or in a custom site.variables) @variationStepCircular: false; then all the :not(.circular) selectors can be removed as a .ui.circular.step won't exist after compilation, so there is no need to differentiate between them anymore As everything is enabled by default, this change does not affect anything and is completely backward compatible
- Loading branch information
Showing
32 changed files
with
936 additions
and
711 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.