Skip to content

Commit b5508ef

Browse files
authored
feat: light background 및 color 추가 (#23)
1 parent 58b3515 commit b5508ef

File tree

3 files changed

+32
-0
lines changed

3 files changed

+32
-0
lines changed

frontend/ongi/lib/core/app_colors.dart

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,5 @@ import 'package:flutter/material.dart';
33
class AppColors {
44
static const ongiOrange = Color(0xFFFD6C01);
55
static const ongiBlue = Color(0xFFBFECFF);
6+
static const ongiLigntgrey = Color(0xFFF7F7F7);
67
}
Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
import 'package:flutter/material.dart';
2+
import 'package:ongi/core/app_colors.dart';
3+
4+
class AppLightBackground extends StatelessWidget {
5+
final Widget child;
6+
const AppLightBackground({super.key, required this.child});
7+
8+
@override
9+
Widget build(BuildContext context) {
10+
return Stack(
11+
children: [
12+
Container(
13+
color: AppColors.ongiLigntgrey,
14+
),
15+
Positioned(
16+
right: -140,
17+
top: -160,
18+
child: Opacity(
19+
opacity: 0.3,
20+
child: Image.asset(
21+
'assets/images/logo.png',
22+
width: 350,
23+
fit: BoxFit.contain,
24+
),
25+
),
26+
),
27+
Positioned.fill(child: child),
28+
],
29+
);
30+
}
31+
}

frontend/ongi/lib/screens/login_screen.dart

Whitespace-only changes.

0 commit comments

Comments
 (0)