Compare commits
3 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
dfef2194a5 | ||
|
|
502adca81b | ||
|
|
12e8bf6e69 |
@@ -79,7 +79,7 @@ function EditableName({
|
||||
ref={inputRef}
|
||||
type="text"
|
||||
value={draft}
|
||||
className="h-7 text-sm"
|
||||
className="h-7 max-w-48 text-sm"
|
||||
onChange={(e) => setDraft(e.target.value)}
|
||||
onBlur={commit}
|
||||
onKeyDown={(e) => {
|
||||
@@ -365,9 +365,13 @@ function rowBorderClass(
|
||||
isActive: boolean,
|
||||
isConcentrating: boolean | undefined,
|
||||
): string {
|
||||
if (isActive) return "border border-accent/40 bg-accent/10 card-glow";
|
||||
if (isConcentrating) return "border-l-2 border-l-purple-400";
|
||||
return "border-l-2 border-l-transparent";
|
||||
if (isActive && isConcentrating)
|
||||
return "border border-l-2 border-accent/40 border-l-purple-400 bg-accent/10 card-glow";
|
||||
if (isActive)
|
||||
return "border border-l-2 border-accent/40 bg-accent/10 card-glow";
|
||||
if (isConcentrating)
|
||||
return "border border-l-2 border-transparent border-l-purple-400";
|
||||
return "border border-l-2 border-transparent";
|
||||
}
|
||||
|
||||
function concentrationIconClass(
|
||||
|
||||
@@ -198,6 +198,12 @@
|
||||
|
||||
body {
|
||||
background-color: var(--color-background);
|
||||
background-image: radial-gradient(
|
||||
ellipse at 50% 40%,
|
||||
oklch(0.26 0.055 250) 0%,
|
||||
var(--color-background) 70%
|
||||
);
|
||||
background-attachment: fixed;
|
||||
color: var(--color-foreground);
|
||||
font-family: var(--font-sans);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user