Highlight weekend days in dashboard activity chart
Add isoDow() helper to datetime.js and mark weekend columns in the 14-day activity chart on the dashboard (orange bar, muted day label).
This commit is contained in:
@@ -731,6 +731,8 @@ body{font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,sans-serif;b
|
||||
.bar{width:100%;max-width:28px;background:var(--accent);opacity:.35;border-radius:4px 4px 0 0;min-height:2px;transition:opacity .15s}
|
||||
.bar:hover{opacity:1}
|
||||
.bar.today{opacity:1}
|
||||
.bar-col.weekend .bar{background:#f97316}
|
||||
.bar-col.weekend .bar-day{color:#ea580c}
|
||||
.bar-day{font-size:.62rem;color:var(--muted);white-space:nowrap}
|
||||
.recent{display:grid;grid-template-columns:repeat(2,1fr);gap:2px 16px}
|
||||
.recent-item{display:flex;align-items:center;gap:12px;padding:8px 6px;border-radius:10px;transition:background .15s}
|
||||
|
||||
Reference in New Issue
Block a user