mirror of
https://github.com/twbs/bootstrap.git
synced 2025-02-23 20:54:22 +01:00
Fix CI
This commit is contained in:
parent
f593534918
commit
3eb4f58824
@ -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:root\[data-bs-theme=light\] \[data-bs-theme=body\],\n\[data-bs-theme=light\] {([^}]*)}` $css 1 -}}
|
||||
{{- $match := findRE `\[data-bs-theme=light\] {([^}]*)}` $css 1 -}}
|
||||
|
||||
{{- if (eq (len $match) 0) -}}
|
||||
{{- errorf "Got no matches for :root in %q!" $.Page.Path -}}
|
||||
|
Loading…
x
Reference in New Issue
Block a user