File tree Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Original file line number Diff line number Diff line change 11'use client' ;
22
3- import { focusRing , style } from '@react-spectrum/s2/style' with { type : 'macro' } ;
3+ import { baseColor , focusRing , style } from '@react-spectrum/s2/style' with { type : 'macro' } ;
44import { LinkProps , Link as S2Link } from '@react-spectrum/s2' ;
55import { Link as RACLink , LinkProps as RACLinkProps } from 'react-aria-components' ;
66import React from 'react' ;
@@ -49,13 +49,18 @@ export function CodeLink(props: RACLinkProps) {
4949}
5050
5151const titleLink = style ( {
52+ ...focusRing ( ) ,
5253 font : 'heading-3xl' ,
5354 fontSize : {
5455 // On mobile, adjust heading to fit in the viewport, and clamp between a min and max font size.
5556 default : 'clamp(35px, (100vw - 32px) / var(--width-per-em), 55px)' ,
5657 lg : 'heading-3xl'
5758 } ,
58- marginY : 0
59+ marginY : 0 ,
60+ color : {
61+ default : 'heading' ,
62+ forcedColors : 'LinkText'
63+ }
5964} ) ;
6065
6166export function TitleLink ( props : RACLinkProps ) {
You can’t perform that action at this time.
0 commit comments