Skip to content

Commit

Permalink
fix chip label in lyne overview
Browse files Browse the repository at this point in the history
  • Loading branch information
mcilurzo committed Jan 8, 2025
1 parent d3ddb10 commit afde8b1
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@


{% for category in categories %}
<li class="components-title"><sbb-chip color="granite" size="xs">{{category}}</sbb-chip></li>
<li class="components-title"><sbb-chip-label color="granite" size="xs">{{category}}</sbb-chip-label></li>
{% for component, entry in componentsPages | sortLyneComponentsByOrder %}
{% set componentData = entry.config %}
{% if (category|length) and (category == componentData.category) and (componentData.showInFirstLevel == true) %}
Expand Down
2 changes: 1 addition & 1 deletion src/_includes/lyne-component-list/sidebar.njk
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
</div>

<ul id="scroll-position" class="component-list list component tree">
<li class="components-title"><sbb-chip color="granite" size="xs">Design Tokens</sbb-chip></li>
<li class="components-title"><sbb-chip-label color="granite" size="xs">Design Tokens</sbb-chip-label></li>
{% set basicPages = collections[dscomponents] | include("data.parent", dsbasics) | sortByOrder %}
{%- for entry in basicPages %}
{% include "./overview-item-token.njk" %}
Expand Down
2 changes: 1 addition & 1 deletion src/_includes/lyne-overview/overview.njk
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
</div>
<ul class="component-list list overview tree">
{% if basics == true and components == true %}
<li class="components-title"><sbb-chip color="granite" size="xs">Design Tokens</sbb-chip></li>
<li class="components-title"><sbb-chip-label color="granite" size="xs">Design Tokens</sbb-chip-label></li>
{% endif %}
{% if basics == true %}
{% set basicPages = collections[dscomponents] | include("data.parent", dsbasics) | sortByOrder %}
Expand Down

0 comments on commit afde8b1

Please sign in to comment.