Skip to content

📈 Open source, privacy-first web analytics — a cookie-less Google Analytics alternative with built-in error tracking and performance monitoring. Self-host it or use our cloud. Get started for free!

Improve CE logo colours

Blue Mousef0d584ab33f1
diff --git a/web/app/ui/icons/SwetrixLogo.tsx b/web/app/ui/icons/SwetrixLogo.tsx
index a1eacbcd1..522f167fc 100644
--- a/web/app/ui/icons/SwetrixLogo.tsx
+++ b/web/app/ui/icons/SwetrixLogo.tsx
@@ -4,6 +4,7 @@ import { useTranslation } from 'react-i18next'
import { isSelfhosted, ThemeType } from '~/lib/constants'
import { useTheme } from '~/providers/ThemeProvider'
+import { Text } from '../Text'
interface SwetrixLogoProps {
className?: string
@@ -65,14 +66,14 @@ const SwetrixLogo = ({ className, theme: themeOverride }: SwetrixLogoProps) => {
Swetrix
</span>
{isSelfhosted ? (
- <span
- className={cx(
- 'text-xs font-semibold',
- theme === 'dark' ? 'text-white' : 'text-slate-600',
- )}
+ <Text
+ as='span'
+ size='xs'
+ weight='medium'
+ className={cx(theme === 'dark' ? 'text-white' : 'text-slate-900')}
>
{t('common.communityEdition')}
- </span>
+ </Text>
) : null}
</div>
</div>