File tree Expand file tree Collapse file tree 2 files changed +7
-2
lines changed Expand file tree Collapse file tree 2 files changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -14,4 +14,5 @@ export const HL = classed.span`
1414 group-[.text-accent-secondary]:text-accent
1515 group-[.text-error-secondary]:text-error
1616 group-[.text-info-secondary]:text-info
17+ group-[.text-notice-secondary]:text-notice
1718`
Original file line number Diff line number Diff line change @@ -86,7 +86,7 @@ export const Message = ({
8686 { showIcon && (
8787 < div
8888 className = { cn (
89- 'mt-[2px] flex [&>svg]:h-3 [&>svg]:w-3' ,
89+ 'mt-0.5 flex [&>svg]:h-3 [&>svg]:w-3' ,
9090 `[&>svg]:${ textColor [ variant ] } `
9191 ) }
9292 >
@@ -96,7 +96,11 @@ export const Message = ({
9696 < div className = "flex-1" >
9797 { title && < div className = "text-sans-semi-md" > { title } </ div > }
9898 < div
99- className = { cn ( 'text-sans-md [&>a]:tint-underline' , secondaryTextColor [ variant ] ) }
99+ className = { cn (
100+ // group gives HL the right color
101+ 'text-sans-md [&>a]:tint-underline group' ,
102+ secondaryTextColor [ variant ]
103+ ) }
100104 >
101105 { content }
102106 </ div >
You can’t perform that action at this time.
0 commit comments