-
Notifications
You must be signed in to change notification settings - Fork 176
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
App added new styling to protocol landing page #10715
Conversation
Codecov Report
@@ Coverage Diff @@
## edge #10715 +/- ##
==========================================
+ Coverage 73.83% 74.23% +0.39%
==========================================
Files 2139 2162 +23
Lines 57443 59251 +1808
Branches 5778 6689 +911
==========================================
+ Hits 42414 43985 +1571
- Misses 13822 13863 +41
- Partials 1207 1403 +196
Flags with carried forward coverage won't be shown. Click here to find out more.
|
<Icon | ||
name={'open-in-new'} | ||
marginLeft={SPACING.spacing2} | ||
size="10px" |
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.
This is weird since you updated this file before and edge
doesn't have this size prop.
Could you check that your working branch is checked out from edge
<Link | ||
fontSize={FONT_SIZE_CAPTION} | ||
color={C_MED_GRAY} | ||
css={TYPOGRAPHY.darkLinkPSemiBold} | ||
color={COLORS.darkBlack} |
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.
Not necessary since darkLinkPSemiBold has color property.
/> | ||
</Link> | ||
<Link | ||
fontSize={FONT_SIZE_CAPTION} | ||
color={C_MED_GRAY} | ||
css={TYPOGRAPHY.darkLinkPSemiBold} | ||
color={COLORS.darkBlack} |
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.
Not necessary since darkLinkPSemiBold has color property.
@@ -40,37 +40,48 @@ export function EmptyStateLinks(props: Props): JSX.Element | null { | |||
<Flex justifyContent={JUSTIFY_START} flexDirection={DIRECTION_ROW}> | |||
<Link | |||
fontSize={FONT_SIZE_CAPTION} | |||
color={C_MED_GRAY} | |||
css={TYPOGRAPHY.darkLinkPSemiBold} | |||
color={COLORS.darkBlack} |
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.
Not necessary since darkLinkPSemiBold has color property.
href={PROTOCOL_LIBRARY_URL} | ||
id={'EmptyStateLinks_protocolLibraryButton'} | ||
marginRight={SPACING.spacing3} | ||
opacity="0.7" |
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.
Recommend you to add opacity to darkLinkPSemiBold
then you don't need to add opacity to each Link
external | ||
> | ||
{t('browse_protocol_library')} | ||
<Icon | ||
name={'open-in-new'} | ||
marginLeft={SPACING.spacing2} | ||
size="10px" | ||
size="0.5rem" | ||
opacity="0.7" |
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.
Probably don't need to add opacity to Icon if Link has opacity
@@ -120,3 +120,14 @@ export const linkPSemiBold = css` | |||
opacity: 70%; | |||
} | |||
` | |||
|
|||
export const darkLinkPSemiBold = css` | |||
font-size: ${fontSizeP}; |
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.
you can use linkPSemiBold for L125-L127 `.
@@ -7,20 +7,25 @@ const overflowButtonStyles = css` | |||
max-height: ${SPACING.spacing6}; | |||
|
|||
&:hover { | |||
background-color: ${COLORS.medGrey}; | |||
background-color: ${COLORS.darkGreyHover}; |
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.
Jethary has been working on overflow-btn style, so you wouldn't need to work on this.
Overview
The PR will fix #10488
darkGreyEnabled
darkGreyEnabled
darkGreyEnabled
. No uppercase herep-semibold
, currently it's boldlabel-semibold
styling.Changelog
Review requests
Low
Risk assessment