Skip to content

An open source design system that's fully customizable and agent ready

TypeScript

chore: remove dead code (2026-07-21) (#4128)

Cindy Zhang0a6de96b249f
diff --git a/package.json b/package.json
index 77ff3d1d80..a8c4017f6c 100644
--- a/package.json
+++ b/package.json
@@ -53,7 +53,6 @@
"eslint": "^10.6.0",
"eslint-plugin-react-compiler": "19.1.0-rc.2",
"husky": "^9.1.7",
- "jscodeshift": "^17.3.0",
"jsdom": "^27.4.0",
"lint-staged": "^17.0.8",
"prettier": "^3.9.3",
diff --git a/packages/core/src/theme/hct.ts b/packages/core/src/theme/hct.ts
index 56c7507398..0fbc3c2e76 100644
--- a/packages/core/src/theme/hct.ts
+++ b/packages/core/src/theme/hct.ts
@@ -114,10 +114,6 @@ export function toneToY(tone: number): number {
return labFInv((tone + 16) / 116);
}
-export function yToTone(y: number): number {
- return 116 * labF(y) - 16;
-}
-
// =============================================================================
// Hex <-> RGB
// =============================================================================
diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml
index f14a0bb41d..60d44c344c 100644
--- a/pnpm-lock.yaml
+++ b/pnpm-lock.yaml
@@ -78,9 +78,6 @@ importers:
husky:
specifier: ^9.1.7
version: 9.1.7
- jscodeshift:
- specifier: ^17.3.0
- version: 17.3.0
jsdom:
specifier: ^27.4.0
version: 27.4.0