pull down to refresh

Great cowboys already know the Bolt color palette, but cowboys with few bullets might not have seen it yet. Below is the simplified Bolt color palette in relation to zapped sats.

export default function getColor (meSats) { if (!meSats || meSats <= 10) { return 'var(--bs-secondary)' } const idx = Math.min( Math.floor((Math.log(meSats) / Math.log(10000)) * (Rainbow.length - 1)), Rainbow.length - 1) return Rainbow[idx] }
Honoured to be the first Stacker to shower you some sats!
Okay Iā€™m not the first one but I mean, still among the earliest. Plus I left you a comment haha