return []
},
- // TODO: this is now unused; remove later along with prev()
+ // TODO: this is now unused; remove along with prev()
next(element, selector) {
let next = element.nextElementSibling
@use "mixins/tokens" as *;
@use "mixins/transition" as *;
-// mdo-do: fix nav-link-height and navbar-brand-height, which we previously calculated with font-size, line-height, and block padding
+// TODO: fix nav-link-height and navbar-brand-height, which we previously calculated with font-size, line-height, and block padding
// stylelint-disable custom-property-no-missing-var-function
// scss-docs-start navbar-breakpoints
@use "mixins/transition" as *;
@use "mixins/tokens" as *;
-// mdo-do: Update pagination to support variant themes
+// TODO: update pagination to support variant themes (`.theme-*` role tokens)
// stylelint-disable custom-property-no-missing-var-function
$pagination-tokens: () !default;
@use "functions" as *;
@use "theme" as *;
@use "mixins/tokens" as *;
-// mdo-do: do we need theme?
+// TODO: do we need theme output here?
@layer colors, theme, config, root, reboot, layout, content, forms, components, custom, helpers, utilities;
$root-tokens: () !default;
//
@layer components {
- // mdo-do: Refactor this to assume flex parent and remove `vertical-align`
+ // TODO: refactor this to assume flex parent and remove `vertical-align`
.spinner-grow,
.spinner-border {
display: inline-block;
) !default;
// scss-docs-end theme-colors
-// mdo-do: consider using muted, subtle, ghost or something instead of linear scale?
+// TODO: decide $theme-bgs scale naming — semantic (muted/subtle/ghost) vs linear numeric
$theme-bgs: (
"body": light-dark(var(--white), var(--gray-975)),
"1": light-dark(var(--gray-025), var(--gray-950)),
kbd {
padding: 0;
font-size: 1em;
- font-weight: inherit; // mdo-do: check if this is needed
+ font-weight: inherit; // TODO: check if this is needed
}
}
// 3. Fix alignment for Safari
th {
- // font-weight: $table-th-font-weight; // 1 // mdo-do: it's null by default. maybe we remove?
+ // font-weight: $table-th-font-weight; // 1 // TODO: null by default — decide whether to remove
text-align: inherit; // 2
text-align: -webkit-match-parent; // 3
}
// Prevent excessive date input height in Webkit
// https://github.com/twbs/bootstrap/issues/34433
- // mdo-do: need to check this stuff out across browsers
+ // TODO: verify these rules across the supported browser matrix
&::-webkit-datetime-edit {
display: block;
height: 1.5rem;
@use "../config" as *;
@use "../mixins/grid" as *;
-// mdo-do
-// - check gap utilities as replacement for gutter classes from v5
+// TODO: check gap utilities as replacement for gutter classes from v5
@layer layout {
@if $enable-grid-classes {
@include make-cssgrid();
}
- // mdo-do: add to utilities?
+ // TODO: add to utilities?
.grid-cols-subgrid {
grid-template-columns: subgrid;
}
// grid-column: auto;
// }
- // mdo-do: add to utilities?
+ // TODO: add to utilities?
// .grid-cols-3 {
// --columns: 3;
// }
);
```
-<Callout type="warning">
-mdo-do: Update the content below
-</Callout>
+{/* TODO: rewrite the content below for the v6 color pipeline; drop v5-era references */}
## Generating utilities
## Theme variants
-<Callout type="info">
-@mdo-do: Add more info about theme variants here.
-</Callout>
+{/* TODO: write a real theme-variants section (how components consume --theme-* tokens, with a worked example) */}
## Responsive
<ScssDocs name="form-control-sizes" file="scss/forms/_form-control.scss" />
-{/* mdo-do: clean these up, possibly find new homes */}
+{/* TODO: clean these up, possibly find new homes */}
{/* `$input-*` are shared across most of our form controls (and not buttons).
## Custom ratios
-mdo-do: do we bring these back?
+TODO: decide whether to restore custom ratios; delete this block or reinstate the section
Each `.ratio-*` class includes a CSS custom property (or CSS variable) in the selector. You can override this CSS variable to create custom aspect ratios on the fly with some quick math on your part.