Skip to content

Align Bootswatch swatches to Bootstrap 5.3.3 and modernize libman.json - #854

Merged
poppastring merged 1 commit into
mainfrom
align-bootstrap-5.3.3
Jun 15, 2026
Merged

poppastring merged 1 commit into
mainfrom
align-bootstrap-5.3.3

Conversation

@poppastring

Copy link
Copy Markdown
Owner

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.json up to date with what the project actually uses.

Bootswatch alignment

  • Downgrade Bootswatch from 5.3.8 → 5.3.3 in the darkly and flatly swatches under wwwroot/lib/bootswatch/. Matches the pinned Bootstrap at wwwroot/lib/bootstrap/5.3.3/.
  • Update the <link> href and the explanatory comment in Themes/darkly/_Layout.cshtml and Themes/flatly/_Layout.cshtml to point at the 5.3.3 swatch path.
  • Minor tuning in darkly/custom.css and flatly/custom.css (4 lines each) for any deltas between 5.3.8 and 5.3.3 overrides.
  • Remove the now-unreferenced wwwroot/lib/bootswatch/5.3.8/ directory.

After this change there is exactly one Bootstrap version (5.3.3) across every shipped theme.

libman.json modernization

libman.json had drifted to versions the project hasn't depended on for years. Replaced with what the codebase actually ships:

Library Before After
twitter-bootstrap 3.3.7 → wwwroot/lib/bootstrap/dist 5.3.3 → wwwroot/lib/bootstrap/5.3.3/
bootswatch missing 5.3.3 (darkly + flatly swatches only) → wwwroot/lib/bootswatch/5.3.3/
jquery 2.2.0 → wwwroot/lib/jquery/dist/ 3.5.1 → wwwroot/lib/jquery/3.5.1/
jquery-validate 1.14.0 1.19.5
font-awesome missing 6.7.2 → wwwroot/lib/font-awesome/6.7.2/

Also added a trailing newline to the file.

This makes libman restore reproducible against the real client-asset layout — anyone cloning the repo can regenerate wwwroot/lib/ from libman.json instead of relying on what happens to be checked in.

@poppastring
poppastring merged commit de4534d into main Jun 15, 2026
3 checks passed
@poppastring
poppastring deleted the align-bootstrap-5.3.3 branch June 15, 2026 02:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant