本文へスキップ
Kitbay
スキル

bootstrap-utility-api

MIT2026年11月11日 更新175,039GitHubスター

A skill kept in the Bootstrap repository about Bootstrap 6's utility API, the Sass map that generates every utility class.

スキルの内容

A skill kept in the Bootstrap repository about Bootstrap 6's utility API, the Sass map that generates every utility class. It explains how the generator works and which keys a utility group accepts, then shows how to add a new utility, change or remove a default one (the merge is shallow, so a changed group must be restated in full), and switch on responsive, hover, print or dark variants. It also covers trimming the compiled CSS, the steps for contributing a utility to Bootstrap itself with docs and tests, and how to check the result by linting, building and searching the output CSS.

できること

  • Add custom utility classes through Bootstrap's Sass map
  • Change or remove default utilities
  • Enable responsive, state, print and dark variants
  • Trim unused utilities from the compiled CSS