style(dashboard): match 9remote NEW badge style on System One tags
Co-Authored-By: Claude Code <noreply@anthropic.com>
This commit is contained in:
@@ -201,7 +201,7 @@ export default function Sidebar({ onClose }) {
|
|||||||
<span className="material-symbols-outlined text-[18px]">perm_media</span>
|
<span className="material-symbols-outlined text-[18px]">perm_media</span>
|
||||||
<span className="text-[13px] font-medium flex-1 text-left">Media Providers</span>
|
<span className="text-[13px] font-medium flex-1 text-left">Media Providers</span>
|
||||||
{MEDIA_PROVIDER_KINDS.some((k) => VISIBLE_MEDIA_KINDS.includes(k.id) && k.isNew) && (
|
{MEDIA_PROVIDER_KINDS.some((k) => VISIBLE_MEDIA_KINDS.includes(k.id) && k.isNew) && (
|
||||||
<span className="text-[9px] font-bold uppercase text-primary bg-primary/10 px-1.5 py-0.5 rounded">New</span>
|
<span className="text-[10px] font-semibold px-1.5 py-0.5 rounded-[3px] bg-green-500/15 text-green-400">NEW</span>
|
||||||
)}
|
)}
|
||||||
<span className="material-symbols-outlined text-[14px] transition-transform" style={{ transform: mediaOpen ? "rotate(180deg)" : "rotate(0deg)" }}>
|
<span className="material-symbols-outlined text-[14px] transition-transform" style={{ transform: mediaOpen ? "rotate(180deg)" : "rotate(0deg)" }}>
|
||||||
expand_more
|
expand_more
|
||||||
@@ -224,7 +224,7 @@ export default function Sidebar({ onClose }) {
|
|||||||
<span className="material-symbols-outlined text-[16px]">{kind.icon}</span>
|
<span className="material-symbols-outlined text-[16px]">{kind.icon}</span>
|
||||||
<span className="text-sm">{kind.label}</span>
|
<span className="text-sm">{kind.label}</span>
|
||||||
{kind.isNew && (
|
{kind.isNew && (
|
||||||
<span className="text-[9px] font-bold uppercase text-primary bg-primary/10 px-1.5 py-0.5 rounded">New</span>
|
<span className="text-[10px] font-semibold px-1.5 py-0.5 rounded-[3px] bg-green-500/15 text-green-400">NEW</span>
|
||||||
)}
|
)}
|
||||||
</Link>
|
</Link>
|
||||||
))}
|
))}
|
||||||
|
|||||||
Reference in New Issue
Block a user