Codebase audits, privacy, dark mode, palette (v1.9.0 to v1.9.4-audit) #14

Merged
ngu-git-admin merged 30 commits from audit into main 2026-09-29 18:07:25 +01:00
2 changed files with 8 additions and 1 deletions
Showing only changes of commit f59ab314e0 - Show all commits

View file

@ -78,7 +78,7 @@ export default function TimelineEntry({ item, variant = 'inline' }: Props) {
<span className="ngu-tl__entryBody">
<span className="ngu-tl__entryTitle">
{logo ? (
<img className="ngu-tl__logo" src={logo} alt="" loading="lazy" />
<img className="ngu-tl__logo logo-plate" src={logo} alt="" loading="lazy" />
) : (
<span
className={`ngu-tl__kind ngu-tl__kind--${item.kind}`}

View file

@ -568,6 +568,13 @@ a.ngu-tl__entry--featured:hover {
border-radius: 2px;
}
/* An 18px mark: the dark-mode backing (.logo-plate, index.css) with
a hairline of padding, not the usual quarter rem. */
:root[data-theme] .ngu-tl__logo.logo-plate {
padding: 1px;
border-radius: 3px;
}
.ngu-tl__entry--featured .ngu-tl__logo {
width: 1.5rem;
height: 1.5rem;