diff --git a/ostp-flutter/assets/logo.png b/ostp-flutter/assets/logo.png new file mode 100644 index 0000000..da83aeb Binary files /dev/null and b/ostp-flutter/assets/logo.png differ diff --git a/ostp-flutter/lib/main.dart b/ostp-flutter/lib/main.dart index 81def1a..b03f271 100644 --- a/ostp-flutter/lib/main.dart +++ b/ostp-flutter/lib/main.dart @@ -26,11 +26,11 @@ class OstpApp extends StatelessWidget { debugShowCheckedModeBanner: false, theme: ThemeData( brightness: Brightness.dark, - scaffoldBackgroundColor: const Color(0xFF08080F), + scaffoldBackgroundColor: const Color(0xFF000000), colorScheme: const ColorScheme.dark( - primary: Color(0xFF6C72FF), - secondary: Color(0xFF22D3A5), - surface: Color(0xFF151522), + primary: Color(0xFFFFFFFF), + secondary: Color(0xFFAAAAAA), + surface: Color(0xFF111111), ), fontFamily: 'Inter', useMaterial3: true, diff --git a/ostp-flutter/lib/ui/home_screen.dart b/ostp-flutter/lib/ui/home_screen.dart index 31c5548..d552dbf 100644 --- a/ostp-flutter/lib/ui/home_screen.dart +++ b/ostp-flutter/lib/ui/home_screen.dart @@ -479,31 +479,15 @@ class _HomeScreenState extends State with TickerProviderStateMixin { return Scaffold( body: Stack( children: [ - Positioned( - top: -150, right: -100, - child: Container( - width: 400, height: 400, - decoration: BoxDecoration( - shape: BoxShape.circle, - color: theme.colorScheme.primary.withOpacity(0.15), - ), - child: BackdropFilter( - filter: ImageFilter.blur(sigmaX: 100, sigmaY: 100), - child: Container(), - ), - ), - ), - Positioned( - bottom: -100, left: -100, - child: Container( - width: 350, height: 350, - decoration: BoxDecoration( - shape: BoxShape.circle, - color: theme.colorScheme.secondary.withOpacity(0.1), - ), - child: BackdropFilter( - filter: ImageFilter.blur(sigmaX: 100, sigmaY: 100), - child: Container(), + Positioned.fill( + child: Opacity( + opacity: 0.03, + child: Center( + child: Image.asset( + 'assets/logo.png', + width: MediaQuery.of(context).size.shortestSide * 0.6, + color: Colors.white, + ), ), ), ), diff --git a/ostp-flutter/pubspec.yaml b/ostp-flutter/pubspec.yaml index 88185d8..0ca2aaf 100644 --- a/ostp-flutter/pubspec.yaml +++ b/ostp-flutter/pubspec.yaml @@ -72,9 +72,8 @@ flutter: uses-material-design: true # To add assets to your application, add an assets section, like this: - # assets: - # - images/a_dot_burr.jpeg - # - images/a_dot_ham.jpeg + assets: + - assets/logo.png # An image asset can refer to one or more resolution-specific "variants", see # https://flutter.dev/to/resolution-aware-images