mirror of
https://github.com/DavidHDev/vue-bits.git
synced 2026-03-09 16:39:31 -06:00
fix: update color values to #27FF64 in various components and demos
This commit is contained in:
@@ -32,7 +32,7 @@ const hexToRGB = (hex: string): [number, number, number] => {
|
||||
};
|
||||
|
||||
const prepStops = (stops?: string[]) => {
|
||||
const base = (stops && stops.length ? stops : ['#FF9FFC', '#5227FF']).slice(0, MAX_COLORS);
|
||||
const base = (stops && stops.length ? stops : ['#FF9FFC', '#27FF64']).slice(0, MAX_COLORS);
|
||||
if (base.length === 1) base.push(base[0]);
|
||||
while (base.length < MAX_COLORS) base.push(base[base.length - 1]);
|
||||
const arr: [number, number, number][] = [];
|
||||
|
||||
Reference in New Issue
Block a user