Fix npm run docs

This commit is contained in:
Julien Déramond 2023-02-08 21:05:40 +01:00
parent e42e6f01ff
commit 85830cd384
No known key found for this signature in database
GPG Key ID: DCD226672FC08F31
1 changed files with 1 additions and 1 deletions

View File

@ -21,7 +21,7 @@ These CSS variables are available everywhere, regardless of color mode.
```css
{{< root.inline >}}
{{- $css := readFile "dist/css/bootstrap.css" -}}
{{- $match := findRE `:root,\n:host,\n\[data-bs-theme=light\] {([^}]*)}` $css 1 -}}
{{- $match := findRE `:root,\n\[data-bs-theme=light\] {([^}]*)}` $css 1 -}}
{{- if (eq (len $match) 0) -}}
{{- errorf "Got no matches for :root in %q!" $.Page.Path -}}