feat: write template
This commit is contained in:
commit
a0a6d2cf84
98 files changed
+6609
No files matched your search
@@ -0,0 +1,22 @@
|
||||
#import "../pallete.typ": palette
|
||||
|
||||
|
||||
|
||||
#let sideways(..args) = {
|
||||
// This rule is scoped only to this specific table
|
||||
|
||||
show table.cell.where(x: 0): strong
|
||||
show table.cell.where(y: 0): it => strong(delta: -300, it)
|
||||
|
||||
table(
|
||||
// Your existing stroke/fill logic
|
||||
fill: (_, y) => if calc.odd(y) { rgb(palette.ui.bg-dark) },
|
||||
stroke: (x, y) => (
|
||||
top: none,
|
||||
bottom: none,
|
||||
left: if x == 0 { 0pt } else if x == 1 { palette.ui.border } else { 1pt + palette.ui.border },
|
||||
right: if x == 0 { 2pt },
|
||||
),
|
||||
..args
|
||||
)
|
||||
}
|
||||
Reference in new issue
Block a user