-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
[ENHANCEMENT] Polish the dark mode; Overhaul submit form; Fix dark mode skeleton components; #67
[ENHANCEMENT] Polish the dark mode; Overhaul submit form; Fix dark mode skeleton components; #67
Conversation
Even if they are repetitive values, they remove the guesswork while setting the color to an element.
More accessibility, more breathing space, improved placeholders, improved width.
Weren't being used anywhere
…*-dark-* This will make all colors uniform and add some hierarchy to the different texts instead of all texts being plain white.
- Embrace the slate color more. - Add some visual hierarchy to different sections of the homepage. - Change Many Title Case Text Elements to Sentence case elements. - Add a hover state to the Create post button.
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
When you hover over the blank spaces between cards, you'd get a pointer cursor. That's because the cursor was actually over the card container with the onclick property. With this change, The card container is a proper blank space without any consequences.
Change light theme colors according to the theme vars
- Remove unnecessary classes
29768d1
to
62088b1
Compare
This will get rid of the need of having the arbitrary value classes in class lists.
- This aligns with the composition practice of react. We strive to make everything a component. - Support dark mode. The dark mode will have darker versions of the light colors. - Change from bg-*-100 to bg-*-200 to make the colors more prominent. - Make the font medium, this will align more with the figma design. - Remove utils/category-props.tsx
Create Blog post page looks good to me, in terms of responsiveness, the home page looks a bit missed up, if we are not getting engagements from contributors I'll take it up. No worries. Referring to #13 |
Hi @chinmaykunkikar @krishnaacharyaa Can we align title with detail and @chinmaykunkikar as your choice. |
@chinmaykunkikar your code look great and the approach used is good. I approved ur code. hey @chinmaykunkikar can u plz add some meta data in index file as It will help in better recognition in google. updated: <head>
<meta charset="UTF-8" />
<link rel="icon" type="image/svg+xml" href="/vite.svg" />
<link
href="https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap"
rel="stylesheet"
/>
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Wanderlust</title>
</head> Edit: add a code block. |
@krishnaacharyaa, I didn't bother much about the homepage responsiveness. |
Perhaps a topic for another PR? :) |
P.S. Please learn to use code blocks when you want to show or refer some code. The rest of the html code except the title tag was automatically parsed by the GitHub markdown. |
Please don't, too many already clubbed in this PR, it later becomes difficult to track. And the title one even we'll do it seperately! We'll get this pushed ASAP, I'm expecting a bit of crowd to come in, let's aim to merge this as top priority If you can just do the Map type of category, that would suffice for now. If you feel it needs some dedicated time we'll take it up later. p.s: this has some really nice enhancements, so I'm hurrying to merge this, hope you understand and don't mind 😊 |
Sure
Yes, sure.
I'll do it in this PR itself.
I get you. But... relax, this is the only task that that's pending for this PR. You'll (probably) just have to click on the merge button once I push it. |
oops okay... Take your time. |
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.
Thank you for very unique and interesting approach, looks cool to me, just some naming conventions if we can update :D
@chinmaykunkikar just couple of things, pardon me for being very picky and specific. And here |
- This way we make sure we have a single source of truth for all categories and their colors. - const `categories` replaces the constants file CATEGORIES. - I have renamed it to lower case to make it uniform with the rest of the codebase, even if the best practices says to use uppercase for all constatnts.
40a66b8
to
28ac078
Compare
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.
Thank you @chinmaykunkikar, LGTM. It's gonna be the biggest PR with 24 commits till date ;)
Summary
Fix dark mode skeleton components; Polish the dark mode; Overhaul submit form;
Description
Dark Color Variant:
dark
color variant in Tailwind CSS configuration for unambiguous color assignment.Light Color Variant:
light
variant in Tailwind CSS, expanding color choices for enhanced design flexibility.Blog Form Overhaul:
Unified Color Scheme:
*-slate-*
universally, ensuring consistent and hierarchical text colors.Background Color Adjustment:
slate-50
for aesthetic alignment with UI practices.Homepage Design Improvements:
Text Formatting and Styling:
Button Interactivity:
Skeleton Loading Enhancement:
Font Configuration:
Poppins
font directly into Tailwind CSS, eliminating arbitrary value classes.Category Pill Component Updates:
<CategoryPill />
component, replacingutil/category-props.tsx
in line with React principles.bg-*-100
tobg-*-200
for enhanced prominence.Images
Headers
Before
After
Skeletons (Dark)
Before
After
Featured and latest posts (Dark)
Before
After
Featured and latest posts (Light)
Before
After
All blog posts cards (Dark)
Before
After
Create blog form (Dark)
Before
After
Create blog form (Light)
Before
After
Details page (Dark)
Before
After
Details Page (Light)
Before
After
Modal
Before
After
Issue(s) Addressed
Prerequisites