Skip to content

Commit

Permalink
Dark mode: fix list group documentation (#2435)
Browse files Browse the repository at this point in the history
  • Loading branch information
julien-deramond committed Dec 26, 2023
1 parent 94455ab commit 9abadbb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions site/content/docs/5.3/components/list-group.md
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ Use contextual classes to style list items with a stateful icon.
{{- range (index $.Site.Data "palette") }}
{{- if (eq .category "Functional colors") }}
{{- range (index .colors) }}
<li class="list-group-item list-group-item-{{ .name }}">A simple {{ .name }} list group item</li>
<li class="list-group-item list-group-item-{{ .name | lower }}">A simple {{ .name }} list group item</li>
{{- end -}}
{{- end -}}
{{- end -}}
Expand All @@ -198,7 +198,7 @@ Contextual classes also work with `.list-group-item-action` for `<a>` and `<butt
{{- range (index $.Site.Data "palette") -}}
{{- if (eq .category "Functional colors") -}}
{{- range (index .colors) }}
<a href="#" class="list-group-item list-group-item-action list-group-item-{{ .name }}">A simple {{ .name }} list group item</a>
<a href="#" class="list-group-item list-group-item-action list-group-item-{{ .name | lower }}">A simple {{ .name }} list group item</a>
{{- end -}}
{{- end -}}
{{- end -}}
Expand Down

0 comments on commit 9abadbb

Please sign in to comment.