color (theme) fixes, NOT FINISHED

This commit is contained in:
Kima
2024-03-05 23:08:47 +01:00
parent 0dc9a0640a
commit e2ac4303f3
17 changed files with 57 additions and 39 deletions

View File

@@ -91,7 +91,7 @@ class MessageViewTile extends StatelessWidget {
decoration: BoxDecoration(
borderRadius: BorderRadius.circular(16.0),
border: Border.all(
color: Theme.of(context).colorScheme.primary.withOpacity(.25),
color: Theme.of(context).colorScheme.secondary.withOpacity(.25),
width: 1.0,
),
),

View File

@@ -1,4 +1,3 @@
import 'package:refilc/utils/color.dart';
import 'package:refilc_kreta_api/models/note.dart';
import 'package:refilc_mobile_ui/common/profile_image/profile_image.dart';
import 'package:refilc/utils/format.dart';
@@ -31,12 +30,13 @@ class NoteView extends StatelessWidget {
: note.teacher.name) ??
'',
radius: 22.0,
backgroundColor: ColorUtils.stringToColor(
(note.teacher.isRenamed
? note.teacher.renamedTo
: note.teacher.name) ??
'',
),
backgroundColor: Theme.of(context).colorScheme.secondary,
// backgroundColor: ColorUtils.stringToColor(
// (note.teacher.isRenamed
// ? note.teacher.renamedTo
// : note.teacher.name) ??
// '',
// ),
),
title: Text(
note.title,

View File

@@ -58,7 +58,7 @@ class TickTileState extends State<TickTile> {
decoration: BoxDecoration(
shape: BoxShape.circle,
border: Border.all(
color: Theme.of(context).colorScheme.primary,
color: Theme.of(context).colorScheme.secondary,
width: 2.0,
),
),
@@ -67,7 +67,7 @@ class TickTileState extends State<TickTile> {
: Icon(
FeatherIcons.checkCircle,
size: 22.0,
color: Theme.of(context).colorScheme.primary,
color: Theme.of(context).colorScheme.secondary,
),
title: Row(
children: [