-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
SUP-190 | @rebeccahongsf | style text area paragraph #9
Conversation
src/components/elements/headers.tsx
Outdated
{children} | ||
</h1> | ||
) | ||
} | ||
|
||
export const H2 = ({children, className, ...props}: Props) => { | ||
return ( | ||
<h2 className={twMerge(headingLinkClasses, "text-m3 font-medium", className)} {...props}> | ||
<h2 className={twMerge(headingLinkClasses, "text-m3 font-normal", className)} {...props}> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
From what I saw, most of the headings were font-weight: 500
. Is the wysiwyg different?
@@ -44,7 +44,7 @@ const DrupalLink = ({href, children, ...props}: Props) => { | |||
} | |||
|
|||
return ( | |||
<Link href={href} {...props} className={twMerge("text-stone-dark hocus:text-archway-dark", props.className)}> | |||
<Link href={href} className={clsx("text-digital-red *:text-digital-red hocus:text-archway-dark *:hocus:text-archway-dark", props.className)} {...props}> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
what does *:
do?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Direct children styling! TW Docs for ref 😄
READY FOR REVIEW
Summary
Review By (Date)
Review Tasks
Setup tasks and/or behavior to test
Site Configuration Sync
Front End Validation
Associated Issues and/or People