Compare commits
1
Commits
modulation-2
...
lyre
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
f3a5cad789 |
+1
-1
@@ -70,7 +70,7 @@ command. `<duration>` follows in the rail's colour when shown. There is no
|
|||||||
state word and no second badge: the rail exists so the state is still legible
|
state word and no second badge: the rail exists so the state is still legible
|
||||||
when a row is dimmed or the terminal renders the duration in the default fg.
|
when a row is dimmed or the terminal renders the duration in the default fg.
|
||||||
|
|
||||||
In the **web client** the rail is a 5px bar pinned to the row's own left
|
In the **web client** the rail is a 7px bar pinned to the row's own left
|
||||||
edge, square corners, spanning the full card height edge to edge — it
|
edge, square corners, spanning the full card height edge to edge — it
|
||||||
shifts outward with nesting depth along with the row's own padding, since
|
shifts outward with nesting depth along with the row's own padding, since
|
||||||
it is positioned relative to the row. It carries motion only for states that
|
it is positioned relative to the row. It carries motion only for states that
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
// docs/SIDEBAR.md: a 5px bar pinned to the row's own left edge, square
|
// docs/SIDEBAR.md: a 7px bar pinned to the row's own left edge, square
|
||||||
// corners, full card height. It paints for every card, Idle included, and it
|
// corners, full card height. It paints for every card, Idle included, and it
|
||||||
// carries the accessible name of the state so status is never colour-only.
|
// carries the accessible name of the state so status is never colour-only.
|
||||||
|
|
||||||
@@ -37,7 +37,7 @@ export function ActivityRail({ activity }: { activity: ActivityState | string |
|
|||||||
const word = STATE_WORDS[slug] ?? STATE_WORDS.idle;
|
const word = STATE_WORDS[slug] ?? STATE_WORDS.idle;
|
||||||
return (
|
return (
|
||||||
<span
|
<span
|
||||||
className={`absolute left-0 top-0 bottom-0 w-[5px] ${RAIL_CLASS[slug] ?? RAIL_CLASS.idle}`}
|
className={`absolute left-0 top-0 bottom-0 w-[7px] ${RAIL_CLASS[slug] ?? RAIL_CLASS.idle}`}
|
||||||
data-activity={slug}
|
data-activity={slug}
|
||||||
role="img"
|
role="img"
|
||||||
title={word}
|
title={word}
|
||||||
|
|||||||
+1
-1
@@ -1623,7 +1623,7 @@ input.leaf-rename:focus {
|
|||||||
top: 0;
|
top: 0;
|
||||||
bottom: 0;
|
bottom: 0;
|
||||||
left: 0;
|
left: 0;
|
||||||
width: 5px;
|
width: 7px;
|
||||||
background: currentColor;
|
background: currentColor;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user