Feat: Fav channel in localstorage

This commit is contained in:
Johnnybegood90
2026-03-13 20:46:01 +01:00
parent 23e0f29990
commit 7b42539bc8
8 changed files with 213 additions and 76 deletions
+18
View File
@@ -851,6 +851,24 @@
background: var(--accent); opacity: .4; width: 2px;
}
/* ── FAVORITES ───────────────────────────────────────────────────────────── */
.fav-btn {
background: none; border: none; color: var(--text-muted);
cursor: pointer; font-size: 14px; line-height: 1;
margin-left: auto; padding: 2px 4px; flex-shrink: 0;
transition: color .15s, transform .15s;
opacity: 0;
}
.channel-cell:hover .fav-btn { opacity: 1; }
.fav-btn.is-fav { color: var(--accent); opacity: 1; }
.fav-btn:hover { transform: scale(1.2); }
.fav-separator {
height: 2px; background: var(--accent);
opacity: .3; margin: 0;
}
</style>
<link id="themeStylesheet" rel="stylesheet" href="themes/default.css">
</head>