File tree Expand file tree Collapse file tree 2 files changed +8
-5
lines changed
Expand file tree Collapse file tree 2 files changed +8
-5
lines changed Original file line number Diff line number Diff line change 11import { splitProps } from "solid-js"
2+ import { classesTextLink } from "~ui/classes/classesTextLink"
23import type { LinkTextProps } from "~ui/interactive/link/LinkTextProps"
34import { classMerge } from "~ui/utils/classMerge"
45
@@ -8,7 +9,8 @@ export function LinkText(p: LinkTextProps) {
89 < a
910 href = { p . href }
1011 class = { classMerge (
11- "text-blue-500 no-underline hover:underline" , // colors
12+ classesTextLink ,
13+ "no-underline hover:underline" , // underline
1214 "break-all" , // line breaks
1315 p . class ,
1416 ) }
Original file line number Diff line number Diff line change 11import { type ComponentProps , splitProps } from "solid-js"
2+ import { classesTextLink } from "~ui/classes/classesTextLink"
23import { classMerge } from "~ui/utils/classMerge"
34
4- export interface BlueBulletPointProps extends ComponentProps < "span" > {
5- }
5+ export interface BlueBulletPointProps extends ComponentProps < "span" > { }
66
77export function BlueBulletPoint ( p : BlueBulletPointProps ) {
88 const [ , rest ] = splitProps ( p , [ "class" ] )
@@ -11,8 +11,9 @@ export function BlueBulletPoint(p: BlueBulletPointProps) {
1111 class = { classMerge (
1212 "text-xs select-none" , // font
1313 "mr-1 mt-1.5" , // spacing
14- "text-blue-500" , // color
15- p . class ) }
14+ classesTextLink ,
15+ p . class ,
16+ ) }
1617 style = { { "font-size" : "0.5rem" } }
1718 aria-hidden = { true }
1819 { ...rest }
You can’t perform that action at this time.
0 commit comments