Skip to content

API Reference

Generated from src/css/. Re-run npm run docs:api-reference after changing variables or classes.

CSS Custom Properties

Colors - Backgrounds, texts and borders

VariableDefaultNotes
--bf-whitergb(255 255 255)
--bf-lightrgb(240 240 240)
--bf-gray-light-extrargb(233 233 233)
--bf-gray-lightrgb(204 204 204)
--bf-grayrgb(153 153 153)
--bf-gray-darkrgb(102 102 102)
--bf-gray-dark-extrargb(51 51 51)
--bf-darkrgb(34 34 34)
--bf-dark-extrargb(17 17 17)
--bf-blackrgb(0 0 0)

Colors - Mark and ins

VariableDefaultNotes
--bf-yellow-lightrgb(255 255 153)
--bf-yellowrgb(255 255 0)
--bf-orangergb(255 165 0)

Colors - Anchors and accent

VariableDefaultNotes
--bf-bluergb( 0 86 179 )Darkened from rgb(0 123 255) for WCAG AA contrast (links on white)
--bf-blue-lightrgb(0 65 135)Darkened for hover states
--bf-blue-light-extrargb(190 216 254)

Colors - Invalid forms

VariableDefaultNotes
--bf-redrgb(255 0 0)

Colors - Dark mode adjustments

VariableDefaultNotes
--bf-dark-bgrgb(28 28 28)dark-extra + 7.5% lightness for body background
--bf-dark-linkrgb(77 165 255)blue + 20% lightness for better visibility on dark
--bf-dark-link-hoverrgb(77 165 255)blue-light + 20% lightness
--bf-dark-border-focusrgb(26 140 255)blue + 10% lightness for form focus borders
--bf-dark-shadow-focusrgb(3 102 214 / 50%)blue shadow for focus states
--bf-dark-mark-bgrgb(230 230 0)yellow - 10% lightness
--bf-dark-ins-bgrgb(255 255 200)yellow-light + 45% lightness
--bf-dark-button-hoverrgb(184 184 184)gray-light -10% lightness
--bf-dark-button-shadowrgb(255 255 255 / 45%)white shadow for button focus
--bf-dark-invalidrgb(255 38 38)red adjusted for dark mode visibility

Spacing

VariableDefaultNotes
--bf-spacing-sm0.25rem
--bf-spacing-md0.5rem
--bf-spacing-lg1rem
--bf-spacing-xl2rem
--bf-spacing-xxl3rem
--bf-spacing-grid-gutter1.5rem

Typography

VariableDefaultNotes
--bf-font-sans-serif-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen-Sans, Ubuntu, Cantarell, 'Helvetica Neue', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji'
--bf-font-serifGeorgia, Times, 'Times New Roman', serif
--bf-font-monospaceSFMono-Regular, Menlo, Monaco, Consolas, 'Liberation Mono', 'Courier New', monospace
--bf-body-font-size-rem1.6rem
--bf-body-line-height1.5

Breakpoints

VariableDefaultNotes
--bf-breakpoint-xs0
--bf-breakpoint-sm576px
--bf-breakpoint-md768px
--bf-breakpoint-lg992px
--bf-breakpoint-xl1200px
--bf-breakpoint-xxl1400px

Classes

Grouped by source directory under src/css/. Click a directory to see the full rules on GitHub.

utilities

bf-align-center-flex · bf-align-center-unknown · bf-align-center-unknown--item · bf-antialiased · bf-btn · bf-btn--primary · bf-clearfix · bf-col-1 · bf-col-10 · bf-col-11 · bf-col-12 · bf-col-2 · bf-col-3 · bf-col-4 · bf-col-5 · bf-col-6 · bf-col-7 · bf-col-8 · bf-col-9 · bf-container · bf-container--break-lg · bf-container--break-md · bf-container--break-xs · bf-container--fluid · bf-cursive--handwritten · bf-disabled · bf-display-block · bf-display-block-center · bf-display-flex · bf-display-flex--justify-center · bf-display-flex--justify-end · bf-display-flex--justify-start · bf-display-flex--nowrap · bf-display-flex--wrap · bf-display-inline · bf-display-inline-block · bf-display-inline-flex · bf-embed-responsive · bf-embed-responsive--4-3 · bf-embed-responsive--item · bf-filter-blur · bf-filter-dim-images · bf-filter-grayscale · bf-filter-invert · bf-filter-none · bf-float-left · bf-float-right · bf-focused · bf-font-monospace · bf-font-sans-serif · bf-font-serif · bf-h1 · bf-h2 · bf-h3 · bf-h4 · bf-h5 · bf-h6 · bf-hidden · bf-hide · bf-invalid · bf-invisible · bf-lead · bf-list-unstyled · bf-m-0 · bf-m-1 · bf-m-2 · bf-m-3 · bf-m-4 · bf-m-b-0 · bf-m-b-1 · bf-m-b-2 · bf-m-b-3 · bf-m-b-4 · bf-m-l-0 · bf-m-r-0 · bf-m-t-0 · bf-m-t-1 · bf-m-t-2 · bf-m-t-3 · bf-m-t-4 · bf-monospace--code · bf-monospace--slab · bf-no-gutters · bf-no-select · bf-p-0 · bf-p-1 · bf-p-2 · bf-p-3 · bf-p-4 · bf-p-b-0 · bf-p-b-1 · bf-p-b-2 · bf-p-b-3 · bf-p-b-4 · bf-p-l-0 · bf-p-r-0 · bf-p-t-0 · bf-p-t-1 · bf-p-t-2 · bf-p-t-3 · bf-p-t-4 · bf-position-fixed · bf-position-relative · bf-position-sticky · bf-reduced-motion · bf-responsive-typography · bf-row · bf-sans-serif--classical · bf-sans-serif--geometric · bf-sans-serif--humanist · bf-sans-serif--industrial · bf-sans-serif--neo-grotesque · bf-sans-serif--rounded · bf-sans-serif--system · bf-serif--antique · bf-serif--didone · bf-serif--oldstyle · bf-serif--slab · bf-serif--transitional · bf-sr-only · bf-subpixel-antialiased · bf-t-center · bf-t-italic · bf-t-left · bf-t-right · bf-t-shadow · bf-t-style-normal · bf-t-transform-none · bf-t-transform-uppercase · bf-t-truncate · bf-t-truncate--multiline-2 · bf-t-truncate--multiline-3 · bf-t-weight-300 · bf-t-weight-400 · bf-t-weight-500 · bf-t-weight-600 · bf-t-weight-700 · bf-t-weight-800 · bf-table · bf-table--zebra · bf-table-responsive · bf-table-responsive--zebra · bf-text-break · bf-text-hide · bf-visible · bf-width-100 · bf-width-25 · bf-width-33 · bf-width-50 · bf-width-75 · bf-width-auto · bf-z-index-1 · bf-z-index-10 · bf-z-index-100 · bf-z-index-2 · bf-z-index-20 · bf-z-index-200 · bf-z-index-3 · bf-z-index-30 · bf-z-index-300 · bf-z-index-4 · bf-z-index-40 · bf-z-index-5 · bf-z-index-50 · bf-z-index-6 · bf-z-index-60 · bf-z-index-7 · bf-z-index-70 · bf-z-index-8 · bf-z-index-80 · bf-z-index-9 · bf-z-index-90


172 classes, 44 CSS custom properties.

Bullframe CSSCopyright © 2026 Marco Pontili