Rick Cogley's Tech Logr

Short Technical Laser Bursts %%

RC Logr 20190401 055127

Monday, 1 Apr, 2019

Welcome to April. The color palette on my Logr site this month was picked thinking of the pinks of 桃 «Momo», Sakura and Plum blossoms as well as the beautiful greens of breaking spring. The birds are singing in our back yard and the uguisu is back too. Ah spring! 🌸

Hugo Pipes is what enables weaving Sass variables into site code, to make it super simple to change the color scheme with a couple variables to define the scheme for the month.

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
...
{{ else if eq $mnth "March" }}
$textHilite: #b385d6 !default;
$codeBgColor: #f3ecf8 !default;
$one: #66308e !default;
$two: #a0cf89 !default;
$three: #c804fe !default;
$four: #1c0d27 !default;
$topbannerimage: "Cogley-Banner-PapaBubble-Candy-2.jpg";

{{ else if eq $mnth "April" }}
$textHilite: #63fbef !default;
$textHilite: $yellow !default;
$codeBgColor: #fee9eb !default;
$one: #FB636F !default;
$two: #A9D14A !default;
$three: #f60619 !default;
$four: #230104 !default;
$topbannerimage: "Cogley-Banner-Hiratsuka-Beach-Windsurfers.jpg";
...

RC Logr 20190401 055127 - Welcome to April. The color … Rick Cogley
Back to Home