fix(glossy): clean up themes, update tests, README
No files matched your search
@@ -73,6 +73,7 @@
|
|||||||
spacing: 0.4em,
|
spacing: 0.4em,
|
||||||
grid(
|
grid(
|
||||||
columns: (auto, 1fr, auto),
|
columns: (auto, 1fr, auto),
|
||||||
|
align: left+bottom,
|
||||||
gutter: 0.5em,
|
gutter: 0.5em,
|
||||||
// Term and description column
|
// Term and description column
|
||||||
box[#term#entry.label#long-form #description],
|
box[#term#entry.label#long-form #description],
|
||||||
|
|||||||
@@ -60,13 +60,11 @@
|
|||||||
size: 0.75em,
|
size: 0.75em,
|
||||||
weight: "light",
|
weight: "light",
|
||||||
grid(
|
grid(
|
||||||
columns: (auto,auto,auto,1fr,1em,auto),
|
columns: (auto,1fr,1em,auto),
|
||||||
align: (left, left, left, center, center, right),
|
align: (left, center, center, right),
|
||||||
[#short-display#entry.label], // Term with label
|
[#short-display#entry.label#long-display#description], // Term with label
|
||||||
[#long-display], // Long form (if any)
|
|
||||||
[#description], // Description (if any)
|
|
||||||
[#repeat(h(0.25em) + "." + h(0.25em))], // Dotted leader line
|
[#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
|
[#entry.pages] // Page references
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
|
|||||||
|
Before Width: | Height: | Size: 606 KiB After Width: | Height: | Size: 606 KiB |
|
Before Width: | Height: | Size: 259 KiB After Width: | Height: | Size: 259 KiB |
|
Before Width: | Height: | Size: 339 KiB After Width: | Height: | Size: 384 KiB |
@@ -6,11 +6,18 @@
|
|||||||
long: "Hypertext Markup Language",
|
long: "Hypertext Markup Language",
|
||||||
description: "A standard language for creating web pages",
|
description: "A standard language for creating web pages",
|
||||||
),
|
),
|
||||||
|
iphone: (
|
||||||
|
short: "iPhone",
|
||||||
|
description: "Revolutionized phones."
|
||||||
|
),
|
||||||
css: (
|
css: (
|
||||||
short: "CSS",
|
short: "CSS",
|
||||||
long: "Cascading Style Sheets",
|
long: "Cascading Style Sheets",
|
||||||
description: "A language used for describing the presentation of a document",
|
description: "A language used for describing the presentation of a document",
|
||||||
),
|
),
|
||||||
|
atom: (
|
||||||
|
short: "atom",
|
||||||
|
),
|
||||||
tps: (
|
tps: (
|
||||||
short: "TPS",
|
short: "TPS",
|
||||||
long: "test procedure specification",
|
long: "test procedure specification",
|
||||||
@@ -23,7 +30,7 @@
|
|||||||
#text(size: 18pt, weight: "bold")[Theme Gallery]
|
#text(size: 18pt, weight: "bold")[Theme Gallery]
|
||||||
|
|
||||||
First, we refer to each term at least once so they'll actually show up in the
|
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: 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
|
// 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,
|
spacing: 2em,
|
||||||
inset: 1em,
|
inset: 1em,
|
||||||
stroke: 1pt+gray,
|
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,
|
inset: 1em,
|
||||||
stroke: 1pt+gray,
|
stroke: 1pt+gray,
|
||||||
height: 1.5in,
|
height: 1.5in,
|
||||||
glossary(title: raw("theme-twocol"), theme: theme-twocol)
|
glossary(title: raw("theme-twocol"), theme: theme-twocol, ignore-case: true)
|
||||||
)
|
)
|
||||||
|
Before Width: | Height: | Size: 156 KiB After Width: | Height: | Size: 134 KiB |