mirror of https://github.com/twbs/bootstrap.git
Fix npm run docs
This commit is contained in:
parent
e42e6f01ff
commit
85830cd384
|
@ -21,7 +21,7 @@ These CSS variables are available everywhere, regardless of color mode.
|
||||||
```css
|
```css
|
||||||
{{< root.inline >}}
|
{{< root.inline >}}
|
||||||
{{- $css := readFile "dist/css/bootstrap.css" -}}
|
{{- $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) -}}
|
{{- if (eq (len $match) 0) -}}
|
||||||
{{- errorf "Got no matches for :root in %q!" $.Page.Path -}}
|
{{- errorf "Got no matches for :root in %q!" $.Page.Path -}}
|
||||||
|
|
Loading…
Reference in New Issue