diff --git a/packages/client/src/components/MkInstanceTicker.vue b/packages/client/src/components/MkInstanceTicker.vue index 21de324e5e..f067f338b4 100644 --- a/packages/client/src/components/MkInstanceTicker.vue +++ b/packages/client/src/components/MkInstanceTicker.vue @@ -1,6 +1,6 @@ @@ -33,6 +33,8 @@ const instance = props.instance ?? { software: Instance.softwareName || "Calckey", }; +const capitalize = (s: string) => s && s[0].toUpperCase() + s.slice(1) + const computedStyle = getComputedStyle(document.documentElement); const themeColor = instance.themeColor ?? computedStyle.getPropertyValue("--bg");