bootstrap/scss/mixins
Mark Otto fc3f4b67d6
Add dark mode support (#35857)
* Add dark mode to docs

* Minor fix: missing space indentation

* Minor fix: revert utilities/z-index added-in modification

* Remove prev: and next: from doc because extracted to another PR

* Use .bg-body-tertiary in all Utilities > Overflow examples

* fix example

* Fix up spacing examples

* Update box-shadow Sass variables and utilities to auto-adjust to color modes

* Remove unused docs class

* Refactor form styles to use CSS variable for background images on .form-check and .form-switch

* Fix docs selector

* Rename shortcut for clarity

* Heading consistency

* Reintroduce missing 4th grid item in Utilities > Spacing example

* Fix bundlewatch

* .bd-callout* rendering is OK so removing comments in the code

* Update scss/_utilities.scss

Co-authored-by: Julien Déramond <julien.deramond@orange.com>

* Fix gutters example styling

* Fix text colors on background utils docs

* redesign and fix up position marker example, which doesn't show nicely in darkmode but at least isn't broken

* fix some color utils examples

* Deprecate mixin notice

* Deprecate notice for list-group-item-variant() mixin

* Revamp new link CSS vars

* Use map-keys in some each Sass files

* Remove list-group-item-variant mixin ref in sass loop desc

* Display CSS vars scoped to our built-in dark mode

* Revert previous commit

* Fix list group variant link

* Fix typo

* Remove imports of alert/list-group mixins in scss/_mixins.scss

* Small formatting + comments removal in scss/_content.scss

* Fix alert links colors

* fix dropdown border-radius mixin

* fix link color and underline again, this time using CSS var override for color var and fallback value for the underline

* fix colors on docs navbar for dark mode

* remove two changes

* missing ref

* another link underline fix, just use sass vars for link decoration for now

* missing color bg docs, plus move dropdown override to scss

* more changes from review

* fix some examples, drop unused docs navbar styles, update docs navbar color mode to use mixin

* Few fixes around type

- Restored CSS variable for color on headings, this time with a fallback value
- In conjunction, restored and wrapped the default CSS var with a null value check
- Split headings and paragraphs docs in Reboot, elaborated on them

* Restyle custom details > summary element in docs

* Rewrite some migration docs

* fix form checks

* Fix up some navbar styling, tweak docs callout

* Fix select images, mostly for validation styling

* Clean up some migration notes, document some new form control CSS vars, mention new variables-dark in sass docs

* Update site/content/docs/5.2/components/scrollspy.md

Co-authored-by: Julien Déramond <julien.deramond@orange.com>

* Apply suggestions from code review

Co-authored-by: Julien Déramond <julien.deramond@orange.com>

* mention form control css vars in migration guide

* Tweak grid and flex docs background examples

* clarify some docs

* fix some more things

Co-authored-by: Julien Déramond <juderamond@gmail.com>
Co-authored-by: Julien Déramond <julien.deramond@orange.com>
2022-11-28 22:30:26 -08:00
..
_alert.scss Add dark mode support (#35857) 2022-11-28 22:30:26 -08:00
_backdrop.scss Variablize backdrop for modal and offcanvas 2021-06-25 13:41:15 -07:00
_banner.scss Bump version to 5.2.3 2022-11-21 20:15:33 +02:00
_border-radius.scss Add Sass docs (variables, mixins, and loops) to most pages (#32747) 2021-02-10 19:29:59 -08:00
_box-shadow.scss box-shadow() mixin allow 'null' and drop support 'none' with multiple args (#30394) 2020-08-04 21:51:19 +03:00
_breakpoints.scss Update _breakpoints.scss 2022-04-20 11:24:43 -07:00
_buttons.scss Add CSS custom property: --bs-btn-disabled-border-color to mixin: button-outline-variant 2022-07-11 01:38:05 -07:00
_caret.scss Add parameters to the caret mixin 2022-10-03 11:19:56 -07:00
_clearfix.scss Create `scss-docs` shortcode to get some snippets from the Scs… (#30502) 2020-04-06 20:13:35 +02:00
_color-mode.scss Add dark mode support (#35857) 2022-11-28 22:30:26 -08:00
_color-scheme.scss refactor(color-scheme): reduce complexity 2021-04-14 13:16:01 -07:00
_container.scss Add additional root variables, rename `$variable-prefix` to `$prefix` (#35981) 2022-03-13 10:13:09 -07:00
_deprecate.scss Add default value for `$ignore-warning` (#28103) 2019-01-23 05:59:15 +02:00
_forms.scss Add dark mode support (#35857) 2022-11-28 22:30:26 -08:00
_gradients.scss Add additional root variables, rename `$variable-prefix` to `$prefix` (#35981) 2022-03-13 10:13:09 -07:00
_grid.scss Fix typos in code (#36763) 2022-07-18 13:30:29 -07:00
_image.scss Drop deprecated img-retina mixin (#28459) 2019-03-12 09:47:36 +02:00
_list-group.scss Add dark mode support (#35857) 2022-11-28 22:30:26 -08:00
_lists.scss Extract list-unstyled mixin; closes #17792 2015-10-13 01:24:11 -07:00
_pagination.scss Stylelint: Disable `custom-property-empty-line-before` 2022-05-22 19:58:14 -07:00
_reset-text.scss Update stylelint and stylelint-config-twbs-bootstrap (#35438) 2021-12-14 09:51:31 +02:00
_resize.scss Update scss mixins to comply with scss-linting rules (#22151) 2017-03-18 13:06:05 -07:00
_table-variants.scss Don't redefine `$border-color` in `table-variant` mixin (#37239) 2022-10-02 16:33:11 +02:00
_text-truncate.scss Update scss mixins to comply with scss-linting rules (#22151) 2017-03-18 13:06:05 -07:00
_transition.scss Update stylelint to v13.7.2 (#31726) 2020-09-28 14:57:48 +03:00
_utilities.scss Fix typos after #36762 (#36771) 2022-07-29 21:49:01 +02:00
_visually-hidden.scss Update a URL mentioning dead name (#34937) 2021-09-09 14:42:45 +03:00