feat(glossy): add new themes, update tests, README
This commit is contained in:
6 files changed
+114
-5
No files matched your search
Binary file not shown.
|
Before Width: | Height: | Size: 384 KiB After Width: | Height: | Size: 521 KiB |
@@ -27,22 +27,32 @@
|
||||
|
||||
#show: init-glossary.with(myGlossary, show-term: (body) => [#emph(body)])
|
||||
|
||||
#text(size: 18pt, weight: "bold")[Theme Gallery]
|
||||
#set page(
|
||||
margin: 1cm,
|
||||
height: auto,
|
||||
)
|
||||
|
||||
First, we refer to each term at least once so they'll actually show up in the
|
||||
glossaries. Our terms include: @atom, @iphone, @html:cap, @css, and @tps.
|
||||
#text(size: 24pt, weight: "bold")[`glossy`: theme gallery]
|
||||
|
||||
#text(size: 1pt, fill: rgb(0,0,0,0))[
|
||||
First, we refer to each term at least once so they'll actually show up in the
|
||||
glossaries. Our terms include: @atom, @iphone, @html:cap, @css, and @tps.
|
||||
]
|
||||
#v(-2em)
|
||||
|
||||
// TODO: ask Discord if there's a way to get a symbol (ie function) name as a
|
||||
// TODO: figure out if there's a way to get a symbol (ie function) name as a
|
||||
// string or content
|
||||
#let themes = (
|
||||
("theme-academic", theme-academic),
|
||||
("theme-basic", theme-basic),
|
||||
("theme-chicago-index", theme-chicago-index),
|
||||
("theme-compact", theme-compact),
|
||||
)
|
||||
|
||||
#for theme in themes {
|
||||
block(
|
||||
breakable: false,
|
||||
width: 100%,
|
||||
spacing: 2em,
|
||||
inset: 1em,
|
||||
stroke: 1pt+gray,
|
||||
@@ -53,7 +63,7 @@ glossaries. Our terms include: @atom, @iphone, @html:cap, @css, and @tps.
|
||||
// HACK: special case theme-twocol so we can restrict the height
|
||||
#block(
|
||||
breakable: false,
|
||||
spacing: 2em,
|
||||
spacing: 1em,
|
||||
inset: 1em,
|
||||
stroke: 1pt+gray,
|
||||
height: 1.5in,
|
||||
|
||||
Reference in new issue
Block a user