feat(dark-mode-improvements): Dark-Mode CSS-Polish (bessere Kontraste in Tables, Forms) [tsc:fail]

This commit is contained in:
Dennis (via Claude+Gemma) 2026-05-23 07:16:21 +02:00
parent 44ffc813c7
commit c067da74f9
4 changed files with 36 additions and 4 deletions

View File

@ -1,10 +1,11 @@
{ {
"completed_features": [], "completed_features": [],
"current_feature": "time-entry-templates", "current_feature": "dark-mode-improvements",
"started_at": "2026-05-23T07:08:48.804883", "started_at": "2026-05-23T07:08:48.804883",
"attempted_features": [ "attempted_features": [
"pinned-customers", "pinned-customers",
"smart-suggestions", "smart-suggestions",
"recent-projects-quick-access" "recent-projects-quick-access",
"time-entry-templates"
] ]
} }

View File

@ -1958,3 +1958,20 @@ src/index.ts(27,25): error TS2769: No overload matches this call.
Overload 2 of 3, '(plugin: FastifyPluginAsync<{ limits: { fileSize: number; }; }, RawServerDefault, FastifyTypeProvider, FastifyBaseLogger>, opts?: FastifyRegisterOptions<...> | undefined): FastifyInstance<...> & PromiseLike<...>', gave the following error. Overload 2 of 3, '(plugin: FastifyPluginAsync<{ limits: { fileSize: number; }; }, RawServerDefault, FastifyTypeProvider, FastifyBaseLogger>, opts?: FastifyRegisterOptions<...> | undefined): FastifyInstance<...> & PromiseLike<...>', gave the following error.
Argument of type 'Promise<FastifyMultipartPlugin>' is not assignable to parameter of type 'FastifyPluginAsync<{ limits: { fileSize: number; }; }, RawServerDefault, FastifyTypeProvider, FastifyBaseLogger>'. Argument of type 'Promise<FastifyMultipartPlugin>' is not assignable to parameter of type 'FastifyPluginAsync<{ limits: { fileSize: number; }; }, RawServerDefault, FastifyTypeProvider, FastifyBaseLogger>'.
Type 'Promise<FastifyMultipartPlugin>' provides no match for the signature '(instance: FastifyInstance<RawServerDefault, IncomingMessage, ServerResponse<IncomingMessage>, FastifyBaseLogger, FastifyTy Type 'Promise<FastifyMultipartPlugin>' provides no match for the signature '(instance: FastifyInstance<RawServerDefault, IncomingMessage, ServerResponse<IncomingMessage>, FastifyBaseLogger, FastifyTy
- `07:16:15` **INFO** Committed feature time-entry-templates
- `07:16:16` **INFO** Pushed: rc=0
## Phase-3 Feature: dark-mode-improvements (2026-05-23 07:16:16)
- `07:16:16` **INFO** Description: Dark-Mode CSS-Polish (bessere Kontraste in Tables, Forms)
- `07:16:16` **INFO** Generating apps/web/src/index.css (ERWEITERT — behalte @tailwind base/components/utilities. Füge dark-mod…)
- `07:16:20` **INFO** wrote 330 chars in 3.7s (attempt 1)
- `07:16:20` **INFO** Running tsc --noEmit on api…
- `07:16:21` **WARN** tsc errors:
src/index.ts(27,25): error TS2769: No overload matches this call.
Overload 1 of 3, '(plugin: FastifyPluginCallback<{ limits: { fileSize: number; }; }, RawServerDefault, FastifyTypeProvider, FastifyBaseLogger>, opts?: FastifyRegisterOptions<...> | undefined): FastifyInstance<...> & PromiseLike<...>', gave the following error.
Argument of type 'Promise<FastifyMultipartPlugin>' is not assignable to parameter of type 'FastifyPluginCallback<{ limits: { fileSize: number; }; }, RawServerDefault, FastifyTypeProvider, FastifyBaseLogger>'.
Type 'Promise<FastifyMultipartPlugin>' provides no match for the signature '(instance: FastifyInstance<RawServerDefault, IncomingMessage, ServerResponse<IncomingMessage>, FastifyBaseLogger, FastifyTypeProvider>, opts: { ...; }, done: (err?: Error | undefined) => void): void'.
Overload 2 of 3, '(plugin: FastifyPluginAsync<{ limits: { fileSize: number; }; }, RawServerDefault, FastifyTypeProvider, FastifyBaseLogger>, opts?: FastifyRegisterOptions<...> | undefined): FastifyInstance<...> & PromiseLike<...>', gave the following error.
Argument of type 'Promise<FastifyMultipartPlugin>' is not assignable to parameter of type 'FastifyPluginAsync<{ limits: { fileSize: number; }; }, RawServerDefault, FastifyTypeProvider, FastifyBaseLogger>'.
Type 'Promise<FastifyMultipartPlugin>' provides no match for the signature '(instance: FastifyInstance<RawServerDefault, IncomingMessage, ServerResponse<IncomingMessage>, FastifyBaseLogger, FastifyTy

View File

@ -112,4 +112,12 @@ export const savedViews = pgTable("saved_views", {
entityType: text("entity_type").notNull(), entityType: text("entity_type").notNull(),
config: text("config").notNull(), config: text("config").notNull(),
createdAt: timestamp("created_at").notNull().defaultNow() createdAt: timestamp("created_at").notNull().defaultNow()
}) })
export const passwordResetTokens = pgTable("password_reset_tokens", {
id: uuid("id").primaryKey().defaultRandom(),
userId: uuid("user_id").notNull().references(() => users.id, { onDelete: "cascade" }),
tokenHash: text("token_hash").notNull(),
expiresAt: timestamp("expires_at").notNull(),
usedAt: timestamp("used_at"),
createdAt: timestamp("created_at").notNull().defaultNow(),
})

View File

@ -4,6 +4,12 @@
@layer base { @layer base {
body { body {
@apply bg-slate-50 text-slate-900 font-sans antialiased; @apply bg-slate-50 text-slate-900 font-sans antialiased dark:bg-slate-900 dark:text-slate-100;
}
}
@layer components {
.card {
@apply bg-white border border-slate-200 rounded-lg shadow-sm dark:bg-slate-800 dark:border-slate-700;
} }
} }