near-in-minutes / frontend

NEAR in Minutes is a NEAR-COOP (NEAR Community Owned and Operated Project) that invites you to binge-watch lessons about the NEAR platform in your favorite language.
https://near-in-minutes.com
0 stars 0 forks source link

[FEATURE] as a contributor I want to see a list of all collections to which I can contribute #23

Closed norrec99 closed 3 years ago

norrec99 commented 3 years ago

collections added as json, colors changed according to NEAR brand colors

amgando commented 3 years ago

couple of things:

adding colors to the theme

i think we should extend the default color palette instead of overriding it with NEAR-specific colors. i've made the edits in the PR

theme: {
  extend: {
    colors: {
        'near-black': '#000000',
        'near-white': '#FFFFFF',
        'near-gray': '#F2F2F2',
        'near-red': '#FF585D',
        'near-orange': '#FFB259',
        'near-yellow': '#F0EC74',
        'near-green': '#00C08B',
        'near-blue': '#00C1DE',
        'near-royal': '#0072CE',
}}}

implementing colorization of each collection

i see how @norrec99 has implemented colors here but i think it's too specific. we don't need specific colors, just some colors maybe? not even sure if this is the right design for this component but it's great for now. i've reimplemented with random color and shade selection since we may have many collections (~10? ~100? not sure)

i refactored this so we're just picking random colors within some range of darkness (200 - 700) https://www.loom.com/share/94bee8799f8749e3b0a22e8daa83d505

norrec99 commented 3 years ago

Looks awesome! 🙌 Thanks for the update.

The only thing that left to do with this branch is translating locale files which @BigDaddy-Zephyr @ozanisgor and me can handle asap. After that I can merge this branch.

near-in-minutes goes to the mooooon 🚀🚀🚀🚀🚀