fix: Fix several lighthouse issues
This commit is contained in:
8 files changed
+36
-5
No files matched your search
@@ -42,7 +42,7 @@ export const Link = memo(function Link(props: LinkProps) {
|
||||
|
||||
const sharedClasses = cn(
|
||||
!color && 'text-[var(--rb-ring)]',
|
||||
'cursor-pointer hover:underline underline-offset-4 transition-colors',
|
||||
'cursor-pointer underline hover:no-underline underline-offset-4 transition-colors',
|
||||
'focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2',
|
||||
className
|
||||
);
|
||||
|
||||
@@ -45,7 +45,7 @@ export function ThemeSwitch(): React.JSX.Element {
|
||||
onPress={() => setPreference('system')}
|
||||
>
|
||||
<Text bold={preference === 'system'} size="s" type="label">
|
||||
Auto
|
||||
Follow system theme
|
||||
</Text>
|
||||
</Button>
|
||||
</HStack>
|
||||
|
||||
Reference in new issue
Block a user