diff --git a/daily-thought-frontend/src/components/post/Utils.ts b/daily-thought-frontend/src/components/post/Utils.ts index 1ff7df19293ebc514d4ccc0da5e8d5c717b38563..0fe16d09ed08c977c4d3a03035e6304f31b4d52a 100644 --- a/daily-thought-frontend/src/components/post/Utils.ts +++ b/daily-thought-frontend/src/components/post/Utils.ts @@ -1,5 +1,5 @@ export function generateRandomLinearGradient(colors: string[], fixedAngle: boolean): string{ - const randomAngle = Math.random() * 360; - const gradient = Math.floor((Math.random() * 20) + 10); + const randomAngle = 117; + const gradient = 20; return `linear-gradient(${fixedAngle? 117 : randomAngle}deg, ${colors[0]} ${gradient}%, ${colors[1]} ${100-gradient}%)` } \ No newline at end of file