color (theme) fixes, NOT FINISHED
This commit is contained in:
@@ -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,
|
||||
),
|
||||
),
|
||||
|
||||
@@ -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,
|
||||
|
||||
@@ -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: [
|
||||
|
||||
Reference in New Issue
Block a user