Skip to content
Merged
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
21 changes: 21 additions & 0 deletions src/app.css
Original file line number Diff line number Diff line change
Expand Up @@ -165,6 +165,27 @@
}
}

@layer utilities {
/* Header controls use circular arcs: 14px outside minus the 1px border
and 4px padding gives a concentric 9px inner radius. */
header .squircle[role="group"],
header .squircle[aria-haspopup="menu"] {
corner-shape: round;
border-radius: 14px;
}

header .squircle[role="group"] > span {
inset-block: 4px;
left: 4px;
width: calc(50% - 4px);
border-radius: 9px;
}

header .squircle[role="group"] > button {
border-radius: 9px;
}
}

/* Generated markup and View Transition pseudo-elements need CSS selectors. */
@layer components {
/* shiki emits a complete <pre class="shiki"> with inline theme colors;
Expand Down
Loading