Completed palette editor, ui overhaul.
Test and Build / test-and-build (push) Failing after 2m44s

This commit is contained in:
Jay
2026-03-23 08:24:44 -04:00
parent 9fec89949b
commit 5f6d0f43ee
33 changed files with 2713 additions and 611 deletions
+8
View File
@@ -111,3 +111,11 @@ export function roundTo(
export function formatCssRgb(hex: Hex) {
return `rgb(${hex.r},${hex.g},${hex.b})`;
}
export function formatCssRgbs(hex: Hex, alpha: number) {
return `rgb(${hex.r},${hex.g},${hex.b},${roundTo(alpha, 2)})`;
}
export function randomId(): string {
return Math.random().toString(36).slice(2, 8);
}