本文へスキップ
Kitbay
スキル

bootstrap-color-system

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

A skill from the Bootstrap project for customising colour in Bootstrap 6 projects with Sass and CSS.

スキルの内容

A skill from the Bootstrap project for customising colour in Bootstrap 6 projects with Sass and CSS. It explains how colour flows from base oklch hues into scales, then into semantic theme roles that components read, and helps the agent pick the right layer to change: hues, theme colours, layer colours, component tokens or runtime CSS variables. It covers light and dark modes through light-dark() and data-bs-theme, compile-time overrides with Sass maps, runtime overrides with custom properties, the generated utilities and theme classes, and ends with a checklist for verifying the result. It has no scripts.

できること

  • Add or override Bootstrap 6 theme colours
  • Set up light and dark colour modes
  • Override colours at compile time with Sass or at runtime with CSS variables