optimize html, css, svg's, and webp delivery

This commit is contained in:
tresabhi committed 2026-11-20 23:23:40 -06:00
1 parent 457f04ce0c
commit 68335de62c
75 files changed
+452 -331

No files matched your search

+4
View File
@@ -0,0 +1,4 @@
export const RANKING_STEPS = 2 ** 4;
// Worst to best, blended across the steps
export const RANKING_COLORS = ["red", "orange", "amber", "jade"] as const;
+8
View File
@@ -19,3 +19,11 @@ export const weights = {
bold: 700,
black: 900,
} as const;
export const COLOR_SCALE_LENGTH = 12;
export const COLORS_ALPHA_ONLY = ["black", "white"] as const;
export type AlphaOnlyColor = (typeof COLORS_ALPHA_ONLY)[number];
export const COLOR_ALIASES = ["gray", "accent"] as const;
export type ColorAlias = (typeof COLOR_ALIASES)[number];