Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Overview
Groups identical selectors, removes extra carriage returns, but doesn't fully minify. Reduces the file size from 42.5kb to 21.9kb.
Before
Each FA class gets its own 4 lines to define one of two fonts and weight. There's an extra space between each selector and selectors are spaced.
After
The shims are grouped for each font, reducing duplication. Carriage returns are reduced. ie:
Technical Details
Relates to this PR: civicrm#30779
First implemented and tested in RiverLea (https://lab.civicrm.org/extensions/riverlea/-/commit/17be5120294804c833cf5eea5c82bcafc92f6ecb)