feat(flutter): update UI theme to monochrome with eagle watermark

This commit is contained in:
ospab 2026-07-09 23:57:58 +03:00
parent fa7ec2cd9a
commit 22c2d5edd8
4 changed files with 15 additions and 32 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 13 KiB

View File

@ -26,11 +26,11 @@ class OstpApp extends StatelessWidget {
debugShowCheckedModeBanner: false, debugShowCheckedModeBanner: false,
theme: ThemeData( theme: ThemeData(
brightness: Brightness.dark, brightness: Brightness.dark,
scaffoldBackgroundColor: const Color(0xFF08080F), scaffoldBackgroundColor: const Color(0xFF000000),
colorScheme: const ColorScheme.dark( colorScheme: const ColorScheme.dark(
primary: Color(0xFF6C72FF), primary: Color(0xFFFFFFFF),
secondary: Color(0xFF22D3A5), secondary: Color(0xFFAAAAAA),
surface: Color(0xFF151522), surface: Color(0xFF111111),
), ),
fontFamily: 'Inter', fontFamily: 'Inter',
useMaterial3: true, useMaterial3: true,

View File

@ -479,31 +479,15 @@ class _HomeScreenState extends State<HomeScreen> with TickerProviderStateMixin {
return Scaffold( return Scaffold(
body: Stack( body: Stack(
children: [ children: [
Positioned( Positioned.fill(
top: -150, right: -100, child: Opacity(
child: Container( opacity: 0.03,
width: 400, height: 400, child: Center(
decoration: BoxDecoration( child: Image.asset(
shape: BoxShape.circle, 'assets/logo.png',
color: theme.colorScheme.primary.withOpacity(0.15), width: MediaQuery.of(context).size.shortestSide * 0.6,
), color: Colors.white,
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(),
), ),
), ),
), ),

View File

@ -72,9 +72,8 @@ flutter:
uses-material-design: true uses-material-design: true
# To add assets to your application, add an assets section, like this: # To add assets to your application, add an assets section, like this:
# assets: assets:
# - images/a_dot_burr.jpeg - assets/logo.png
# - images/a_dot_ham.jpeg
# An image asset can refer to one or more resolution-specific "variants", see # An image asset can refer to one or more resolution-specific "variants", see
# https://flutter.dev/to/resolution-aware-images # https://flutter.dev/to/resolution-aware-images