Skip to content

Commit 1a1dc94

Browse files
committed
docs: replace prefix in CSS Vars documentation
1 parent e08a576 commit 1a1dc94

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

docs/layouts/shortcodes/scss-docs.html

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,10 @@
4545
{{- $match = replace $match " !default" "" -}}
4646
{{- end -}}
4747

48+
{{- if in $name "css-vars" -}}
49+
{{- $match = replace $match "--#{$prefix}" "--cui-" -}}
50+
{{- end -}}
51+
4852
{{- $format := (index (complement .Page.AlternativeOutputFormats .Page.OutputFormats) 0).Name -}}
4953

5054
{{- if eq $format "markdown" -}}

0 commit comments

Comments
 (0)