added cover page to manual + header/footer

This commit is contained in:
2024-12-23 14:25:13 +01:00
parent 6bc2819172
commit 24cb6df735
4 changed files with 76 additions and 23 deletions

View File

@ -1,20 +1,5 @@
#import "/src/lib.typ": *
#let theme = sys.inputs.at("theme", default: "default")
#set page(
width: auto,
height: auto,
margin: 1cm,
fill: if theme == "default" {white} else {none}
)
#set text(
size: 12pt,
font: "Source Sans 3",
fill: if theme == "dark" {white} else {black}
)
#let hex-abc = "0123456789abcdef"
#let g = gradient.linear(
red,
@ -47,4 +32,21 @@
#let txt = "Jumble"
#let cipher = bytes-to-hex(sha1(txt))
*sha1("#txt") =* #colorize-hex(cipher)
#let banner = [*sha1("#txt") =* #colorize-hex(cipher)]
#let theme = sys.inputs.at("theme", default: "default")
#set page(
width: auto,
height: auto,
margin: 1cm,
fill: if theme == "default" {white} else {none}
)
#set text(
size: 12pt,
font: "Source Sans 3",
fill: if theme == "dark" {white} else {black}
)
#banner