diff --git a/.env.example b/.env.example index c366e73..0ab941c 100644 --- a/.env.example +++ b/.env.example @@ -5,3 +5,6 @@ PUBLIC_MODE=simple # simple | full PUBLIC_JOINCODE=no # yes | no — show invite-code field on join failure PUBLIC_LABELS= # comma-separated labels (e.g., bug,feature,question) PUBLIC_BLOSSOM_URL= # Blossom server URL (e.g., https://blossom.primal.net) +# Theme color overrides — quote the value, a leading # is read as a comment otherwise +PUBLIC_ACCENT_COLOR= # override the accent color (default #e32a6d), e.g. "#00ff00"; hover shade derived +PUBLIC_SECONDARY_COLOR= # override the secondary color (default #ffaf25), e.g. "#0000ff"; hover shade derived diff --git a/src/lib/components/ChatContent.svelte b/src/lib/components/ChatContent.svelte index 5f7684d..ee828ad 100644 --- a/src/lib/components/ChatContent.svelte +++ b/src/lib/components/ChatContent.svelte @@ -42,22 +42,22 @@ href="https://njump.me/{t.entity}" target="_blank" rel="noopener noreferrer" - class="text-brand hover:underline">@{u?.shortName ?? t.fallback}@{u?.shortName ?? t.fallback}{:else if t.type === "entity"}{@const ref = t.id ? resolvedThreads[t.id] : undefined}{#if ref}{ref.title}{ref.title}{:else}{t.label}{t.label}{/if}{:else if t.type === "link"}{t.label}{t.label}{:else}{t.value}{/if}{/each} diff --git a/src/lib/components/ChatSidebar.svelte b/src/lib/components/ChatSidebar.svelte index 282aa76..698c33f 100644 --- a/src/lib/components/ChatSidebar.svelte +++ b/src/lib/components/ChatSidebar.svelte @@ -232,7 +232,7 @@ {expanded ? 'md:w-150 md:shadow-2xl' : 'md:w-80 md:shadow-lg'}" >
{targetName}
{/if} -