diff --git a/biome.json b/biome.json index 79bf787..59687b5 100644 --- a/biome.json +++ b/biome.json @@ -9,7 +9,8 @@ "recommended": true, "correctness": { "noUnusedVariables": "error", - "useExhaustiveDependencies": "warn" + "useExhaustiveDependencies": "warn", + "noUnknownFunction": "warn" }, "a11y": { "useKeyWithClickEvents": "warn", diff --git a/bun.lockb b/bun.lockb index 47db92d..70f927e 100755 Binary files a/bun.lockb and b/bun.lockb differ diff --git a/package.json b/package.json index eeb1726..65dd219 100644 --- a/package.json +++ b/package.json @@ -35,7 +35,6 @@ "immer": "^10.1.1", "lucide-react": "^0.428.0", "next-themes": "^0.3.0", - "prettier": "^3.4.1", "react": "^19.0.0-rc-fb9a90fa48-20240614", "react-dom": "^19.0.0-rc-fb9a90fa48-20240614", "react-ga4": "^2.1.0", @@ -44,6 +43,7 @@ "starknet": "^6.11.0", "starknetkit": "^2.3.3", "tailwind-merge": "^2.5.5", + "tailwindcss": "^4.0.0-beta.4", "tailwindcss-animate": "^1.0.7", "twgl.js": "^5.5.4", "use-debounce": "^10.0.4", @@ -54,7 +54,6 @@ "devDependencies": { "@anthropic-ai/sdk": "^0.32.1", "@biomejs/biome": "1.9.4", - "@eslint/js": "^9.16.0", "@types/bun": "^1.1.14", "@types/node": "^22.10.1", "@types/react": "npm:types-react@rc", @@ -63,17 +62,8 @@ "@vitejs/plugin-react-swc": "^3.7.2", "autoprefixer": "^10.4.20", "bun": "^1.1.38", - "eslint": "^9.16.0", - "eslint-config-prettier": "^9.1.0", - "eslint-plugin-react": "^7.37.2", - "eslint-plugin-react-hooks": "^5.1.0-rc-fb9a90fa48-20240614", - "eslint-plugin-react-refresh": "^0.4.14", - "globals": "^15.12.0", - "postcss": "^8.4.49", - "slint": "^0.1.0", - "tailwindcss": "^4.0.0-beta.4", + "globals": "^15.13.0", "typescript": "^5.7.2", - "typescript-eslint": "^8.16.0", "vite": "^5.4.11", "vite-plugin-glsl": "^1.3.1", "vite-plugin-pwa": "^0.20.5", diff --git a/src/components/AppList.tsx b/src/components/AppList.tsx index 0876be9..f25c8da 100644 --- a/src/components/AppList.tsx +++ b/src/components/AppList.tsx @@ -16,10 +16,9 @@ const AppList = () => {
{apps.map((app, index) => (
onSelect(index)} - onKeyDown={(e) => e.key === 'Enter' && onSelect(index)} > {app.icon}
diff --git a/src/components/ColorPallette.tsx b/src/components/ColorPallette.tsx index 1406e6e..32e8b04 100644 --- a/src/components/ColorPallette.tsx +++ b/src/components/ColorPallette.tsx @@ -56,7 +56,7 @@ export const ColorPalette = ({ className={cn( 'bg-slate-900 fixed mx-auto bottom-1 left-0 right-0 flex items-center justify-center shadow-md transition-all duration-300 ease-in-out rounded-full', isOpen - ? 'max-w-[340px] px-4 h-[50px]' + ? 'max-w-[360px] px-4 h-[50px]' : 'w-12 h-12 rounded-full cursor-pointer hover:bg-slate-800' )} onClick={isOpen ? undefined : () => setIsOpen(true)} @@ -68,11 +68,11 @@ export const ColorPalette = ({ isOpen ? 'flex opacity-100 w-[calc(100%-40px)]' : 'hidden opacity-0' )} > -
+
{[...customColors, ...COLOR_PALETTE].map((color, index) => (