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 fonts

Blue Mouse8d9060a5a8e7
diff --git a/web/app/pages/Auth/Signin/Signin.tsx b/web/app/pages/Auth/Signin/Signin.tsx
index ad4920d13..19eaf60f4 100644
--- a/web/app/pages/Auth/Signin/Signin.tsx
+++ b/web/app/pages/Auth/Signin/Signin.tsx
@@ -358,7 +358,7 @@ const Signin = () => {
>
{t('auth.linkAccount.title')}
</Text>
- <Text as='p' colour='muted' className='mt-2'>
+ <Text as='p' colour='secondary' className='mt-2'>
{t('auth.linkAccount.description', {
email: linkingData.email,
provider: getProviderDisplayName(linkingData.provider),
@@ -379,7 +379,7 @@ const Signin = () => {
{linkingData.isTwoFactorAuthenticationEnabled && (
<>
- <Text as='p' colour='muted' size='sm' className='mt-2'>
+ <Text as='p' colour='secondary' size='sm' className='mt-2'>
{t('auth.linkAccount.2FARequired')}
</Text>
<Input
@@ -415,7 +415,7 @@ const Signin = () => {
</div>
<div className='mt-6 border-t border-gray-200 pt-4 dark:border-gray-700'>
- <Text as='p' colour='muted' size='sm'>
+ <Text as='p' colour='secondary' size='sm'>
{t('auth.linkAccount.unlinkHint')}
</Text>
</div>
@@ -434,7 +434,7 @@ const Signin = () => {
</Text>
<Text
as='p'
- colour='muted'
+ colour='secondary'
className='mt-2 whitespace-pre-line'
>
{t('auth.signin.2faDesc')}
@@ -491,7 +491,7 @@ const Signin = () => {
>
{t('auth.signin.title')}
</Text>
- <Text as='p' colour='muted' className='mt-2'>
+ <Text as='p' colour='secondary' className='mt-2'>
{t('auth.signin.welcomeBack')}
</Text>
</div>
@@ -535,7 +535,7 @@ const Signin = () => {
<div className='relative flex justify-center text-sm'>
<Text
as='span'
- colour='muted'
+ colour='secondary'
size='sm'
className='inline-flex items-center gap-2 bg-gray-50 px-4 dark:bg-slate-950'
>
@@ -619,7 +619,7 @@ const Signin = () => {
<Text
as='p'
size='sm'
- colour='muted'
+ colour='secondary'
className='mt-6 text-center'
>
<Trans
diff --git a/web/app/pages/Auth/Signup/InvitationSignup.tsx b/web/app/pages/Auth/Signup/InvitationSignup.tsx
index 7a9f4e926..6a6bb4f4a 100644
--- a/web/app/pages/Auth/Signup/InvitationSignup.tsx
+++ b/web/app/pages/Auth/Signup/InvitationSignup.tsx
@@ -71,7 +71,7 @@ const InvitationSignup = () => {
<Text as='h1' size='2xl' weight='bold' className='mb-4'>
{t('common.error')}
</Text>
- <Text colour='muted' className='mb-6'>
+ <Text colour='secondary' className='mb-6'>
{loaderData?.error || t('auth.invitation.invalidLink')}
</Text>
<Link
@@ -237,7 +237,7 @@ const InvitationSignup = () => {
</Button>
</Form>
- <Text as='p' size='sm' colour='muted' className='mt-6 text-center'>
+ <Text as='p' size='sm' colour='secondary' className='mt-6 text-center'>
<Trans
t={t}
i18nKey='auth.signup.alreadyAMember'
diff --git a/web/app/pages/Auth/Signup/Signup.tsx b/web/app/pages/Auth/Signup/Signup.tsx
index a0be2f8f6..bd4dd5ff0 100644
--- a/web/app/pages/Auth/Signup/Signup.tsx
+++ b/web/app/pages/Auth/Signup/Signup.tsx
@@ -58,6 +58,10 @@ const featureKeys = [
* The website the visitor typed on the landing hero, shown back to them with
* its own favicon - "yes, we know what you're here to track". Rendered through
* <Trans>, so the domain sits wherever the sentence needs it.
+ *
+ * The domain stays plain inline text so it shares the sentence's baseline (an
+ * inline-flex wrapper would synthesise its own and float the whole chip); only
+ * the icon is nudged, in em units so it tracks the surrounding font size.
*/
const SiteChip = ({
domain,
@@ -66,8 +70,10 @@ const SiteChip = ({
domain: string
children?: React.ReactNode
}) => (
- <span className='inline-flex items-center gap-1.5 align-[-3px] font-medium text-gray-900 dark:text-gray-50'>
- <FaviconGlyph value={domain} className='size-4' />
+ <span className='font-medium whitespace-nowrap text-gray-900 dark:text-gray-50'>
+ <span className='mr-1.5 inline-flex size-[1.05em] align-[-0.16em]'>
+ <FaviconGlyph value={domain} className='size-full' />
+ </span>
{children}
</span>
)
@@ -269,7 +275,7 @@ const Signup = ({ site = null }: SignupProps) => {
})}
</Text>
{isSelfhosted ? null : (
- <Text as='p' colour='muted' className='mt-2'>
+ <Text as='p' colour='secondary' className='mt-2'>
{site ? (
<Trans
t={t}
@@ -325,7 +331,7 @@ const Signup = ({ site = null }: SignupProps) => {
<div className='relative flex justify-center text-sm'>
<Text
as='span'
- colour='muted'
+ colour='secondary'
size='sm'
className='inline-flex items-center gap-2 bg-gray-50 px-4 dark:bg-slate-950'
>
@@ -456,7 +462,12 @@ const Signup = ({ site = null }: SignupProps) => {
</Button>
</Form>
- <Text as='p' size='sm' colour='muted' className='mt-6 text-center'>
+ <Text
+ as='p'
+ size='sm'
+ colour='secondary'
+ className='mt-6 text-center'
+ >
<Trans
t={t}
i18nKey='auth.signup.alreadyAMember'