forked from firka/student-legacy
fixed color things
This commit is contained in:
parent
e188536d65
commit
3e7f38666e
@ -716,7 +716,7 @@ class TimetablePageState extends State<TimetablePage>
|
|||||||
indicatorPadding:
|
indicatorPadding:
|
||||||
const EdgeInsets.symmetric(horizontal: 10.0),
|
const EdgeInsets.symmetric(horizontal: 10.0),
|
||||||
indicator: BoxDecoration(
|
indicator: BoxDecoration(
|
||||||
color: AppColors.of(context).highlight,
|
color: Theme.of(context).colorScheme.background,
|
||||||
// color: Colors.transparent,
|
// color: Colors.transparent,
|
||||||
// border: Border.all(
|
// border: Border.all(
|
||||||
// color: AppColors.of(context)
|
// color: AppColors.of(context)
|
||||||
|
@ -93,7 +93,7 @@ class StatusBarState extends State<StatusBar> {
|
|||||||
decoration: BoxDecoration(
|
decoration: BoxDecoration(
|
||||||
// borderRadius: BorderRadius.circular(1.0),
|
// borderRadius: BorderRadius.circular(1.0),
|
||||||
borderRadius: BorderRadius.zero,
|
borderRadius: BorderRadius.zero,
|
||||||
color: AppColors.of(context).background,
|
color: Theme.of(context).scaffoldBackgroundColor,
|
||||||
),
|
),
|
||||||
padding: const EdgeInsets.only(left: 10.0, right: 10.0),
|
padding: const EdgeInsets.only(left: 10.0, right: 10.0),
|
||||||
child: Text(
|
child: Text(
|
||||||
|
@ -570,6 +570,9 @@ class PaintListScreenState extends State<PaintListScreen>
|
|||||||
// changing font family
|
// changing font family
|
||||||
settingsProvider.update(fontFamily: newThemeByID!.fontFamily, store: true);
|
settingsProvider.update(fontFamily: newThemeByID!.fontFamily, store: true);
|
||||||
|
|
||||||
|
// set "paint mode" to custom accent
|
||||||
|
settingsProvider.update(accentColor: AccentColor.custom, store: true);
|
||||||
|
|
||||||
// seems weird but it works, trust me (idk why)
|
// seems weird but it works, trust me (idk why)
|
||||||
// await settingsProvider.update(theme: settingsProvider.theme, store: true);
|
// await settingsProvider.update(theme: settingsProvider.theme, store: true);
|
||||||
Provider.of<ThemeModeObserver>(context, listen: false)
|
Provider.of<ThemeModeObserver>(context, listen: false)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user