fix: update color values to #27FF64 in various components and demos

This commit is contained in:
David Haz
2025-09-01 09:55:59 +03:00
parent 7c54716965
commit 06517042bd
8 changed files with 9 additions and 9 deletions

View File

@@ -22,7 +22,7 @@ interface RibbonsProps {
}
const props = withDefaults(defineProps<RibbonsProps>(), {
colors: () => ['#ff9346', '#7cff67', '#ffee51', '#5227FF'],
colors: () => ['#ff9346', '#7cff67', '#ffee51', '#27FF64'],
baseSpring: 0.03,
baseFriction: 0.9,
baseThickness: 30,

View File

@@ -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][] = [];

View File

@@ -32,7 +32,7 @@ interface Props {
}
const props = withDefaults(defineProps<Props>(), {
color: '#5227FF',
color: '#27FF64',
size: 1,
items: () => [],
class: ''