Repository navigation
Align Bootswatch swatches to Bootstrap 5.3.3 and modernize libman.json - #854
Merged
Merged
Conversation
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Follow-up to #852. Resolves the Bootstrap version mix flagged in that PR (themes were loading 5.3.3 OR 5.3.8) by pulling Bootswatch back to 5.3.3 so a single Bootstrap version ships across every theme. Also brings
libman.jsonup to date with what the project actually uses.Bootswatch alignment
darklyandflatlyswatches underwwwroot/lib/bootswatch/. Matches the pinned Bootstrap atwwwroot/lib/bootstrap/5.3.3/.<link>href and the explanatory comment inThemes/darkly/_Layout.cshtmlandThemes/flatly/_Layout.cshtmlto point at the 5.3.3 swatch path.darkly/custom.cssandflatly/custom.css(4 lines each) for any deltas between 5.3.8 and 5.3.3 overrides.wwwroot/lib/bootswatch/5.3.8/directory.After this change there is exactly one Bootstrap version (5.3.3) across every shipped theme.
libman.jsonmodernizationlibman.jsonhad drifted to versions the project hasn't depended on for years. Replaced with what the codebase actually ships:twitter-bootstrap3.3.7→wwwroot/lib/bootstrap/dist5.3.3→wwwroot/lib/bootstrap/5.3.3/bootswatch5.3.3(darkly + flatly swatches only) →wwwroot/lib/bootswatch/5.3.3/jquery2.2.0→wwwroot/lib/jquery/dist/3.5.1→wwwroot/lib/jquery/3.5.1/jquery-validate1.14.01.19.5font-awesome6.7.2→wwwroot/lib/font-awesome/6.7.2/Also added a trailing newline to the file.
This makes
libman restorereproducible against the real client-asset layout — anyone cloning the repo can regeneratewwwroot/lib/fromlibman.jsoninstead of relying on what happens to be checked in.