You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Add "new" badge to Stepper
It's new.
* Remove commented out
* Rearrange docs sidebar again to remove components groups, tweak a few things
* New default components page
* Fix swatch, update some content
* Revamp how we're doing themes in docs to be more instant
---------
Co-authored-by: nextgenthemes <nextgenthemes@users.noreply.github.com>
Copy file name to clipboardExpand all lines: site/src/content/docs/customize/color-modes.mdx
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
---
2
2
title: Color modes
3
-
description: Bootstrap now supports color modes, or themes, as of v5.3.0. Explore our default light color mode and the new dark mode, or create your own using our styles as your template.
3
+
description: Bootstrap supports light and dark color modes. Dark mode is available globally by default, but can also be applied to specific components and elements via `data-bs-theme` attribute.
Copy file name to clipboardExpand all lines: site/src/content/docs/customize/theme.mdx
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
---
2
2
title: Theme
3
-
description: The Bootstrap theme is a set of semantically named colors that are used to style our components, utilities, and more. The theme is configurable, responds to color modes, and can be consumed via Sass or CSS.
3
+
description: The Bootstrap theme is a set of semantically named tokens that are used to style our components, utilities, and more. The theme is configurable, responds to color modes, and can be consumed via Sass or CSS.
Copy file name to clipboardExpand all lines: site/src/content/docs/guides/quickstart.mdx
+46-3Lines changed: 46 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,7 @@
1
1
---
2
2
title: CDN Quickstart
3
3
description: The official guide for how to include Bootstrap’s CSS and JavaScript in your project using a CDN.
4
+
toc: true
4
5
aliases:
5
6
- "/docs/[[config:docs_version]]/guides/"
6
7
- "/docs/guides/"
@@ -9,9 +10,11 @@ aliases:
9
10
10
11
Get started using Bootstrap in seconds by including our production-ready CSS and JavaScript by [using a CDN]([[docsref:/getting-started/install#cdn]]) without the need for any build steps. CDNs provide copies of Bootstrap’s codebase that’s ready to be used in any environment with minimal code changes required on your part.
11
12
12
-
<Callouttype="info">
13
-
**Got the gist already?** See the end result in this [Bootstrap CodePen demo](https://codepen.io/team/bootstrap/pen/qBamdLj).
14
-
</Callout>
13
+
## Live demo
14
+
15
+
**Already familiar with setting up HTML pages?** See the end result in this [Bootstrap CodePen demo](https://codepen.io/team/bootstrap/pen/qBamdLj).
16
+
17
+
## Steps
15
18
16
19
1.**Create a new `index.html` file in your project root.** Include the `<meta name="viewport">` tag as well for [proper responsive behavior](https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Elements/meta/name/viewport) in mobile devices.
17
20
@@ -62,3 +65,43 @@ Get started using Bootstrap in seconds by including our production-ready CSS and
62
65
```
63
66
64
67
3.**Hello, world!** Open the page in your browser of choice to see your Bootstrapped page. Now you can start building with Bootstrap by creating your own [layout]([[docsref:/layout/grid]]), adding dozens of [components]([[docsref:/components/buttons]]), and utilizing [our official examples]([[docsref:/examples]]).
68
+
69
+
## Optional font
70
+
71
+
Bootstrap's source code defaults to a [native font stack]([[docsref:/content/reboot#native-font-stack]]), but we use a custom font for our hosted documentation to for more consistent styling across platforms. We use [Geist](https://fonts.google.com/specimen/Geist) and Geist Mono, and recommend using the same or similar in your project.
72
+
73
+
1.**Add the Geist web font from Google Fonts.** Add the following to your `<head>`, before Bootstrap’s CSS:
You can also do the same in your custom Sass file should you graduate from a CDN setup to one that includes Bootstrap via a package manager.
106
+
107
+
Learn more about Bootstrap’s typography defaults in [Typography]([[docsref:/content/typography]]) and [Reboot]([[docsref:/content/reboot#native-font-stack]]).
0 commit comments