Pular para o conteúdo
Kitbay
Skill

bootstrap-color-system

MITAtualizado em 11 de nov. de 2026175.039Estrelas no GitHub

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

O que a skill ensina

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.

O que faz

  • 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