-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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
Cleanup global styles #7564
Cleanup global styles #7564
Conversation
… into the chakra theme configuration file
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
@@ -1,7 +1,7 @@ | |||
export type Colors = typeof colors | |||
|
|||
const colors = { | |||
grey: { | |||
gray: { |
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.
I see in the figma this is spelt grey
. Should that be updated there to reflect this change. I have no strong preference on the spelling we use, just should be consistent.
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.
Good call, yes.
To clarify, Chakra is using gray
. Calling @nloureiro to update those names in the design system and keep the consistency.
@@ -7,7 +7,6 @@ import { IntlProvider } from "react-intl" | |||
import { LocaleProvider } from "gatsby-theme-i18n" | |||
|
|||
import { lightTheme, darkTheme } from "../theme" | |||
import GlobalStyle from "./GlobalStyle" |
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 was the only use of this component, so I think we can delete it :)
Gatsby Cloud Build Reportethereum-org-website-dev 🎉 Your build was successful! See the Deploy preview here. Build Details🕐 Build time: 33m |
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.
LGTM 🚀
Description
GlobalStyles
in favor of the reset rules applied by Chakra.GlobalStyles
into the Chakra theme folder. To have everything in one place.GlobalStyles
component.Related Issue
#6374