diff --git a/docs/cookery/book.typ b/docs/cookery/book.typ index e25c4cff..94acecc8 100644 --- a/docs/cookery/book.typ +++ b/docs/cookery/book.typ @@ -1,8 +1,11 @@ #import "@preview/book:0.2.2": * +#import "./templates/page.typ": main-color #show: book +#let main-color = main-color + // #let section-numbers = state("book-section", ()) #let section-numbers = () diff --git a/docs/cookery/templates/page.typ b/docs/cookery/templates/page.typ index f1c92517..cebba173 100644 --- a/docs/cookery/templates/page.typ +++ b/docs/cookery/templates/page.typ @@ -100,6 +100,8 @@ // set text style set text(font: main-font, size: 16pt, fill: main-color, lang: "en") + set line(stroke: main-color) + // render a dash to hint headings instead of bolding it. show heading : set text(weight: "regular") if is-web-target show heading : it => locate(loc => {