@agentic-design-kits/swiss-minimal 2026.1114.0 → 2026.1114.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/COMPONENTS.md +1 -0
- package/kit/theme.css +16 -1
- package/package.json +1 -1
package/COMPONENTS.md
CHANGED
|
@@ -928,6 +928,7 @@ Long-form text from Markdown: `.post-body` styles the plain elements inside it,
|
|
|
928
928
|
- A quote is large and bold beside a 6px `accent` edge, the same edge as the active row. Keep quotes short; one or two per post.
|
|
929
929
|
- `hr` is a 2px `ink` rule. Images fill the measure, square, on `rule` until they load. A table has small uppercase headings over a 2px rule and 1px rules between rows.
|
|
930
930
|
- Code uses the kit's own `pre` and `code` styles.
|
|
931
|
+
- Markdown footnotes (`[^1]`) are numbered in `accent-text`, with no underline until hover; the notes sit at the end in 16px `muted` text under a 2px `ink` rule, each ending in an underlined `accent-text` arrow back to its number. A note about one word goes straight after it, mid-sentence and before any punctuation (`Overused Grotesk[^1], at two weights`); a note about a whole sentence goes after its full stop.
|
|
931
932
|
|
|
932
933
|
**Don't.** Set a whole paragraph in a quote to make it stand out, or add colored callout boxes.
|
|
933
934
|
|
package/kit/theme.css
CHANGED
|
@@ -829,7 +829,7 @@ a.post-header-label:hover { color: var(--accent-text); text-decoration: underlin
|
|
|
829
829
|
|
|
830
830
|
/* ---------- Post body: long-form text from Markdown ---------- */
|
|
831
831
|
/* Markdown can't take classes, so this styles plain elements inside it: paragraphs, h2 and h3,
|
|
832
|
-
lists, quotes, rules, images, tables and code. A 42rem measure by default; a utility on the
|
|
832
|
+
lists, quotes, rules, images, tables, footnotes and code. A 42rem measure by default; a utility on the
|
|
833
833
|
same element changes it. An h2 has no rule over it: inside one article, space and size mark a
|
|
834
834
|
new part, and the thick rule is kept for sections of the page. A quote is set
|
|
835
835
|
large and bold beside a 6px accent edge, the same edge the active row has. */
|
|
@@ -867,6 +867,21 @@ a.post-header-label:hover { color: var(--accent-text); text-decoration: underlin
|
|
|
867
867
|
font-size: var(--size-100); font-weight: var(--weight-medium); letter-spacing: var(--label-tracking); text-transform: var(--label-case);
|
|
868
868
|
}
|
|
869
869
|
.post-body td { padding: 0.625rem 1rem 0.625rem 0; border-bottom: 1px solid var(--rule); vertical-align: top; }
|
|
870
|
+
/* Markdown footnotes ([^1]). The number in the text is a superscript in the accent, with no
|
|
871
|
+
underline (it gets one on hover); line-height 0 keeps it from pushing its line down. The notes
|
|
872
|
+
are a part of their own at the end, so they start under a 2px rule, in small muted text; the
|
|
873
|
+
arrow back to the number is in the accent too, underlined, and turns ink on hover. A jump
|
|
874
|
+
to a note or back to its number stops clear of the top bar. */
|
|
875
|
+
.post-body sup { line-height: 0; }
|
|
876
|
+
.post-body [data-footnote-ref] { color: var(--accent-text); text-decoration: none; font-variant-numeric: tabular-nums; }
|
|
877
|
+
.post-body [data-footnote-ref]:hover { text-decoration: underline; }
|
|
878
|
+
.post-body .footnotes { margin-top: 3rem; font-size: var(--size-200); line-height: 1.375; color: var(--muted); }
|
|
879
|
+
.post-body .footnotes ol { margin: 0; padding: 0.75rem 0 0 1.5rem; border-top: 2px solid var(--ink); }
|
|
880
|
+
.post-body .footnotes p { margin: 0; }
|
|
881
|
+
.post-body .footnotes p + p { margin-top: 0.5rem; }
|
|
882
|
+
.post-body [data-footnote-backref] { margin-left: 0.25rem; color: var(--accent-text); }
|
|
883
|
+
.post-body [data-footnote-backref]:hover { color: var(--ink); }
|
|
884
|
+
.post-body :is([data-footnote-ref], .footnotes li) { scroll-margin-top: 5rem; }
|
|
870
885
|
|
|
871
886
|
/* ---------- Post nav: the previous and next posts, at the end of one ---------- */
|
|
872
887
|
/* A 2px rule, then two links: a small label over the post's title. Stacked on phones; side by
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@agentic-design-kits/swiss-minimal",
|
|
3
|
-
"version": "2026.1114.
|
|
3
|
+
"version": "2026.1114.2",
|
|
4
4
|
"description": "A type-led design kit: plain CSS, a few small scripts and Astro components, for Tailwind v4 sites.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "Danny Englander",
|