File tree 2 files changed +6
-2
lines changed
feature-doc-viewer/src/lib
2 files changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -53,7 +53,7 @@ function CategoryBox({ category }: { category: RelatedDocumentsCategory }) {
53
53
>
54
54
< Link
55
55
href = { d . path }
56
- className = "flex flex-grow items-center justify-between no-underline hover:text-sky-600 hover:underline dark:hover:text-sky-400"
56
+ className = "flex flex-grow items-center justify-between no-underline transition-colors ease-out hover:text-blue-700 hover:underline dark:text-sky-500 dark:hover:text-sky-400"
57
57
prefetch = { false }
58
58
>
59
59
< span > { d . name } </ span >
Original file line number Diff line number Diff line change 1
1
import Link from 'next/link' ;
2
+ import { cx } from '@nx/nx-dev/ui-primitives' ;
2
3
3
4
export function CustomLink ( props : any ) {
4
5
const target =
@@ -11,7 +12,10 @@ export function CustomLink(props: any) {
11
12
passHref
12
13
target = { target }
13
14
rel = { target === '_blank' ? 'noreferrer' : undefined }
14
- className = { props . className }
15
+ className = { cx (
16
+ props . className ,
17
+ 'text-blue-600 transition-colors ease-out hover:text-blue-700 dark:text-sky-500 dark:hover:text-sky-400'
18
+ ) }
15
19
>
16
20
{ props . children }
17
21
</ Link >
You can’t perform that action at this time.
0 commit comments