전체 UI 색상 통일 - 제각각이던 빨강/주황/파랑 계열을 의미별 토큰 4종으로 정리
danger/warning/success/approved(+각 Bg 버전)를 AppPalette에 추가하고, 화면마다 다르게 쓰이던 Colors.red[400/600/700]/redAccent, orange/amber 계열, blue 계열 리터럴을 전부 해당 토큰으로 교체. NFC 체크인 화면의 홀로 튀던 Colors.blueAccent도 함께 정리.
This commit is contained in:
@@ -196,7 +196,10 @@ class _StudyTimerScreenState extends State<StudyTimerScreen>
|
||||
const SizedBox(height: 10),
|
||||
const Text(
|
||||
'타이머가 멈춰있을 때만 설정을 바꿀 수 있어요.',
|
||||
style: TextStyle(color: Colors.redAccent, fontSize: 12.5),
|
||||
style: TextStyle(
|
||||
color: AppPalette.danger,
|
||||
fontSize: 12.5,
|
||||
),
|
||||
),
|
||||
],
|
||||
const SizedBox(height: 18),
|
||||
@@ -442,7 +445,7 @@ class _StudyTimerScreenState extends State<StudyTimerScreen>
|
||||
size: 140,
|
||||
icon: Icons.stop_rounded,
|
||||
label: '공부 종료',
|
||||
color: Colors.red[400]!,
|
||||
color: AppPalette.danger,
|
||||
onTap: () => _runAction(_controller.stop),
|
||||
);
|
||||
}
|
||||
@@ -453,7 +456,7 @@ class _StudyTimerScreenState extends State<StudyTimerScreen>
|
||||
size: 110,
|
||||
icon: isPaused ? Icons.play_arrow_rounded : Icons.pause_rounded,
|
||||
label: isPaused ? '재개' : '일시정지',
|
||||
color: isPaused ? AppPalette.ink : Colors.amber[700]!,
|
||||
color: isPaused ? AppPalette.ink : AppPalette.warning,
|
||||
onTap: () =>
|
||||
_runAction(isPaused ? _controller.resume : _controller.pause),
|
||||
),
|
||||
@@ -462,7 +465,7 @@ class _StudyTimerScreenState extends State<StudyTimerScreen>
|
||||
size: 110,
|
||||
icon: Icons.stop_rounded,
|
||||
label: '공부 종료',
|
||||
color: Colors.red[400]!,
|
||||
color: AppPalette.danger,
|
||||
onTap: () => _runAction(_controller.stop),
|
||||
),
|
||||
],
|
||||
|
||||
Reference in New Issue
Block a user