]> git.ipfire.org Git - thirdparty/bootstrap.git/log
thirdparty/bootstrap.git
3 months agothis should be a test v6-scss-example
Mark Otto [Tue, 3 Mar 2026 18:53:46 +0000 (10:53 -0800)] 
this should be a test

3 months agov6: Use token Sass map to customize CSS variables instead of Sass variables (#41983)
Mark Otto [Tue, 3 Mar 2026 18:51:44 +0000 (10:51 -0800)] 
v6: Use token Sass map to customize CSS variables instead of Sass variables (#41983)

* Test out using a Sass map for component tokens

* improvements, show how root would work

* WIP updating components to use new map

* more

* fix unused vars, fix test

* Start form vars

* Improve some code work

* Amazing form-range update

- New CSS vars and tokens
- New mixins

* More CSS vars tokens

* OTP tokens

* Tons of tokens updates, also some validation improvements

* fix bundlewatch

* mdx lint

* more bundlewatch

* fixes

* fix dupe id

* Remove button-variables.scss, update buttons to use token maps

* more

* more

* improve tests

* more improvements, lots of docs updates

* bump bundle

* revamp so we can customize, update docs

* fix

* simpler

* fixes

* use mixin instead, check for null values

* better customizing maps

* improvements

* update docs, update bundle

3 months agoAdd `.not-prose` class to revert `.prose` behavior
Julien Déramond [Sun, 22 Feb 2026 21:12:01 +0000 (22:12 +0100)] 
Add `.not-prose` class to revert `.prose` behavior

3 months agoUpdate version of package-lock.json
Julien Déramond [Tue, 24 Feb 2026 19:37:50 +0000 (20:37 +0100)] 
Update version of package-lock.json

3 months agoDocs: mention subbreddit and Discord community in contributing guidelines
Julien Déramond [Sun, 22 Feb 2026 20:37:12 +0000 (21:37 +0100)] 
Docs: mention subbreddit and Discord community in contributing guidelines

3 months agoDocs: mention v6 instead of v5 in contributing guidelines
Julien Déramond [Sun, 22 Feb 2026 20:31:54 +0000 (21:31 +0100)] 
Docs: mention v6 instead of v5 in contributing guidelines

3 months agoDocs: remove unused `.bd-file-ref` class (#42091)
Julien Déramond [Sat, 21 Feb 2026 14:10:32 +0000 (15:10 +0100)] 
Docs: remove unused `.bd-file-ref` class (#42091)

3 months agoDocs: remove alpha mention for BootstrapVueNext in JavaScript page
Julien Déramond [Sun, 15 Feb 2026 09:09:16 +0000 (10:09 +0100)] 
Docs: remove alpha mention for BootstrapVueNext in JavaScript page

3 months agoDocs: only mention Bootstrap 6 and 5 in footer
Julien Déramond [Sun, 15 Feb 2026 08:56:31 +0000 (09:56 +0100)] 
Docs: only mention Bootstrap 6 and 5 in footer

3 months agoBump copyright and example dates from 2025 to 2026
Julien Déramond [Sun, 15 Feb 2026 08:48:39 +0000 (09:48 +0100)] 
Bump copyright and example dates from 2025 to 2026

3 months agoDocs: update versions selector to mention v6 as alpha and v5 as latest
Julien Déramond [Sun, 15 Feb 2026 08:37:07 +0000 (09:37 +0100)] 
Docs: update versions selector to mention v6 as alpha and v5 as latest

3 months agoDocs: enhance versions page to identify 5.3 as latest
Julien Déramond [Sun, 15 Feb 2026 08:15:20 +0000 (09:15 +0100)] 
Docs: enhance versions page to identify 5.3 as latest

3 months agoDocs: switch to /6.0/ and mention 6.0.0-alpha1 version
Julien Déramond [Fri, 6 Feb 2026 20:03:33 +0000 (21:03 +0100)] 
Docs: switch to /6.0/ and mention 6.0.0-alpha1 version

3 months agoDocs: fix some code copy use cases (#42068)
Julien Déramond [Sun, 8 Feb 2026 07:26:03 +0000 (08:26 +0100)] 
Docs: fix some code copy use cases (#42068)

4 months agoBump vanilla-calendar-pro from 3.0.5 to 3.1.0 and move Datepicker docs to forms secti...
Christian Oliff [Tue, 27 Jan 2026 06:45:30 +0000 (15:45 +0900)] 
Bump vanilla-calendar-pro from 3.0.5 to 3.1.0 and move Datepicker docs to forms section (#42037)

4 months agoDocs: add v6 in versions page (#42040)
Julien Déramond [Mon, 26 Jan 2026 19:29:57 +0000 (20:29 +0100)] 
Docs: add v6 in versions page (#42040)

4 months agoAdd `docs-lint` to `lint` command (#42039)
Julien Déramond [Mon, 26 Jan 2026 19:22:27 +0000 (20:22 +0100)] 
Add `docs-lint` to `lint` command (#42039)

4 months agoDocs: fix 'Duplicate id warning-data-bs-title-vs-title found' (#42038)
Julien Déramond [Mon, 26 Jan 2026 19:21:50 +0000 (20:21 +0100)] 
Docs: fix 'Duplicate id warning-data-bs-title-vs-title found' (#42038)

4 months agodocs: v6 docs fixes (#42030)
Christian Oliff [Fri, 23 Jan 2026 16:01:20 +0000 (01:01 +0900)] 
docs: v6 docs fixes (#42030)

* docs: v6 docs updates

- Replace Popper with Floating UI
- Fix names on Migration docs

* Update site/src/content/docs/guides/npm.mdx

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
* Update site/src/content/docs/guides/parcel.mdx

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
* Update site/src/content/docs/guides/webpack.mdx

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
* Update site/src/content/docs/guides/vite.mdx

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
4 months agodocs: add role="switch" to switches
Christian Oliff [Tue, 20 Jan 2026 06:23:14 +0000 (15:23 +0900)] 
docs: add role="switch" to switches

`role="switch"` is automatically added to checkboxes with the switch attribute in Safari, but we still need to add `role="switch"` for Chromium and Firefox etc,

4 months agoDist rebuild
Mark Otto [Tue, 20 Jan 2026 05:02:53 +0000 (21:02 -0800)] 
Dist rebuild

4 months agoAdd new chip input and chips (#42008)
Mark Otto [Tue, 20 Jan 2026 05:01:55 +0000 (21:01 -0800)] 
Add new chip input and chips (#42008)

* Add new chip input and chips

* More fixes to build and linter

* Bump bundlewatch

* fix dupe id

4 months agoUpdate docs sidebars (#42011)
Mark Otto [Tue, 20 Jan 2026 03:53:54 +0000 (19:53 -0800)] 
Update docs sidebars (#42011)

* Add some CSS vars to nav component, use nav in sidebar more, update toc and ads

* more iterations on ToC and ads layout

4 months agoDocs: remove unused DETAILS_README shortcode
Julien Déramond [Mon, 12 Jan 2026 19:03:46 +0000 (20:03 +0100)] 
Docs: remove unused DETAILS_README shortcode

4 months agoDocs: use `fg-*` text color utilities instead of `text-*` in Spinner page
Julien Déramond [Mon, 12 Jan 2026 19:15:38 +0000 (20:15 +0100)] 
Docs: use `fg-*` text color utilities instead of `text-*` in Spinner page

4 months agoQuick home and Stepper fixes (#42009)
Mark Otto [Mon, 12 Jan 2026 04:17:17 +0000 (20:17 -0800)] 
Quick home and Stepper fixes (#42009)

* Fix masthead

* fix stepper while here

4 months agoFix Utilities > Theme examples text in some cases
Julien Déramond [Fri, 9 Jan 2026 19:18:43 +0000 (20:18 +0100)] 
Fix Utilities > Theme examples text in some cases

4 months agoReplace rgba(), remove *-rgb variables
Mark Otto [Fri, 9 Jan 2026 17:05:01 +0000 (09:05 -0800)] 
Replace rgba(), remove *-rgb variables

4 months agoFixes #41906: Add accent-color in Reboot for form control styling
Mark Otto [Fri, 9 Jan 2026 04:49:03 +0000 (20:49 -0800)] 
Fixes #41906: Add accent-color in Reboot for form control styling

4 months agoOrganize as peer deps (#42001)
Mark Otto [Fri, 9 Jan 2026 04:48:11 +0000 (20:48 -0800)] 
Organize as peer deps (#42001)

4 months agoRebase fixes and follow-ups (#42002)
Mark Otto [Fri, 9 Jan 2026 04:43:25 +0000 (20:43 -0800)] 
Rebase fixes and follow-ups (#42002)

* Fix some CSS linting

* Fix package-lock and update html-validate to v10

* remove? lol

4 months agoNew Stepper component (#41999)
Mark Otto [Fri, 9 Jan 2026 03:57:36 +0000 (19:57 -0800)] 
New Stepper component (#41999)

* New Stepper component

* more

* Improvements to stepper, fix other playgrounds while here

* bump bundlewatch

4 months agoNew avatar component (#41997)
Mark Otto [Thu, 8 Jan 2026 01:21:07 +0000 (17:21 -0800)] 
New avatar component (#41997)

* New avatar component

* bump

4 months agoFix some JS todos and warnings (#41998)
Mark Otto [Wed, 7 Jan 2026 19:35:45 +0000 (11:35 -0800)] 
Fix some JS todos and warnings (#41998)

* Fix some JS todos and warnings

* Undo some

4 months agofix script for eslint
Mark Otto [Wed, 7 Jan 2026 00:00:03 +0000 (16:00 -0800)] 
fix script for eslint

4 months agoFix bundlewatch after lightningcss restored our missing css
Mark Otto [Tue, 6 Jan 2026 23:51:22 +0000 (15:51 -0800)] 
Fix bundlewatch after lightningcss restored our missing css

4 months agoSwitch from clean-css to lightningcss for minifying
Mark Otto [Tue, 6 Jan 2026 23:03:41 +0000 (15:03 -0800)] 
Switch from clean-css to lightningcss for minifying

4 months agoTry to fix v6-dev preview deploy on Netlify
Mark Otto [Tue, 6 Jan 2026 22:52:37 +0000 (14:52 -0800)] 
Try to fix v6-dev preview deploy on Netlify

4 months agoFix some scss-docs
Mark Otto [Tue, 6 Jan 2026 07:03:58 +0000 (23:03 -0800)] 
Fix some scss-docs

4 months agoRun dist while here
Mark Otto [Tue, 6 Jan 2026 06:58:32 +0000 (22:58 -0800)] 
Run dist while here

4 months agoBump bundlewatch while here
Mark Otto [Tue, 6 Jan 2026 06:56:02 +0000 (22:56 -0800)] 
Bump bundlewatch while here

4 months agoAdd stylelint order plugin
Mark Otto [Tue, 6 Jan 2026 06:45:30 +0000 (22:45 -0800)] 
Add stylelint order plugin

4 months agoFollow-up fix to datepicker I forgot to push
Mark Otto [Tue, 6 Jan 2026 06:46:05 +0000 (22:46 -0800)] 
Follow-up fix to datepicker I forgot to push

4 months agoNew Datepicker plugin via Vanilla Calendar Pro, new `.form-adorn` component (#41965)
Mark Otto [Tue, 6 Jan 2026 06:43:56 +0000 (22:43 -0800)] 
New Datepicker plugin via Vanilla Calendar Pro, new `.form-adorn` component (#41965)

* First pass at datepicker via Vanilla Calendar Pro

* fixes

* optimize

* Docs updates, add advanced config

* rename attr

* edits

* Update datepicker docs, improve color modes, add tests

* New .form-adorn component for overlaying icons and text with inputs

* temp

* bump limits

* cleanup and simpler selectors

* few more tweaks

* Remove comment

* Fix multi-month, reorg some docs content, fix selections

4 months agoAdd tests for new form components
Mark Otto [Tue, 6 Jan 2026 06:33:37 +0000 (22:33 -0800)] 
Add tests for new form components

4 months agoNew OTP input (#41981)
Mark Otto [Mon, 29 Dec 2025 22:59:21 +0000 (14:59 -0800)] 
New OTP input (#41981)

* feat: add OTP input component

- Add OtpInput JavaScript component with keyboard navigation and paste support
- Add SCSS styles for OTP input fields
- Add documentation page for OTP input
- Add unit tests for OTP input

* Bump bundlewatch

* Missed file

4 months agoPassword strength plugin (#41980)
Mark Otto [Mon, 29 Dec 2025 22:47:01 +0000 (14:47 -0800)] 
Password strength plugin (#41980)

* feat: add password strength component

- Add Strength JavaScript component with customizable scoring
- Add SCSS styles for strength meter and bar variants
- Add documentation page for password strength
- Add unit tests for strength component

* Bundle bump

* More bundle

4 months agoNew Toggler plugin (#41966)
Mark Otto [Mon, 29 Dec 2025 19:03:26 +0000 (11:03 -0800)] 
New Toggler plugin (#41966)

* Toggler compontent from upstrea PR

* Update docs

* Fix comments, data_key, and cleanup some code; add tests too

* bump

* edits

4 months agoFirst pass at submenu support (#41967)
Mark Otto [Mon, 29 Dec 2025 01:45:22 +0000 (17:45 -0800)] 
First pass at submenu support (#41967)

* First pass at submenu support

* Remove unused constants

* Fix up linter errors

* Logical properties for placement

* Better docs playground for dropdowns

* refactor and update bundles

* more tests, fix broken tests

* more tests

* more

* more

4 months agoAdditional `.theme-*` utilities to replace color background helpers and more (#41978)
Mark Otto [Sat, 27 Dec 2025 20:59:42 +0000 (12:59 -0800)] 
Additional `.theme-*` utilities to replace color background helpers and more (#41978)

* New .theme-* utilities for consuming the existing .theme styles, replace color-background helpers

* Update blue to be less indigo

* Rebuild metadata

* mdx lint

* Fix docs link while here

* Fix up some docs work while here

* links

4 months agoMore button cleanup (#41968)
Mark Otto [Sat, 27 Dec 2025 19:27:00 +0000 (11:27 -0800)] 
More button cleanup (#41968)

* Clean up button vars, docs, fix up .btn-link

* more buttons docs cleanup

* Remove colored links for theme utilities

* Fix scssdocs

* Fix broken link

* Fix another link

4 months agoUpdate cards for v6 (#41964)
Mark Otto [Mon, 22 Dec 2025 05:06:53 +0000 (21:06 -0800)] 
Update cards for v6 (#41964)

* Start process of redoing Cards

* better

* So much better

* fix link

4 months agoBreadcrumbs (#41956)
Mark Otto [Mon, 22 Dec 2025 04:57:32 +0000 (20:57 -0800)] 
Breadcrumbs (#41956)

* Redo breadcrumb

* Cleanup

4 months agoAdd a tabular bundlewatch script (#41957)
Mark Otto [Sun, 21 Dec 2025 19:16:35 +0000 (11:16 -0800)] 
Add a tabular bundlewatch script (#41957)

* Script for better bundlewatch locally

* Fix linter

4 months agoUpdate some badge stuff (#41955)
Mark Otto [Fri, 19 Dec 2025 06:36:41 +0000 (22:36 -0800)] 
Update some badge stuff (#41955)

4 months agoImprove accordion (#41953)
Mark Otto [Fri, 19 Dec 2025 06:32:07 +0000 (22:32 -0800)] 
Improve accordion (#41953)

4 months agoUpdate Alert and tweak some divider styles (#41954)
Mark Otto [Fri, 19 Dec 2025 06:31:46 +0000 (22:31 -0800)] 
Update Alert and tweak some divider styles (#41954)

* Redo some alerts CSS, fix hr and vr components

* fix link

4 months agoFix broke thing
Mark Otto [Thu, 18 Dec 2025 22:55:48 +0000 (14:55 -0800)] 
Fix broke thing

4 months agoPrefix CSS variables with PostCSS (#41951)
Mark Otto [Thu, 18 Dec 2025 22:54:44 +0000 (14:54 -0800)] 
Prefix CSS variables with PostCSS (#41951)

* Add custom property prefixing postcss plugin

* Remove $prefix variable, replace with PostCSS plugin to prefix CSS variables

4 months agoRename some components to be singular (#41952)
Mark Otto [Thu, 18 Dec 2025 22:46:26 +0000 (14:46 -0800)] 
Rename some components to be singular (#41952)

* Singular spinner

* Rename some component files to be singular

4 months agoStandardize focus styles using focus-ring mixin (#41950)
Mark Otto [Thu, 18 Dec 2025 21:13:09 +0000 (13:13 -0800)] 
Standardize focus styles using focus-ring mixin (#41950)

* Standardize focus styles using focus-ring mixin

Replace box-shadow focus styles with consistent focus-ring() mixin across components:
- Accordion, nav, pagination now use @include focus-ring(true)
- Forms (checkboxes, radios, switches, range, controls) use focus-ring mixin
- Update focus-ring-offset default from -1px to 1px
- Remove deprecated *-focus-box-shadow variables

* Fix some focus styles

* Remove unused CSS

* Remove more box-shadow on buttons

4 months agoUpgrade to Sass v1.95.0, redo if() style (#41943)
Mark Otto [Thu, 18 Dec 2025 17:15:26 +0000 (09:15 -0800)] 
Upgrade to Sass v1.95.0, redo if() style (#41943)

* Migrate to latest Sass, redo if() style

* Refactor and disable

4 months agoGenerate dist in v6-dev for first time (#41945)
Mark Otto [Thu, 18 Dec 2025 16:55:49 +0000 (08:55 -0800)] 
Generate dist in v6-dev for first time (#41945)

* Generate dist in v6-dev for first time

* Rebuild after browserslist upgrade

4 months agoUpdate browserslistrc (#41947)
Mark Otto [Thu, 18 Dec 2025 16:49:30 +0000 (08:49 -0800)] 
Update browserslistrc (#41947)

4 months agoGenerate badge variants (#41942)
Mark Otto [Wed, 17 Dec 2025 17:24:30 +0000 (09:24 -0800)] 
Generate badge variants (#41942)

* Generate badge variants

* Docs example

4 months agoMigrate from Popper to Floating UI (#41941)
Mark Otto [Wed, 17 Dec 2025 17:23:57 +0000 (09:23 -0800)] 
Migrate from Popper to Floating UI (#41941)

* Migrate to Floating UI for tooltips, popovers, dropdowns

* Bump bundlewatch

* Dropdown tests

* add floating ui tests from claude

* more

* build sri

* more tests while here

4 months agoRemove RTLCSS
Mark Otto [Tue, 16 Dec 2025 23:16:55 +0000 (15:16 -0800)] 
Remove RTLCSS

- Remove RTL CSS files from dist and zip script
- Update Sass to use more logical properties
- Misc docs and CSS fixes

4 months agoSwitch from xlink:href to href on SVG use
Mark Otto [Wed, 17 Dec 2025 03:41:38 +0000 (19:41 -0800)] 
Switch from xlink:href to href on SVG use

4 months agoRemove RFS from v6 (#41938)
Mark Otto [Wed, 17 Dec 2025 00:41:53 +0000 (16:41 -0800)] 
Remove RFS from v6 (#41938)

* Unrelated: fix link

* Clean up elsewhere

* Remove RFS from Sass and docs

* Linter errors

4 months agoMore close button updates (#41937)
Mark Otto [Tue, 16 Dec 2025 22:05:02 +0000 (14:05 -0800)] 
More close button updates (#41937)

* Clean up close button more

* New placeholder for docs examples

* CSS lint fix

4 months agoFix some sidebar sizing (#41936)
Mark Otto [Tue, 16 Dec 2025 20:58:15 +0000 (12:58 -0800)] 
Fix some sidebar sizing (#41936)

4 months agoRebuild Close button component (#41935)
Mark Otto [Tue, 16 Dec 2025 20:02:35 +0000 (12:02 -0800)] 
Rebuild Close button component (#41935)

- Use inline SVGs instead of embedded for CSP
- Also allows greater customization
- Modifies examples to use the latest

4 months agoUpdate Prose to use flexbox, reduce overhead with docs styles (#41934)
Mark Otto [Tue, 16 Dec 2025 20:02:03 +0000 (12:02 -0800)] 
Update Prose to use flexbox, reduce overhead with docs styles (#41934)

* Update Prose to use flexbox, reduce overhead with docs styles

* Fix up some table styles

4 months agoFix up button group with latest buttons (#41933)
Mark Otto [Tue, 16 Dec 2025 19:19:22 +0000 (11:19 -0800)] 
Fix up button group with latest buttons (#41933)

4 months agoReplace Modal with new Dialog component (#41917)
Mark Otto [Tue, 16 Dec 2025 19:19:06 +0000 (11:19 -0800)] 
Replace Modal with new Dialog component (#41917)

* Add Dialog component using native HTML dialog element

New component that leverages the native HTML <dialog> element for modals
and non-modal dialogs with built-in backdrop and accessibility support.

Features:
- Modal dialogs using showModal() with automatic backdrop
- Non-modal dialogs using show() for persistent UI elements
- Static backdrop option (prevents close on outside click)
- Keyboard support (Escape to close, focus trapping for modals)
- Smooth open/close animations via CSS
- Events: show, shown, hide, hidden, hidePrevented
- Data API for toggling with data-bs-toggle="dialog"

JavaScript:
- js/src/dialog.js - Main component class
- js/tests/unit/dialog.spec.js - Unit tests
- js/tests/visual/dialog.html - Visual test page

SCSS:
- scss/_dialog.scss - Component styles

Docs:
- Add dialog component documentation
- Update modal docs with dialog references

* Modal examples now Dialog examples, needs improvement

* Remove all of Modal

* real words

* Fix layout while I'm here

* Lint Markdown

* New dialog size options

4 months agoButton cleanup (#41928)
Mark Otto [Mon, 15 Dec 2025 23:54:20 +0000 (15:54 -0800)] 
Button cleanup (#41928)

4 months agoSet max-width for bd-content to 100%
Mark Otto [Mon, 15 Dec 2025 23:33:37 +0000 (15:33 -0800)] 
Set max-width for bd-content to 100%

4 months agoFix badge theme variable fallback order (#41920)
Mark Otto [Thu, 11 Dec 2025 23:46:27 +0000 (15:46 -0800)] 
Fix badge theme variable fallback order (#41920)

Move --bs-theme-* variable usage from CSS variable definitions to property
declarations. This ensures the fallback works correctly:
- color: var(--bs-theme-contrast, var(--bs-badge-color))
- background-color: var(--bs-theme-bg, var(--bs-badge-bg))

Also fixes .badge-subtle variant to use same pattern.

4 months agoRefactor CSS variables and design tokens (#41922)
Mark Otto [Thu, 11 Dec 2025 23:46:09 +0000 (15:46 -0800)] 
Refactor CSS variables and design tokens (#41922)

- Rename --bs-color-* to --bs-fg-* for foreground colors
- Simplify font-size variables (remove clamp for xs/sm/md)
- Remove deprecated secondary/tertiary color variables
- Clean up commented-out legacy variable declarations

4 months agoNew docs structure (#41919)
Mark Otto [Thu, 11 Dec 2025 23:45:35 +0000 (15:45 -0800)] 
New docs structure (#41919)

* Reorganize documentation structure

Getting Started:
- Simplify introduction.mdx to focus on basics
- Add install.mdx with package manager instructions
- Move approach.mdx from Extend to Getting Started
- Delete best-practices.mdx (merged elsewhere)
- Update javascript.mdx

Guides:
- Add quickstart.mdx for CDN-based quick start
- Add npm.mdx guide with screenshots
- Update parcel, vite, webpack guides

Extend:
- Remove approach.mdx (moved to Getting Started)
- Remove icons.mdx

Sidebar:
- Restructure navigation to reflect new organization
- Add Install and Approach to Getting Started
- Add Quickstart and npm to Guides

Also includes minor doc updates:
- customize/sass.mdx
- utilities/background.mdx
- utilities/colors.mdx

* Optimised images with calibre/image-actions

* fix broken link and update sidebar

* Optimised images with calibre/image-actions

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
4 months agoRun jobs on v6-dev too
Mark Otto [Thu, 11 Dec 2025 22:36:58 +0000 (14:36 -0800)] 
Run jobs on v6-dev too

4 months agoDocs design updates (#41918)
Mark Otto [Thu, 11 Dec 2025 22:10:51 +0000 (14:10 -0800)] 
Docs design updates (#41918)

* Refactor docs site styling and Shiki integration

Code Highlighting:
- Enhance Code.astro with Shiki transformers and Bootstrap theme
- Add tab support for multi-language code examples
- Add toolbar with language labels and copy button
- Support diff highlighting via @shikijs/transformers

Components:
- Update Example.astro styling and structure
- Refine DocsSidebar.astro layout
- Update Navigation, Versions, and GetStarted components
- Update ThemeToggler.astro
- Minor updates to ReferenceTable, Swatch components

Site SCSS:
- Restyle code snippets and examples (_component-examples.scss)
- Update syntax highlighting styles (_syntax.scss)
- Refine sidebar styling (_sidebar.scss)
- Update search component styles (_search.scss)
- Update navbar styles (_navbar.scss)
- Refresh callouts, clipboard, content styles

Config & Assets:
- Update astro.config.ts for Shiki
- Add sticky.js partial
- Update application.js
- Update guide screenshots (parcel, vite, webpack)

* fixes

* update images

* update permissions

* Optimised images with calibre/image-actions

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
4 months agoRefactor nav and navbar components
Mark Otto [Thu, 11 Dec 2025 17:46:57 +0000 (09:46 -0800)] 
Refactor nav and navbar components

- Add $nav-gap and $nav-link-gap variables for flexbox gap layout
- Rename nav link color variables to use --bs-fg-* tokens
- Add active state variables ($nav-link-active-color, $nav-link-active-bg)
- Add hover background variable ($nav-link-hover-bg)
- Update .nav and .nav-link to use flexbox with gap
- Update related documentation

4 months agoMigrate from Prism to Shiki (#41821)
Mark Otto [Thu, 11 Dec 2025 17:54:53 +0000 (09:54 -0800)] 
Migrate from Prism to Shiki (#41821)

4 months agoRemove browsers and devices documentation page (#41875)
Copilot [Sat, 15 Nov 2025 06:05:52 +0000 (22:05 -0800)] 
Remove browsers and devices documentation page (#41875)

* Initial plan

* Initial commit - planning to remove browsers-devices page

Co-authored-by: mdo <98681+mdo@users.noreply.github.com>
* Remove browsers-devices page and all references

Co-authored-by: mdo <98681+mdo@users.noreply.github.com>
* Add browser support info to Introduction page

Co-authored-by: mdo <98681+mdo@users.noreply.github.com>
---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: mdo <98681+mdo@users.noreply.github.com>
Co-authored-by: Mark Otto <markd.otto@gmail.com>
4 months agoRemove Contents page from documentation (#41876)
Copilot [Sat, 15 Nov 2025 06:00:47 +0000 (22:00 -0800)] 
Remove Contents page from documentation (#41876)

* Initial plan

* Remove Contents page from docs and all references

Co-authored-by: mdo <98681+mdo@users.noreply.github.com>
---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: mdo <98681+mdo@users.noreply.github.com>
4 months agoRemove RTLCSS dependency, update docs and CSS to use native RTL (#41858)
Mark Otto [Sat, 15 Nov 2025 03:08:01 +0000 (19:08 -0800)] 
Remove RTLCSS dependency, update docs and CSS to use native RTL (#41858)

* Remove RTLCSS dependency, update docs and CSS to use native RTL

* Rewrite more RTL stuff, was too verbose

4 months agov6: More logical properties (#41857)
Mark Otto [Fri, 7 Nov 2025 18:06:48 +0000 (10:06 -0800)] 
v6: More logical properties (#41857)

* Logical properties for borders

* More logical properties for text, position, and more

* More logical for the docs

4 months agov6: Switch to logical properties (#41854)
Mark Otto [Fri, 7 Nov 2025 05:39:23 +0000 (21:39 -0800)] 
v6: Switch to logical properties (#41854)

* Convert remaining utilities to all logical properties

* Move to logical properties

* Fix linter errors, bump bundlewatch

4 months agov6: Cleanup utilities (#41818)
Mark Otto [Thu, 6 Nov 2025 23:18:51 +0000 (15:18 -0800)] 
v6: Cleanup utilities (#41818)

* Split font utilities, update API to do more pseudo classes, drop display type classes

* Improve display docs, remove print display utils

* Document gap and grid utils, rename a couple classes

* better url

* Fix color-mix

* Undo utilities API change for now

* fix api changes

* Bundlewatch

* Linter cleanup

* Massive utilities update

- Split several utilities across smaller pages
- New underline thickness utility
- Updated text-wrap utility to use `text-wrap` property, removes white-space utils
- Adds a dozen new width utilities for now—TBD if we keep this, they're not documented yet
- Redoes the color utilities—color, background color, border color, link color—to use color-mix without attribute selectors. Faster, simpler, better support for overriding other components.
- Redesigns margin, padding, gap utils pages—shoutout Tailwind for having a better visualization here. Cribbed their approach to emphasize spacing utilities.
- Fixed up a lot of usages of color utilities, likely more to do
- Fixed up a lot of broken links, probably also more to do

* New details component, simpler a11y color contrast warning, updated docs bottom nav, updated ref tables

* Avoid name collision, update to demo thickness hover

* Rename $new-font-sizes to $font-sizes

* Update width and height docs

* Few cleanup tweaks

* Remove unused attribute selector for borders

* Fixes

* more bundle

* fixes

* spelling

* add json

4 months agov6: Drop component variants for global `.theme-*` classes (#41789)
Mark Otto [Tue, 14 Oct 2025 04:39:18 +0000 (21:39 -0700)] 
v6: Drop component variants for global `.theme-*` classes (#41789)

* New theme classes, revamped buttons

* bundle, lint, more cleanup

* update checks and radios

* Improve table theme variant usage

* remove table-border-factor

4 months agov6: Move some Getting Started content into new Guides section (#41797)
Mark Otto [Tue, 7 Oct 2025 18:00:07 +0000 (11:00 -0700)] 
v6: Move some Getting Started content into new Guides section (#41797)

* Move some docs content around

* Update links

4 months agoAdd .prose class (#41791)
Mark Otto [Tue, 7 Oct 2025 17:22:17 +0000 (10:22 -0700)] 
Add .prose class (#41791)

4 months agov6: Range media queries (#41786)
Mark Otto [Thu, 2 Oct 2025 22:24:19 +0000 (15:24 -0700)] 
v6: Range media queries (#41786)

* wip

Co-Authored-By: mdo <98681+mdo@users.noreply.github.com>
* linty linterton

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: mdo <98681+mdo@users.noreply.github.com>
4 months agoFollow up: custom switches get themes
Mark Otto [Tue, 30 Sep 2025 04:00:42 +0000 (21:00 -0700)] 
Follow up: custom switches get themes

4 months agoScope docs CSS to custom layer
Mark Otto [Sun, 28 Sep 2025 16:50:28 +0000 (09:50 -0700)] 
Scope docs CSS to custom layer

4 months agov6: Update colors and theme (#41763)
Mark Otto [Tue, 30 Sep 2025 03:32:12 +0000 (20:32 -0700)] 
v6: Update colors and theme (#41763)

* new colors

* WIP: Redo some theming

* Fix sass warnings on unquoted map keys

* Revamp colors, update docs, couple new utils

* Remove key attributes

* Bump bundlewatch

* Bundlewatch

* Fix some things up

* Clean up tables, more color changes

* Fix more table color generation, simplify markup with new Table component prop

* More docs improvements, including utilities API, and checkbox and radio theme variants

4 months agoNew validator (#41775)
Mark Otto [Sun, 28 Sep 2025 03:33:21 +0000 (20:33 -0700)] 
New validator (#41775)

* New validator

* update

* remove

* update

4 months agoFix instances of 2xl, fix utilities generation (#41774)
Mark Otto [Sun, 28 Sep 2025 01:57:05 +0000 (18:57 -0700)] 
Fix instances of 2xl, fix utilities generation (#41774)

4 months agov6: New lg, xl, and 2xl breakpoints, plus some renaming (#41770)
Mark Otto [Fri, 26 Sep 2025 21:52:16 +0000 (14:52 -0700)] 
v6: New lg, xl, and 2xl breakpoints, plus some renaming (#41770)

* Update xxl breakpoint and container, rename xxl to 2xl for better scaling

Co-Authored-By: mdo <98681+mdo@users.noreply.github.com>
* note for lg

* bump bundlewatch

---------

Co-authored-by: mdo <98681+mdo@users.noreply.github.com>