Skip to content

Commit

Permalink
Fix typography
Browse files Browse the repository at this point in the history
  • Loading branch information
jbro committed Jan 9, 2025
1 parent bca0a58 commit ba35795
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 4 deletions.
6 changes: 6 additions & 0 deletions include/elements.typ
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,12 @@
]
)

#let non-titled-box(contents, text-size: 12pt,) = box(stroke: 2pt + gray, inset: 6pt, radius: 5pt, width: 100%,
[
#contents
]
)

#let task-lines(count) = {
let line = (mark: rotate(30deg, text(fill: gray, "󰋙")), line: [#line(start: (0em, 1em), length: 100%)])
[
Expand Down
2 changes: 1 addition & 1 deletion work-daily-notes.typ
Original file line number Diff line number Diff line change
Expand Up @@ -34,5 +34,5 @@
)

#titled-box(title: "Notes",
note-lines(20)
note-lines(19)
)
6 changes: 3 additions & 3 deletions work-notes.typ
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
#import "include/a5x-template.typ": template
#show: doc => template(doc)

#import "include/elements.typ": titled-box, note-lines
#import "include/elements.typ": non-titled-box, note-lines

#grid(columns: (1fr, 220pt),
[
#set text(size: 20pt)
#h(5pt)
Notes
],
titled-box(title: "", text(size: 24pt, v(1em))),
non-titled-box(text(size: 24pt, v(1em))),
)

#titled-box(title: "", note-lines(21))
#non-titled-box(note-lines(21))

0 comments on commit ba35795

Please # to comment.