Skip to content

Commit

Permalink
Create and apply .text-muted-color
Browse files Browse the repository at this point in the history
  • Loading branch information
lucasrla committed Apr 13, 2022
1 parent 6cbb6bd commit aa9665a
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 4 deletions.
4 changes: 3 additions & 1 deletion _includes/related.html
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,9 @@ <h3 class="top-x-spacer">
{{- post.title | escape -}}
</a>
<br/>
<span>{{- post.description | smartify -}}</span>
<span class="text-muted-color">
{{- post.description | smartify -}}
</span>
</li>

{% assign postsCounter = postsCounter | plus: 1 %}
Expand Down
2 changes: 1 addition & 1 deletion _layouts/archive-item.html
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ <h1>
<a class="slightly-bold" href="{{ post.url | relative_url }}">
{{- post.title | escape -}}
</a><br/>
<span>{{- post.description | smartify -}}</span>
<span class="text-muted-color">{{- post.description | smartify -}}</span>
</div>
</li>
{%- endfor -%}
Expand Down
8 changes: 6 additions & 2 deletions _sass/_utilities.scss
Original file line number Diff line number Diff line change
Expand Up @@ -28,12 +28,16 @@
color: color("link");
}

.border-color {
color: color("ui-border");
}

.text-color {
color: color("txt");
}

.border-color {
color: color("ui-border");
.text-muted-color {
color: color("txt-muted");
}

.muted {
Expand Down

0 comments on commit aa9665a

Please sign in to comment.