This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| {{/* This uses graphQL instead of REST | |
| It returns a map of "blocks" so issues can be passed into the blocks loop instead of needing its own system | |
| If we decide we like this better, we should probably systematise this and store | |
| the graphql queries in their own dir | |
| https://docs.github.com/en/graphql/reference/objects#issue | |
| This exact matches on labels unlike the current system which partial matches inside Hugo | |
| We did that because PD kept making partially matching labels, but maybe we should be stricter | |
| TODO But it means someone has to go round and clean up | |
| */}} | |
| {{ $variables := dict |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| :root { | |
| --theme-type-display: "Roboto Mono", Monaco, system-ui, serif; | |
| --theme-type-copy: var(--theme-type-display); | |
| --theme-type-size: 1rem; | |
| --theme-type-scale: 0.75; | |
| } | |
| // headings | |
| //set up your hierarchy with an iterable SASS list - it's a bit like an array in JavaScript | |
| //https://sass-lang.com/documentation/modules/list |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| .card.red { | |
| background: red; | |
| } | |
| .card.red.mix--blue { | |
| background: #0d00f2; | |
| } | |
| .card.blue { | |
| background: blue; | |
| } | |
| .card.blue.mix--red { |