Skip to content

Commit 1b048fd

Browse files
authored
🎨 style(writing): streamline colour palette, type
style(writing): streamline colour palette, type
2 parents 882eb42 + 8b698fc commit 1b048fd

File tree

8 files changed

+40
-28
lines changed

8 files changed

+40
-28
lines changed

‎src/_includes/_writing.njk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<div class="wrapper">
33
<div class="grid-whole@xs grid-half@s grid-half@m grid-half@l grid-half@xl">
44
<div>
5-
<h1 class="t-eyebrow t-thiccfont@xs t-thiccfont@s t-thiccfont@m t-thiccfont@l t-thiccfont@xl t-royal-blue t-space-strip">
5+
<h1 class="t-eyebrow t-thiccfont@xs t-thiccfont@s t-thiccfont@m t-thiccfont@l t-thiccfont@xl t-azure t-space-strip">
66
Selected Writings</h1>
77
<p class="t-thiccfont@xs t-thiccfont@s t-ultrachonkfont@m t-ultrachonkfont@l t-ultrachonkfont@xl t-height-tight
88
t-serifweight t-white t-height-tight t-space-strip mb-teeny">

‎src/_includes/css/main.css

Lines changed: 18 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/scss/base/_base.scss

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -211,6 +211,7 @@ $bg-color: (
211211
"pale-peach": #{$pale-peach},
212212
"neon-yellow": #{$neon-yellow},
213213
"ochre": #{$ochre},
214+
"midnight": #{$midnight},
214215
);
215216

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

‎src/scss/base/_typography.scss

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -373,12 +373,12 @@ article blockquote {
373373
border-left: 10px solid $pink;
374374
padding: 1em;
375375
p:first-of-type:before {
376+
@include t-ltr-spaceout-m;
376377
content: "Note";
377378
color: $fuchsia;
378379
display: block;
379380
font-family: $sans-serif-bold;
380381
font-size: 1em;
381-
letter-spacing: 0.2em;
382382
margin: 0;
383383
padding: 0;
384384
text-transform: uppercase;
@@ -594,13 +594,14 @@ $t-color: (
594594
}
595595

596596
.t-link-accent-azure {
597-
@include bdr--white;
597+
@include t-link-hover($gild);
598+
598599
color: $azure;
599600
line-height: 1.25em;
600601
padding: 2px 0;
601602
text-decoration: none;
602603
&:hover {
603-
@include t-link-hover($gild);
604+
@include bdr--white;
604605
}
605606

606607
&:focus {
@@ -631,7 +632,7 @@ $t-color: (
631632
}
632633

633634
.t-titlingfont {
634-
font-family: $sans-serif-bold;
635+
font-family: $sans-serif-accent;
635636
font-size: 1.25em;
636637
text-transform: uppercase;
637638
}

‎src/scss/layout/_header.scss

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -43,39 +43,43 @@
4343

4444
a {
4545
border-bottom: none;
46-
&:focus {
46+
&:focus-visible {
4747
@include out--yellow;
4848
}
4949
}
5050
}
5151

5252
.dark {
5353
color: $black;
54-
54+
@include t-ltr-spaceout-s;
5555
@include t-uppercase;
5656
@include bdr--pink;
5757
text-decoration: none;
5858
font-size: .85rem;
59+
font-family: $sans-serif-accent;
5960
padding: .3rem 0;
61+
6062
&:hover {
61-
@include bdr--pink;
63+
@include bdr--white;
6264
}
6365

64-
&:focus {
66+
&:focus-visible {
6567
@include out--blue;
6668
}
6769

6870
}
6971

7072
.light {
71-
color: $white;
73+
color: $white;
74+
@include t-ltr-spaceout-s;
7275
@include t-uppercase;
7376
@include bdr--pink;
7477
text-decoration: none;
7578
font-size: .85rem;
79+
font-family: $sans-serif-accent;
7680
padding: .3rem 0;
7781
&:hover {
78-
@include bdr--pink;
82+
@include bdr--white;
7983
}
8084

8185
&:focus {

‎src/scss/pages/_writing.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
height: 5em;
1818
background: linear-gradient(45deg, transparent 50%, $midnight 50%),
1919
linear-gradient(90deg, transparent 50%, $green 50%),
20-
linear-gradient(135deg, $midnight 50%, $leaf-green 50%), 0 50%;
20+
linear-gradient(135deg, $midnight 50.25%, $leaf-green 50%), 0 50%;
2121
background-repeat: repeat-x;
2222
background-size: 5em 5em, 5em 5em;
2323
}

‎src/writing/index.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@
66
- nav
77
navtitle: Writing
88
templateClass: content
9-
navClass: bg-baby-blue
10-
bgColor: baby-blue
11-
colorMode: dark
9+
navClass: bg-midnight
10+
bgColor: midnight
11+
colorMode: light
1212
linkColour: orange
1313
canonical: https://www.tatianamac.com/writing
1414
---

0 commit comments

Comments
 (0)