Skip to content

Commit

Permalink
feat: 1.13.2
Browse files Browse the repository at this point in the history
  • Loading branch information
tresabhi committed Oct 5, 2023
1 parent cb9d283 commit 92e35bd
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 27 deletions.
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
# blitzkrieg
# Blitzkrieg

[![built with Codeium](https://codeium.com/badges/main)](https://codeium.com)

Tools for everything World of Tanks Blitz

Expand Down
7 changes: 7 additions & 0 deletions docs/changelogs/1.13.2.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# Blitzkrieg 1.13.2

One lonely albeit important fix.

## Fixes

- Gradients for `/stats` now use Radix's new hex values
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "blitzkrieg",
"version": "1.13.1",
"version": "1.13.2",
"description": "🎉 Tools for everything World of Tanks Blitz",
"main": "src/server.ts",
"type": "module",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import { Percentile } from '../../../../../constants/percentiles';
import hslToHex from '../../../../../core/node/hslToHex';
import { PERCENTILE_COLORS } from '../../../../PercentileIndicator';

export enum GlowSide {
Expand All @@ -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
Expand Down
22 changes: 0 additions & 22 deletions src/core/node/hslToHex.ts

This file was deleted.

0 comments on commit 92e35bd

Please sign in to comment.