mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-12-04 23:32:54 +01:00
optimize html, css, svg's, and webp delivery
This commit is contained in:
75 files changed
+452
-331
No files matched your search
@@ -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;
|
||||
@@ -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];
|
||||
Reference in new issue
Block a user