narainkarthikv / contribution-cards

Open Source Contribution Sticky notes web Application. Develop: https://contribution-cards.vercel.app/
https://contribution-cards.netlify.app/
MIT License
2 stars 8 forks source link

Improve Card Styling with Dynamic Colors #22

Closed JollyJolli closed 3 months ago

JollyJolli commented 3 months ago

Description:

Currently, the users.css file applies manual styling to each card, resulting in a static and cumbersome approach. As the project grows, applying individual styles to each card will become impractical. It would be beneficial to introduce a script that dynamically assigns unique colors to each card. This would allow each card to have a distinct color every time the page is refreshed and scale more efficiently as the project expands.

Proposed Solution:

Benefits:

narainkarthikv commented 3 months ago

@JollyJolli This feature seems promising, but please ensure the color assigned to a card remains consistent even after a reload. This will help prevent potential issues, especially when there are many cards and frequent reloads.

JollyJolli commented 3 months ago

Ready! I all ready open a pull request with this feature (#23).