feat: 1.13.2

This commit is contained in:
TrèsAbhi committed 2023-10-05 11:04:46 -05:00
1 parent cb9d283f62
commit 92e35bd0ac
5 files changed
+13 -27

No files matched your search

@@ -1,5 +1,4 @@
import { Percentile } from '../../../../../constants/percentiles';
import hslToHex from '../../../../../core/node/hslToHex';
import { PERCENTILE_COLORS } from '../../../../PercentileIndicator';
export enum GlowSide {
@@ -14,8 +13,8 @@ export interface GlowProps {
export function Glow({ percentile, side }: GlowProps) {
const color = PERCENTILE_COLORS[percentile];
const color1 = hslToHex(color);
const color2 = `${color1}00`;
const color1 = color;
const color2 = `${color}00`;
const background = `linear-gradient(${
side === GlowSide.Top ? 0 : 180