Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions frame.lock
Original file line number Diff line number Diff line change
Expand Up @@ -111,11 +111,11 @@
},
{
"path": "frame/frame.css",
"sha256": "c7470fdcbdb0ca9c6e2a634b6ec4ba9f1ed87c39b737f91e082b8c6466ab91f4"
"sha256": "ac8c9cfe2f1e7fe0c7c3725c840e0296fae76314521860d7840ce66876f65869"
},
{
"path": "frame/frame.mjs",
"sha256": "6f01e54838e3593be14ad473467424faf83dfc4c543ea0f9d86655c549cc1b0b"
"sha256": "1d6c3c87cb7e9a1949973c1323d937528d3919d8484e4613766b93f5782cd881"
},
{
"path": "frame/panels.css",
Expand Down Expand Up @@ -179,7 +179,7 @@
},
{
"path": "site/app.mjs",
"sha256": "b5b30e78ab9b693fd6d29b89b9d2b74542340542864e99e4533a9ced2d987ee0"
"sha256": "65a3d1e3fcc6ed9ddfcbf85477c99a41a94a98502e62de90e7dcce3f860b0ace"
},
{
"path": "site/guest-worker.mjs",
Expand Down
6 changes: 3 additions & 3 deletions frame/frame.css
Original file line number Diff line number Diff line change
Expand Up @@ -47,9 +47,9 @@
* edge is the bar's bottom edge. */
--chrome: var(--sidebar, var(--muted));
/* The address: on the light chrome a white field, on the dark one barely
* off the chrome, its hairline drawing it. */
* off the chrome, its hairline drawing it at 3:1 or more (WCAG 1.4.11). */
--field: light-dark(var(--card), color-mix(in oklab, var(--chrome), var(--foreground) 3%));
--field-border: var(--border);
--field-border: var(--muted-foreground);
--gutter: 0.5rem;
--window-radius: 0.75rem;
--frame-height: calc(var(--safe-top) + var(--bar-control) + 0.875rem);
Expand Down Expand Up @@ -230,7 +230,7 @@ svg.gh, svg.fill { fill: currentColor; stroke: none; }
* full text colour: white on the dark chrome, near-black on the light, as
* Hologram OS draws it. A touch larger than the line icons, so its dots
* stay distinct. */
#home { color: var(--foreground); }
#home { color: var(--foreground); } #home:focus-visible { outline: var(--ring-width) solid var(--ring); outline-offset: var(--ring-offset); border-radius: var(--radius-control); }
#home svg.mark { width: 1.25rem; height: 1.25rem; shape-rendering: geometricPrecision; }
.ghost.icon:hover { color: var(--foreground); }
.ghost.icon:hover::before { background: color-mix(in oklab, var(--chrome), var(--foreground) 7%); }
Expand Down
2 changes: 1 addition & 1 deletion frame/frame.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -1357,7 +1357,7 @@ class PrismFrame extends Element {
event.preventDefault();
if (list.hidden) render();
select(active + (event.key === "ArrowDown" ? 1 : -1));
} else if (event.key === "Escape") {
} else if (event.key === "Tab" && !event.shiftKey) { close(); } else if (event.key === "Escape") {
event.preventDefault();
if (input.value !== shown) {
input.value = shown;
Expand Down
2 changes: 0 additions & 2 deletions site/app.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -236,8 +236,6 @@ function spec() {
addEventListener("hashchange", () => set(location.hash === "#spec"));
addEventListener("keydown", (event) => {
if (event.key === "Escape" && root.classList.contains("spec-open")) set(false);
const typing = /^(INPUT|TEXTAREA|SELECT)$/.test(document.activeElement?.tagName ?? "");
if (event.key === "." && !typing && !event.metaKey && !event.ctrlKey && !event.altKey) set(!root.classList.contains("spec-open"));
});
if (location.hash === "#spec") set(true, false);
}
Expand Down
Loading