Skip to content

Commit

Permalink
Docs: fix 'Usage > Enable dark mode' code example (#37553)
Browse files Browse the repository at this point in the history
  • Loading branch information
julien-deramond authored Nov 29, 2022
1 parent 0444d2c commit 93c09e7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions site/content/docs/5.2/customize/color-modes.md
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down

0 comments on commit 93c09e7

Please sign in to comment.