Skip to content

Commit

Permalink
Fix: A11y - Use a darker contrast-compliant gray (#396)
Browse files Browse the repository at this point in the history
  • Loading branch information
machikoyasuda authored Aug 6, 2024
2 parents f9b50ef + 670479e commit ed446d8
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 4 deletions.
4 changes: 4 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,9 @@
"editor.tabSize": 2,
"files.associations": {
"*.html": "liquid"
},
"[liquid]": {
"editor.defaultFormatter": "sissel.shopify-liquid",
"editor.formatOnSave": true
}
}
13 changes: 9 additions & 4 deletions src/_includes/article.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@
{% assign url = item.url %}
{% endif %}
{% else %}
{% assign url = item.url %}
{% assign url = item.url
%}
{% if item.external %}
{% assign url = item.external %}
{% endif %}
Expand All @@ -19,12 +20,16 @@
href="{{ url }}"
{% if item.external %}
target="_blank"
{% endif %}>{{ item.title }}</a>
{% endif %}>
{{- item.title -}}
</a>
<br/>
<span class="text-secondary font-poppins fs-7">
<span class="text-body-tertiary font-poppins fs-7">
{% if item.outlet %}
{{ item.outlet }} |{% endif %}
{% if item.tags.size > 0 %}
{{ item.tags | join: ", " }} |{% endif %}
{% include date.html date=item.date format = "%b %Y" %}</span>
{%
include date.html date=item.date format = "%b %Y" -%}
</span>
</article>

0 comments on commit ed446d8

Please sign in to comment.