custom theme, fontsize
This commit is contained in:
parent
78f47362cc
commit
c574f456a0
5 changed files with 219 additions and 6 deletions
|
|
@ -58,10 +58,14 @@ class _MuzzleVelocityAppState extends State<MuzzleVelocityApp> {
|
|||
title: 'Muzzle Velocity',
|
||||
theme: ThemeData(
|
||||
brightness: Brightness.light,
|
||||
scaffoldBackgroundColor: Color(0xffF6F4F1),
|
||||
appBarTheme: AppBarTheme(backgroundColor: Color(0xffF6F4F1)),
|
||||
textTheme: GoogleFonts.ibmPlexMonoTextTheme(),
|
||||
),
|
||||
darkTheme: ThemeData(
|
||||
brightness: Brightness.dark,
|
||||
scaffoldBackgroundColor: Color(0xFF121212),
|
||||
appBarTheme: AppBarTheme(backgroundColor: Color(0xFF121212)),
|
||||
textTheme: GoogleFonts.ibmPlexMonoTextTheme(),
|
||||
),
|
||||
themeMode: _themeMode,
|
||||
|
|
@ -268,7 +272,7 @@ class _NoteListScreenState extends State<NoteListScreen> {
|
|||
Color tagColor = Colors.white;
|
||||
if (tag.startsWith('#')) tagColor = Colors.pinkAccent;
|
||||
if (tag.startsWith('+')) tagColor = Colors.cyan;
|
||||
if (tag.startsWith('@')) tagColor = Colors.yellow;
|
||||
if (tag.startsWith('@')) tagColor = Colors.orange;
|
||||
|
||||
spans.add(TextSpan(text: tag + ' ', style: TextStyle(color: tagColor, fontWeight: FontWeight.bold)));
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue