Fix: ESLint-Config, Light-Mode-Akzent auf Violet, next-env.d.ts

- eslint.config.mjs mit @eslint/js (flat config, ESLint 9)
- eslint + eslint-config-next als devDependencies hinzugefügt
- Light Mode --accent und --ring von Grün auf Violet geändert (oklch 280)
- next-env.d.ts aktualisiert

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
Dieter Schlüter 2026-04-26 02:28:58 +02:00
commit 50bdab6112
5 changed files with 5206 additions and 403 deletions

View file

@ -17,13 +17,13 @@
--secondary-foreground: oklch(0.25 0.01 270);
--muted: oklch(0.92 0.005 90);
--muted-foreground: oklch(0.45 0.01 270);
--accent: oklch(0.65 0.15 145);
--accent-foreground: oklch(0.15 0.02 145);
--accent: oklch(0.55 0.20 280);
--accent-foreground: oklch(0.98 0.005 90);
--destructive: oklch(0.577 0.245 27.325);
--destructive-foreground: oklch(0.577 0.245 27.325);
--border: oklch(0.88 0.005 90);
--input: oklch(0.92 0.005 90);
--ring: oklch(0.65 0.15 145);
--ring: oklch(0.55 0.20 280);
--radius: 0.5rem;
}

14
eslint.config.mjs Normal file
View file

@ -0,0 +1,14 @@
import js from '@eslint/js'
export default [
js.configs.recommended,
{
ignores: ['.next/**', 'out/**', 'landingpage/**', 'node_modules/**'],
},
{
rules: {
'no-undef': 'off',
'no-unused-vars': 'off',
},
},
]

2
next-env.d.ts vendored
View file

@ -1,6 +1,6 @@
/// <reference types="next" />
/// <reference types="next/image-types/global" />
import "./.next/dev/types/routes.d.ts";
import "./.next/types/routes.d.ts";
// NOTE: This file should not be edited
// see https://nextjs.org/docs/app/api-reference/config/typescript for more information.

4789
package-lock.json generated

File diff suppressed because it is too large Load diff

View file

@ -65,6 +65,8 @@
"@types/node": "^22",
"@types/react": "^19",
"@types/react-dom": "^19",
"eslint": "^9.39.4",
"eslint-config-next": "^16.2.4",
"postcss": "^8.5",
"tailwindcss": "^4.2.0",
"tw-animate-css": "1.3.3",