fix(glossy): clean up themes, update tests, README

This commit is contained in:
swaits committed 2024-12-05 01:08:43 +01:00
1 parent 006bf65247
commit db46a5e025
7 files changed
+15 -9

No files matched your search

@@ -73,6 +73,7 @@
spacing: 0.4em,
grid(
columns: (auto, 1fr, auto),
align: left+bottom,
gutter: 0.5em,
// Term and description column
box[#term#entry.label#long-form #description],
+4 -6
View File
@@ -60,13 +60,11 @@
size: 0.75em,
weight: "light",
grid(
columns: (auto,auto,auto,1fr,1em,auto),
align: (left, left, left, center, center, right),
[#short-display#entry.label], // Term with label
[#long-display], // Long form (if any)
[#description], // Description (if any)
columns: (auto,1fr,1em,auto),
align: (left, center, center, right),
[#short-display#entry.label#long-display#description], // Term with label
[#repeat(h(0.25em) + "." + h(0.25em))], // Dotted leader line
[ . ], // Final dot
[ . ], // A 1em wide dot so we definitely get some break between term and pages
[#entry.pages] // Page references
)
)
Binary file not shown.

Before

Width:  |  Height:  |  Size: 606 KiB

After

Width:  |  Height:  |  Size: 606 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 259 KiB

After

Width:  |  Height:  |  Size: 259 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 339 KiB

After

Width:  |  Height:  |  Size: 384 KiB

@@ -6,11 +6,18 @@
long: "Hypertext Markup Language",
description: "A standard language for creating web pages",
),
iphone: (
short: "iPhone",
description: "Revolutionized phones."
),
css: (
short: "CSS",
long: "Cascading Style Sheets",
description: "A language used for describing the presentation of a document",
),
atom: (
short: "atom",
),
tps: (
short: "TPS",
long: "test procedure specification",
@@ -23,7 +30,7 @@
#text(size: 18pt, weight: "bold")[Theme Gallery]
First, we refer to each term at least once so they'll actually show up in the
glossaries. Our terms include: @html:cap, @css, and @tps.
glossaries. Our terms include: @atom, @iphone, @html:cap, @css, and @tps.
// 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
@@ -39,7 +46,7 @@ glossaries. Our terms include: @html:cap, @css, and @tps.
spacing: 2em,
inset: 1em,
stroke: 1pt+gray,
glossary(title: raw(theme.first()), theme: theme.last())
glossary(title: raw(theme.first()), theme: theme.last(), ignore-case: true)
)
}
@@ -50,5 +57,5 @@ glossaries. Our terms include: @html:cap, @css, and @tps.
inset: 1em,
stroke: 1pt+gray,
height: 1.5in,
glossary(title: raw("theme-twocol"), theme: theme-twocol)
glossary(title: raw("theme-twocol"), theme: theme-twocol, ignore-case: true)
)
Binary file not shown.

Before

Width:  |  Height:  |  Size: 156 KiB

After

Width:  |  Height:  |  Size: 134 KiB