aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulien Déramond <[email protected]>2022-11-29 08:38:27 +0100
committerGitHub <[email protected]>2022-11-29 08:38:27 +0100
commit93c09e703494575d2025c9a93356e523f0c4df4c (patch)
tree84f8a55c6d7f80e5da49dcb67d39ed2fe6baf273
parent0444d2cfe53390d6eaf86e8a6f6976309bb0ad25 (diff)
downloadbootstrap-93c09e703494575d2025c9a93356e523f0c4df4c.tar.xz
bootstrap-93c09e703494575d2025c9a93356e523f0c4df4c.zip
Docs: fix 'Usage > Enable dark mode' code example (#37553)
-rw-r--r--site/content/docs/5.2/customize/color-modes.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/site/content/docs/5.2/customize/color-modes.md b/site/content/docs/5.2/customize/color-modes.md
index a127143ab..929075cbb 100644
--- a/site/content/docs/5.2/customize/color-modes.md
+++ b/site/content/docs/5.2/customize/color-modes.md
@@ -137,14 +137,14 @@ Enable the built in dark color mode across your entire project by adding the `da
```html
<!doctype html>
-<html lang="en">
+<html lang="en" data-bs-theme="dark">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Bootstrap demo</title>
<link href="{{< param "cdn.css" >}}" rel="stylesheet" integrity="{{< param "cdn.css_hash" >}}" crossorigin="anonymous">
</head>
- <body data-bs-theme="dark">
+ <body>
<h1>Hello, world!</h1>
<script src="{{< param "cdn.js_bundle" >}}" integrity="{{< param "cdn.js_bundle_hash" >}}" crossorigin="anonymous"></script>
</body>