meowpress 0.3.0-alpha.8 → 0.3.0-alpha.9

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/dist/src/site.js CHANGED
@@ -397,7 +397,7 @@ export function aboutPage(theme = blogTheme, site = DEFAULT_SITE, stylesheet = D
397
397
  h("div", { className: "site-avatar", "aria-hidden": "true" }, site.images?.about ? (h("img", { src: assetHref(1 + depth, site.images.about), alt: "", decoding: "async" })) : (h("span", { className: "avatar-initial" }, Array.from(view.name.trim())[0] ?? "M"))),
398
398
  about ? (h(Prose, null, about.paragraphs.map((paragraph) => (h("p", null, paragraph))))) : null,
399
399
  about?.links?.length ? (h(Section, { title: about.linksHeading ?? text(locale, M.findMe) },
400
- h(EntryList, null, about.links.map((link) => (h(Entry, { title: h("a", { className: "site-icon-label", href: link.href, target: "_blank", rel: "me noopener noreferrer" },
400
+ h(EntryList, null, about.links.map((link) => (h(Entry, { title: h("a", { className: "site-icon-label site-link", href: link.href, target: "_blank", rel: "me noopener noreferrer" },
401
401
  link.handle,
402
402
  " ",
403
403
  h(Icon, { name: "arrow-up-right", size: 16 })), eyebrow: link.label })))))) : null)),
package/dist/src/theme.js CHANGED
@@ -103,9 +103,27 @@ const siteStyles = css `
103
103
  color: ${uiTokens.ink.primary};
104
104
  text-decoration-color: ${uiTokens.ink.primary};
105
105
  }
106
+ /* The About page's links are anchors the site puts inside an entry title, so no component rule
107
+ covers them; without this one they fall back to the browser's default link styling. They read
108
+ with the entry title they sit in. */
109
+ .site-link {
110
+ color: inherit;
111
+ text-decoration: none;
112
+ text-underline-offset: 0.18em;
113
+ }
114
+ .site-link:hover {
115
+ color: ${uiTokens.accent.ink};
116
+ text-decoration: underline;
117
+ text-decoration-color: ${uiTokens.accent.line};
118
+ }
106
119
  #main-content {
107
120
  padding-block: ${uiTokens.space.pageBlock};
108
121
  }
122
+ /* The skip link moves focus to the reading region. The jump is the feedback; a ring around the
123
+ whole column reads as an error, and the region is a scroll target rather than a control. */
124
+ #main-content:focus-visible {
125
+ outline: none;
126
+ }
109
127
  /* Code stays left-to-right on a right-to-left page; the page direction would reorder it. */
110
128
  pre {
111
129
  direction: ltr;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "meowpress",
3
- "version": "0.3.0-alpha.8",
3
+ "version": "0.3.0-alpha.9",
4
4
  "license": "MIT",
5
5
  "type": "module",
6
6
  "scripts": {