-
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
Implement style guide in Tailwind config #85
base: develop
Are you sure you want to change the base?
Conversation
I finished changing the colors and font styles according to the given information but there are certain bugs in this for example the line height is not right as often multiple text elements seem to touch each other and also primary-blue-5 and neutral-5 seem to be the same. I don't know if I should delete the previous code or comment it out so I just deleted it.
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.
Good start! Just a few minor changes to make.
<h1 className="text-headline4 text-[96px] font-bold font-display ">Whoops!</h1> | ||
{/* <h1 className="text-display-extra-large">Whoops!</h1>*/} |
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.
Don't forget to remove commented code from changes being merged into develop
.
light: '#6470F7', | ||
DEFAULT: '#2F3FF4', | ||
dark: '#0B1CD5', | ||
'primary-blue': { |
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 works, but let's rename this to just primary
.
}, | ||
fontFamily: { | ||
sans: ['var(--font-sans)', 'Roboto', 'sans-serif'], | ||
display: ['var(--font-display)', 'Jost', 'Roboto', 'sans-serif'], | ||
display: ['var(--font-display)', 'Jost', 'Roboto', 'sans-serif', 'Montserrat'], |
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.
The font Montserrat is never loaded because it's not being imported in the _app.tsx
file. Instead of putting this here, update the font corresponding to --font-display
in _app.tsx
.
Overview
closes #70
I created an internal tool to simplify tailwind css
What Changed
I changed tailwind.config.js to fit new changes in the formats specified to me, adding new changes that abstracts away a lot of tailwind with 'display-text-large' instead of specifying font size, font family, font weight, line height, and letter spacing.
Other Notes
I finished changing the colors and font styles according to the given information but there are certain bugs in this, for example, the line height is not right as often multiple text elements seem to touch each other. I also deleted the previous code that was in tailwind.config.js.