feat(app): dark mode uses a near-black gray with lighter layers instead of pure black

This commit is contained in:
2026-10-23 23:12:57 +01:00
parent f291d157fa
commit f6c90e96db
24 changed files with 142 additions and 13 deletions
@@ -1,3 +1,4 @@
import '../../../ui/theme/app_theme.dart';
import 'package:flutter/cupertino.dart';
import 'package:flutter/material.dart';
@@ -42,6 +43,7 @@ class ArtifactDocumentSection extends StatelessWidget {
}
if (usesCupertinoHost(context)) {
return CupertinoListSection.insetGrouped(
backgroundColor: AppColors.groupedBackground,
header: Semantics(
container: true,
header: true,
@@ -1,3 +1,4 @@
import '../../../ui/theme/app_theme.dart';
import 'package:flutter/cupertino.dart';
import 'package:flutter/material.dart';
import 'package:flutter/services.dart';
@@ -390,7 +391,7 @@ class _ArtifactGalleryPageState extends State<ArtifactGalleryPage> {
return CupertinoPageScaffold(
// Sections paint the grouped background; the page must match it or a
// white seam shows below the last section in light mode.
backgroundColor: CupertinoColors.systemGroupedBackground,
backgroundColor: AppColors.groupedBackground,
navigationBar: const CupertinoNavigationBar(
middle: Text(artifactGalleryTitle),
),
@@ -1,3 +1,4 @@
import '../../../ui/theme/app_theme.dart';
import '../../../ui/input/arrow_key_pager.dart';
import 'dart:convert';
@@ -248,7 +249,7 @@ class _ArtifactViewerPageState extends State<ArtifactViewerPage> {
);
if (usesCupertinoHost(context)) {
return CupertinoPageScaffold(
backgroundColor: CupertinoColors.systemGroupedBackground,
backgroundColor: AppColors.groupedBackground,
navigationBar: CupertinoNavigationBar(
middle: Text(title, overflow: TextOverflow.ellipsis),
),