-
Notifications
You must be signed in to change notification settings - Fork 1
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
feat: add new 'minus' icon and update TableOfContents component #377
feat: add new 'minus' icon and update TableOfContents component #377
Conversation
samanthadotdesign
commented
Jul 26, 2024
- Added new minus icon for list item from BoxIcon
- Updated typography and semantic colour tokens
- Changed underline on hover with underline offset
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
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.
Personal opinion but I thought having the vertical bar was nice HAHA but yeah defer to your professional judgement :)
{items.map(({ anchorLink, content }) => ( | ||
<div className="flex flex-row items-start gap-2"> | ||
<BiRightArrowAlt className="size-6 shrink-0 text-interaction-main" /> | ||
<BiMinus className="size-5 shrink-0 fill-base-content-strong" /> |
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.
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.
addressed in 26b4234
@@ -31,4 +33,5 @@ export const SUPPORTED_ICONS_MAP: Record<SupportedIconName, SupportedIconType> = | |||
"office-building": BiBuildings, | |||
stars: BiStar, | |||
globe: BiGlobe, | |||
minus: BiMinus, |
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.
question: hmm the icon here means that we are making it available for users to use this icon (for instance in infocols), is this intended?
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.
removed in b6a81d5