-
Notifications
You must be signed in to change notification settings - Fork 2
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
Issue 22 Tailwind and global styles #26
Conversation
Roboto serving as h1 to h6 Urbanist serving as body font
package-lock.json changed to address depreciated packages
}, | ||
colors: { | ||
yellow: "#ffd700", |
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.
It's better to prefix the wajo color names with wajo-
to distinguish them from Tailwind's default class names. Considering addingwajo:{}
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 would require a second opinion on this one from the tech leads @AarifLamat @yunho7687 @Julie-Salazar. I personally think adding identifiers in front of those names would be a bit finicky. For example writing bg-yellow-400 is a lot easier than bg-wajo-yellow-400. By doing yellow: "#ffd700"
I've basically overridden Tailwind's default yellow of yellow: "#facc15"
. So Tailwind's default yellow will never appear again, only ours. If I want to still use Tailwind's default yellow, only then I would distinguish them if it makes sense.
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 think you're right
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 would require a second opinion on this one from the tech leads @AarifLamat @yunho7687 @Julie-Salazar. I personally think adding identifiers in front of those names would be a bit finicky. For example writing bg-yellow-400 is a lot easier than bg-wajo-yellow-400. By doing
yellow: "#ffd700"
I've basically overridden Tailwind's default yellow ofyellow: "#facc15"
. So Tailwind's default yellow will never appear again, only ours. If I want to still use Tailwind's default yellow, only then I would distinguish them if it makes sense.
yeah, good point, overwriting it is applicable in this project
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.
Looks good to me
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.
well done but why there are so many changes in package-lock.json? what did you do? does it necessary to change those dependencies?
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.
all in all, good job! will approve once figuring out the package-lock.json file
I can revert the package-lock.json if needed. All I did was |
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.
great job! thanks mate!
It can be merged now |
Change Summary
Change Form
N/A. I believe front end stuff doesn't require tests.
Other Information
All styles have been applied with accordance of the current style sheet provided on figma.
Side Note
package-lock.json has been slightly altered to address vulnerabilities and depreciation.
Related issue