Skip to content

Commit cf66ae6

Browse files
authored
🎨 style(media): update to darker colours
2 parents 8c4d014 + 776f8fa commit cf66ae6

File tree

9 files changed

+579
-176
lines changed

9 files changed

+579
-176
lines changed

‎src/_includes/css/main.css

Lines changed: 45 additions & 12 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎src/_includes/css/main.css.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎src/media/index.html

Lines changed: 434 additions & 80 deletions
Large diffs are not rendered by default.

‎src/scss/abstracts/_mixins.scss

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -292,10 +292,11 @@
292292
@include txn-ease-in-quick;
293293
}
294294

295-
@mixin bdr--orange() {
296-
border-bottom: 10px solid $orange;
295+
@mixin bdr($width: 1px, $color: $orange) {
296+
border-bottom: $width solid $color;
297297
@include txn-ease-in-quick;
298298
}
299+
299300
@mixin deco--orange() {
300301
text-decoration: wavy;
301302
text-decoration-color: $rust;

‎src/scss/abstracts/_variables.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ $neon-yellow: #f3f315;
4040
$yellow: #ffd926;
4141
$gold: #ffbc0e;
4242
$orange: #ff5327;
43-
$rust: #942f00;
43+
$rust: hsla(19, 100, 19, 1);
4444

4545
//greens
4646
$pistachio-green: #d5ffb1;

‎src/scss/base/_base.scss

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -212,6 +212,7 @@ $bg-color: (
212212
"neon-yellow": #{$neon-yellow},
213213
"ochre": #{$ochre},
214214
"midnight": #{$midnight},
215+
"rust": #{$rust},
215216
);
216217

217218
@each $name, $colour in $bg-color {

‎src/scss/base/_typography.scss

Lines changed: 21 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -440,7 +440,7 @@ p {
440440
.details {
441441
text-transform: uppercase;
442442
font-size: 0.75em;
443-
color: $black;
443+
color: $pale-peach;
444444
letter-spacing: 0.025em;
445445
padding-top: 0.5em;
446446
min-width: 100px;
@@ -551,7 +551,7 @@ $t-color: (
551551
}
552552

553553
.t-link-accent-orange {
554-
@include bdr--orange;
554+
@include bdr($orange);
555555
color: $rust;
556556
padding: 2px 0;
557557
text-decoration: none;
@@ -568,6 +568,24 @@ $t-color: (
568568
}
569569
}
570570

571+
.t-link-accent-rust {
572+
@include bdr(1px, $orange);
573+
color: $white;
574+
padding: 2px 0;
575+
text-decoration: none;
576+
&:hover {
577+
@include t-link-hover;
578+
}
579+
&:focus {
580+
@include out--rust;
581+
}
582+
583+
&--block {
584+
@extend .t-link-accent-orange;
585+
display: inline-block;
586+
}
587+
}
588+
571589
.t-ltr-stretch {
572590
@include t-uppercase;
573591
@include t-ltr-spaceout-s;
@@ -595,7 +613,7 @@ $t-color: (
595613

596614
.t-link-accent-azure {
597615
@include t-link-hover($gild);
598-
616+
599617
color: $azure;
600618
line-height: 1.25em;
601619
padding: 2px 0;

0 commit comments

Comments
 (0)