Skip to content
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

1822 infobox color typography update #1874

Open
wants to merge 3 commits into
base: develop
Choose a base branch
from

Conversation

akinevans
Copy link
Member

Fixes #replace_this_text_with_the_issue_number

What changes did you make?

  • Update error box background color to match style guide
  • Update H1 heading font to match style guide

Issue-Specific User Account

If you registered a new, temporary TDM User Account for this issue, indicate the
username (i.e., email address) for the account.

Screenshots of Proposed Changes Of The Website (if any, please do not screen shot code changes)

Visuals before changes are applied

image
before

Visuals after changes are applied

after

…Heading 1 in the style guide. This included changes to font family, size and line-height
…into 1822-infobox-color-typography-update
marginTop: "22px"
}
},
level0Message: {
marginTop: "20px",
maxWidth: "800px",
backgroundColor: "#FEF4F2",
backgroundColor: "#F9DFDA",
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

rather than hard-coding the color here, it should use the colors.tooltip from the theme.

@@ -15,17 +15,17 @@ const useStyles = createUseStyles({
textAlign: "center",

"& h1": {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Instead of hard-coding the font-related styles, this should reference the theme's typography.heading1 style

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants