-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
taxiDialog 리팩토링 #71
Merged
The head ref may contain hidden characters: "#70-taxidialog-\uB9AC\uD329\uD1A0\uB9C1"
Merged
taxiDialog 리팩토링 #71
Changes from 7 commits
Commits
Show all changes
22 commits
Select commit
Hold shift + click to select a range
2856bdc
Add: theme data 추가
ybmin 29a77fc
Fix: taxiDialog 패딩 차이 수정
ybmin 682e22a
Style: primary color 지정
ybmin d72e830
Remove: unused libraries
ybmin 7396dbd
Add: contants에 dialog 공통 부분 정리 1
ybmin 27d1d9d
Remove: unused library
ybmin d6b0953
Fix: 앱 테스트용 버전 복구
ybmin 6a3fac7
Refactor: Button intervel & color minor changes
ybmin 46ff779
Refactor: dialog nodal width change
ybmin fad9286
Refactor: theme파일 보강 및 dialog 테마 코드 경감
ybmin 69ca70a
Docs: 주석 변경
ybmin 977805a
Refactor: taxiDialog dialog standard & style
ybmin ec3cd85
Refactor: 남은 constants 지정
ybmin ef63616
Refactor: 컬러 상수화 작업
ybmin 0e5e961
CSS: 색상 및 폰트 조정
ybmin 19d6e6a
Refactor: const 지정
ybmin 4783ed0
Refactor: 다이얼로그 배리어 색상 투명도 조정
ybmin 77741da
Fix: newest main branch apply
ybmin 5e30ae1
Merge branch 'main' into #70
ybmin 279e683
Remove: remove constants.dart
ybmin c7c290e
CSS: inner padding change
ybmin 3e2bb3d
Refactor: change dialog font & padding
ybmin File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,53 @@ | ||
import 'package:flutter/material.dart'; | ||
import 'package:google_fonts/google_fonts.dart'; | ||
|
||
//primaryColor 지정 (색상코드: #6E3647) | ||
final Map<int, Color> primaryColor1 = { | ||
50: const Color.fromRGBO(110, 54, 120, .1), | ||
100: const Color.fromRGBO(110, 54, 120, .2), | ||
200: const Color.fromRGBO(110, 54, 120, .3), | ||
300: const Color.fromRGBO(110, 54, 120, .4), | ||
400: const Color.fromRGBO(110, 54, 120, .5), | ||
500: const Color.fromRGBO(110, 54, 120, .6), | ||
600: const Color.fromRGBO(110, 54, 120, .7), | ||
700: const Color.fromRGBO(110, 54, 120, .8), | ||
800: const Color.fromRGBO(110, 54, 120, .9), | ||
900: const Color.fromRGBO(110, 54, 120, 1), | ||
}; | ||
MaterialColor taxiPrimaryColor = MaterialColor(0xFF6E3678, primaryColor1); | ||
|
||
ThemeData buildTheme() { | ||
final base = ThemeData( | ||
primarySwatch: taxiPrimaryColor, | ||
primaryColor: const Color(0xFF6E3678), | ||
textTheme: TextTheme( | ||
//Dialog 제목 | ||
titleMedium: GoogleFonts.roboto( | ||
textStyle: const TextStyle( | ||
color: Color(0xFF323232), | ||
fontSize: 22, | ||
fontWeight: FontWeight.normal)), | ||
|
||
//Dialog 상세 설명 | ||
bodySmall: GoogleFonts.roboto( | ||
textStyle: const TextStyle( | ||
color: Color(0xFF888888), | ||
fontSize: 12, | ||
fontWeight: FontWeight.bold)), | ||
|
||
//Dialog Elevated 버튼 텍스트 | ||
labelLarge: GoogleFonts.roboto( | ||
textStyle: const TextStyle( | ||
color: Color(0xFFEEEEEE), | ||
fontSize: 13, | ||
fontWeight: FontWeight.bold)), | ||
|
||
//Dialog Elevated 버튼 텍스트 | ||
labelMedium: GoogleFonts.roboto( | ||
textStyle: const TextStyle( | ||
color: Color(0xFFC8C8C8), | ||
fontSize: 13, | ||
fontWeight: FontWeight.normal))), | ||
); | ||
return base; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍 깔끔해지네요 ㅎ