Skip to content

Commit

Permalink
Design feedback fine-tunes
Browse files Browse the repository at this point in the history
  • Loading branch information
albinazs committed Jan 27, 2025
1 parent 315ee0b commit 0977858
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 21 deletions.
Original file line number Diff line number Diff line change
@@ -1 +1 @@
<h2 class="heading heading--two-b heading--light grid__heading">{{ value }}</h2>
<h2 class="heading heading--two-b grid__heading">{{ value }}</h2>
Original file line number Diff line number Diff line change
@@ -1 +1 @@
<h3 class="heading heading--three heading--light grid__heading">{{ value }}</h3>
<h3 class="heading heading--three grid__heading">{{ value }}</h3>
Original file line number Diff line number Diff line change
@@ -1,19 +1,9 @@

<ul class="stats stats--numeric grid__stats">
{% for stat in value %}
<li class="stats__stat">
<span class="stats__number">
{{ stat.headline_number }}
</span>
<span class="stats__description">
{{ stat.description }}
</span>
{% if stat.further_details %}
<span class="stats__details">
{{ stat.further_details }}
</span>
{% endif %}
<span class="stats__number heading heading--mega">{{ stat.headline_number }}</span>
<span class="stats__description">{{ stat.description }}</span>
{% if stat.further_details %}<span class="stats__details">{{ stat.further_details }}</span>{% endif %}
</li>
{% endfor %}
</ul>

2 changes: 1 addition & 1 deletion tbx/static_src/sass/base/_typography.scss
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ html {
color: var(--color--heading);
font-style: inherit;
font-weight: inherit;
letter-spacing: -1px;
}

@mixin quote-text() {
Expand Down Expand Up @@ -69,6 +68,7 @@ h6 {

&--mega {
@include font-size(size-zero);
letter-spacing: -1px;
}

&--one {
Expand Down
1 change: 0 additions & 1 deletion tbx/static_src/sass/components/_stats.scss
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,6 @@
}

&__number {
@include font-size(size-zero);
color: var(--color--theme-primary);
display: block;
font-weight: $weight--semibold;
Expand Down
6 changes: 2 additions & 4 deletions tbx/static_src/sass/config/_mixins.scss
Original file line number Diff line number Diff line change
Expand Up @@ -347,23 +347,21 @@
}
}

@mixin ring-one($top: 8px, $color: var(--color--theme-primary)) {
@mixin ring-one($top: 8px, $color: var(--color--theme-secondary)) {
top: $top;
color: $color;
}

@mixin ring-two($top: 8px, $color: var(--color--theme-secondary)) {
@mixin ring-two($top: 8px, $color: var(--color--theme-primary)) {
left: $top;
color: $color;
}

@mixin ring-one-hover() {
color: var(--color--theme-secondary);
opacity: 1;
}

@mixin ring-two-hover() {
color: var(--color--theme-primary);
opacity: 1;
}

Expand Down

0 comments on commit 0977858

Please sign in to comment.