]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
Fix CI
authorlouismaxime.piton <louismaxime.piton@orange.com>
Fri, 15 Sep 2023 13:48:28 +0000 (15:48 +0200)
committerlouismaxime.piton <louismaxime.piton@orange.com>
Fri, 15 Sep 2023 13:48:28 +0000 (15:48 +0200)
site/content/docs/5.3/customize/css-variables.md

index 7dd0454125c7cfbad87064fedd11e9e9e68ec64f..b1871a38ab2884ff72682b791f780a6b600a9b4e 100644 (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: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 -}}