Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix: A11y - Use a darker contrast-compliant gray #396

Merged
merged 4 commits into from
Aug 6, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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>