diff --git a/src/astro/BuiltByMark.astro b/src/astro/BuiltByMark.astro index d919b32..2ab4240 100644 --- a/src/astro/BuiltByMark.astro +++ b/src/astro/BuiltByMark.astro @@ -1,5 +1,5 @@ --- -import { renderBrandMark } from '@kolektiv/brand-core'; +import { renderBrandVariant } from '@kolektiv/brand-core'; import type { DocsChromeConfig } from '@kolektiv/common-docs-chrome'; interface Props { @@ -13,8 +13,9 @@ const builtBy = config?.builtBy ?? {}; const href = builtBy.href ?? 'https://kolektiv.computer'; const label = builtBy.label ?? 'Built by Kolektiv Computing'; const external = /^[a-z][a-z0-9+.-]*:/i.test(href); -const mark = renderBrandMark({ - variant: 'builtByMark', +// The legacy `renderBrandMark` variant map left the icon mark (the initial K) +// out of `builtByMark`, so render the generated per-variant content instead. +const mark = renderBrandVariant('builtByMark', { title: label, color: 'currentColor', className: markClass,