Jiseeeh / u-do-note

MIT License
2 stars 0 forks source link

Add theme data #27

Closed Jiseeeh closed 3 months ago

Jiseeeh commented 4 months ago

As a

dev

I want to

have a themeData for light and dark theme

To

easily change the app theme


Acceptance Criteria

Jiseeeh commented 4 months ago

app_theme sample

text_styles_sample

text_theme sample

Jiseeeh commented 4 months ago

eto yung sa main app sample

@override
  Widget build(BuildContext context, WidgetRef ref) {
    final themeMode = ref.watch(appThemeProvider); // no need na muna to, pero if kaya mo gawin pede na, gagamit kasi ng shared preference para ma store yung current theme ng app sa local
    return MaterialApp.router(
      title: 'Flutter TDD',
      theme: AppTheme.lightTheme,
      darkTheme: AppTheme.darkTheme,
      themeMode: themeMode, // // no need na muna to, pero if kaya mo gawin pede na, gagamit kasi ng shared preference para ma store yung current theme ng app sa local
      routeInformationParser: appRouter.defaultRouteParser(),
      routerDelegate: appRouter.delegate(),
      debugShowCheckedModeBanner: false,
    );
  }
Jiseeeh commented 2 months ago

:tada: This issue has been resolved in version 1.0.0 :tada:

The release is available on GitHub release

Your semantic-release bot :package::rocket: