aboutsummaryrefslogtreecommitdiff
path: root/site/content/docs/5.0/customize
AgeCommit message (Collapse)AuthorFilesLines
2021-08-04Prepare v5.1.0. (#34674)v5.1.0XhmikosR7-757/+0
2021-08-03Document the utility API's new css-var booleanMark Otto1-2/+2
Co-Authored-By: Gaël Poupard <[email protected]>
2021-08-03Add and document additional :root CSS variablesMark Otto1-1/+5
- Adds grayscale colors - Adds root and body variables Note that some Sass variables default to `null`, so as we generate and use the CSS variable, we'll be potentially adding some lines of code.
2021-07-26Make note of _root.scss being requiredMark Otto1-6/+6
2021-07-26Update the custom Sass import docs (#34573)Mark Otto1-2/+7
Now includes mentino of the two utilities stylesheets, plus how and why to include the API stylesheet last Fixes #34397 Co-authored-by: XhmikosR <[email protected]>
2021-07-12Added new Offcanvas file to import exampleEric Horstmanshof1-0/+1
Added the new B5 Offcanvas component in the import examples.
2021-07-06Add maps for all colors, document how to extend color utilities (#32319)Mark Otto1-0/+42
* Add maps for all colors, document how to extend color utilities * Updates to make this more functional for v5 - Moves color maps into _variables.scss for now (felt weird to split them out when the variables are there) - Adds a new function, map-merge-multiple(), and updates docs that reference combo-map - Updates code snippet and docs guidance about how to extend the color utils to handle this * Update site/content/docs/5.0/customize/color.md Co-authored-by: Gaël Poupard <[email protected]> Co-authored-by: XhmikosR <[email protected]>
2021-06-13docs: update overview.md to fix typoLuke Ingalls1-1/+1
2021-06-03docs(customize): missed explanations for overrides (#34179)Gaël Poupard1-3/+1
Closes #34176 Co-authored-by: XhmikosR <[email protected]>
2021-06-02Fix typo ("theses"→ "these")Anirvan Chatterjee1-1/+1
2021-04-10Add color-scheme mixinMark Otto1-0/+22
2021-03-16Updates customize Sass docs to reflect proper placement of default variables ↵Mark Otto1-9/+17
overrides
2021-03-10Update the "Nonblocking files" section in the docsMartin Choutka1-1/+12
Added few paragraphs about optimizing FCP times, deferring non-critical JS and CSS, may update in the future again
2021-02-16overview: add missing EOF newline (#33098)XhmikosR1-1/+1
2021-02-09Docs on enforcing HTTPS and avoiding mixed content (#33017)Philip Kiely1-2/+4
Co-authored-by: XhmikosR <[email protected]>
2021-02-03Fix default value for `$enable-deprecation-messages` (#32940)Stanisław Gregor1-1/+1
* Update the default value for $enable-deprecation-messages As seen in the https://github.com/twbs/bootstrap/blob/main/scss/_variables.scss, the $enable-deprecation-messages variable is set to `true` by default. * Update site/content/docs/5.0/customize/options.md Co-authored-by: Gaël Poupard <[email protected]> Co-authored-by: XhmikosR <[email protected]> Co-authored-by: Gaël Poupard <[email protected]>
2021-02-03Update docs for color and bg utilitiesMark Otto1-1/+1
- Split colors from background utilities with new docs page - Add Sass docs for both pages
2021-01-14Clarifies Sass variable defaults, adds bootstrap-npm-starter callout (#32795)Mark Otto1-3/+21
* Clarify Sass import and customize docs for how to modify variable defaulst * Add an npm starter project callout to a few pages * Update callout-info-npm-starter.md Co-authored-by: XhmikosR <[email protected]>
2021-01-14Docs v5: Fix Sass rounding precision and state Sass implementation (#32512)voltaek1-1/+1
* Add Sass section to Getting Started > Build Tools, mention Sass implementation used, mention current precision of 10 due to Dart Sass, and mention recommended minimum precision (value of 6 used in BS v4). Remove outdated Sass precision from Customize > Sass docs page. * Remove more mentions of deprecated Sass implementations. Add links to Sass compiler mentions so we can keep all pertinent Sass compiler information in just one location instead of spread through the docs, which makes it hard to find the details and/or keep them up-to-date. Co-authored-by: XhmikosR <[email protected]>
2021-01-14Add mention of CSPs and SVGs (#32759)Mark Otto1-0/+15
Co-authored-by: XhmikosR <[email protected]>
2021-01-07Clarify the `$enable-shadows` option in our docs (#32685)Mark Otto1-1/+1
Co-authored-by: XhmikosR <[email protected]>
2020-12-04docs(examples): new cheatsheet and RTL examplesGaël Poupard1-1/+1
2020-11-21Be consistent with Popper's name. (#32224)XhmikosR1-2/+2
The npm package is named "popper.js" but the project is named "Popper", so use the latter consistently.
2020-10-31Contrast colors added to theme-colors (#30044)Sead Memic1-1/+1
* Contrast colors added to theme-colors * redundant colors removed froms docs, theme-colors refactor * Add spaces for consistency * Adapt to the recent changes Co-authored-by: Sead Memic <[email protected]> Co-authored-by: XhmikosR <[email protected]>
2020-10-20Update optimize.mdXhmikosR1-3/+4
For some weird reason, using "Exports" as the callout header leads to TypeError coming from clipboard.js
2020-10-20mention default export in our docs optimize sectionJohann-S1-11/+22
2020-10-20Update docs example on how to optimize JavaScript bundlePascal Pepe1-6/+12
2020-10-19docs: switch to fenced codeblocks (#31806)XhmikosR4-40/+40
2020-10-19docs: switch to suggesting jsDelivr as a CDN (#31894)XhmikosR1-1/+1
2020-10-13Revert "Improve callout shortcode. (#31802)" (#31871)XhmikosR1-6/+6
This reverts commit 5c6925385ee926a749ead6a4f2ebbfc64e701f36.
2020-10-13Colors rewrite (#30622)Martijn Cuppens1-5/+9
2020-10-12Improve callout shortcode. (#31802)XhmikosR1-6/+6
Remove the `markdownify` call, and instead rely on Hugo's proper syntax; `{{% callout %}}` when we want to the content to be processed as Markdown. This allows for stuff like: {{% callout info %}} ##### I'm an info callout! ```css .foo { color: #fff; } ``` {{< example >}} <div class="alert alert-warning alert-dismissible fade show" role="alert"> <strong>Holy guacamole!</strong> You should check in on some of those fields below. <button type="button" class="btn-close" data-dismiss="alert" aria-label="Close"></button> </div> {{< /example >}} {{% /callout %}}
2020-10-05docs: fix contrast color against `.bg-info` (#31839)Gaël Poupard1-1/+1
* docs(badge): ensure info badge's contrast * docs(colors): fix contrasts in example using .bg-info * Update card.md Co-authored-by: XhmikosR <[email protected]>
2020-09-15Mention the quotes requirement in the docs tooMark Otto1-1/+1
2020-09-01docs: Fix typo on Customize -> Color page (#31556)Alex Plescan1-1/+1
Co-authored-by: XhmikosR <[email protected]>
2020-07-11Fix docs sass importing example.Florian Lacreuse1-1/+2
2020-06-20Correctly document how to add to Sass maps (#31107)Mark Otto1-2/+6
Fixes #31089. Co-authored-by: XhmikosR <[email protected]>
2020-06-16Fix BootstrapCDN's name (#31049)XhmikosR1-1/+1
2020-06-16Fix a broken link and a redirect. (#31045)XhmikosR1-1/+1
2020-05-20docs(customize/sass): dark color-contrast is #212529 as of nowGaël Poupard1-1/+1
2020-05-20docs(customize/colors): dump grays swatches (unused) and merge -500 in swatchesGaël Poupard1-1/+1
2020-05-20docs(contrasts): move content after rebasing masterGaël Poupard2-3/+5
2020-05-18More Markdownlint fixesXhmikosR1-2/+2
2020-05-13Bump version to 5.0.0-alpha1 (#29925)XhmikosR7-0/+602
Also add v4.5.0 in versions and keep README.md pointing to v4.5.0 so that there are no broken stuff.