feat(app): dark mode uses a near-black gray with lighter layers instead of pure black
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
import '../../../ui/theme/app_theme.dart';
|
||||
import 'package:flutter/cupertino.dart';
|
||||
|
||||
import '../pipeline_filter.dart';
|
||||
@@ -31,6 +32,7 @@ class PipelineFilterCupertinoBody extends StatelessWidget {
|
||||
),
|
||||
),
|
||||
CupertinoListSection.insetGrouped(
|
||||
backgroundColor: AppColors.groupedBackground,
|
||||
header: const Text('RUNS'),
|
||||
children: [
|
||||
for (final presence in RunPresence.values)
|
||||
@@ -42,6 +44,7 @@ class PipelineFilterCupertinoBody extends StatelessWidget {
|
||||
],
|
||||
),
|
||||
CupertinoListSection.insetGrouped(
|
||||
backgroundColor: AppColors.groupedBackground,
|
||||
header: const Text('LAST RUN STATUS'),
|
||||
children: [
|
||||
for (final status in runStatusFilters)
|
||||
@@ -61,6 +64,7 @@ class PipelineFilterCupertinoBody extends StatelessWidget {
|
||||
],
|
||||
),
|
||||
CupertinoListSection.insetGrouped(
|
||||
backgroundColor: AppColors.groupedBackground,
|
||||
header: const Text('SCHEDULING'),
|
||||
footer: const Text('Configured schedules, including paused.'),
|
||||
children: [
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
import '../../../ui/theme/app_theme.dart';
|
||||
import 'dart:math' as math;
|
||||
|
||||
import 'package:flutter/cupertino.dart';
|
||||
@@ -215,6 +216,7 @@ class PipelineListPanel extends StatelessWidget {
|
||||
key: const Key('pipeline-list'),
|
||||
children: [
|
||||
CupertinoListSection.insetGrouped(
|
||||
backgroundColor: AppColors.groupedBackground,
|
||||
children: [
|
||||
for (final pipeline in items)
|
||||
CupertinoListTile(
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
import '../../../ui/theme/app_theme.dart';
|
||||
import 'package:flutter/cupertino.dart';
|
||||
import 'package:flutter/material.dart';
|
||||
|
||||
@@ -124,6 +125,7 @@ class PipelineSummaryView extends StatelessWidget {
|
||||
];
|
||||
if (useCupertinoControls(context)) {
|
||||
return CupertinoListSection.insetGrouped(
|
||||
backgroundColor: AppColors.groupedBackground,
|
||||
header: const Text('VERSIONS'),
|
||||
children: rows,
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user