Skip to content

Commit

Permalink
Updated color of check icon for summary list variant in list component (
Browse files Browse the repository at this point in the history
#3325)

* changes in summary list

* changes as per comments
  • Loading branch information
SriHV authored Sep 3, 2024
1 parent 650f48a commit 7339220
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/list/_macro.njk
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@

{%- if item.prefix or (params.iconPosition == 'before') -%}
<span
class="ons-list__prefix {{ 'ons-list__prefix--icon-check' if params.variants == 'summary' and params.iconType == 'check' }}"
class="ons-list__prefix{{ ' ons-list__prefix--icon-check' if params.variants == 'summary' and itemIconType == 'check' }}"
{% if listEl != 'ol' %}aria-hidden="true"{% endif %}
>
{%- if item.prefix -%}
Expand Down Expand Up @@ -90,7 +90,7 @@
{%- endif -%}
{%- if item.suffix or (params.iconPosition == 'after') -%}
<span
class="ons-list__suffix {{ 'ons-list__suffix--icon-check' if params.variants == 'summary' and params.iconType == 'check' }}"
class="ons-list__suffix{{ ' ons-list__suffix--icon-check' if params.variants == 'summary' and itemIconType == 'check' }}"
{% if listEl != 'ol' %}aria-hidden="true"{% endif %}
>
{%- if item.suffix -%}
Expand Down

0 comments on commit 7339220

Please sign in to comment.