mirror of https://github.com/ospab/ostp.git
feat(flutter): update UI theme to monochrome with eagle watermark
This commit is contained in:
parent
fa7ec2cd9a
commit
22c2d5edd8
Binary file not shown.
|
After Width: | Height: | Size: 13 KiB |
|
|
@ -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,
|
||||
|
|
|
|||
|
|
@ -479,31 +479,15 @@ class _HomeScreenState extends State<HomeScreen> 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,
|
||||
),
|
||||
),
|
||||
),
|
||||
),
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue