출석 달력 검정색 테마 반영 + 웹에서 NFC 타일 잠금 처리

출석 달력: 공부한 날 표시/오늘 테두리/범례가 AppPalette.ink로 고정돼 있어서
테마를 적용해도 검정으로 남아있던 것을 테마 강조색으로 바꿨다.

메인 대시보드: 웹은 NFC 하드웨어에 접근할 수 없으므로, "등록된 기기가
아닐 때"와 똑같은 패턴(자물쇠 아이콘 + 회색 + 탭하면 안내 메시지)으로
NFC 태그/NFC 태그 쓰기 타일을 잠근다. 실제 눌러지는 동작은 기존 기기
불일치 처리와 동일하게 안내만 띄우고 화면 이동은 막는 방식이다.
This commit is contained in:
2026-10-01 23:34:54 +00:00
parent 383d3143c8
commit 1d9b86d3e8
2 changed files with 34 additions and 20 deletions
+8 -7
View File
@@ -313,18 +313,16 @@ class _StudyCalendarScreenState extends State<StudyCalendarScreen> {
date.month == today.month &&
date.day == today.day;
final accentColor =
globalProfileTheme.value?.accent ?? AppPalette.ink;
return GestureDetector(
onTap: () => _onDayTap(date),
child: Container(
decoration: BoxDecoration(
color: studied
? AppPalette.ink
: AppPalette.paper,
color: studied ? accentColor : AppPalette.paper,
borderRadius: BorderRadius.circular(12),
border: Border.all(
color: isToday
? AppPalette.ink
: AppPalette.sage,
color: isToday ? accentColor : AppPalette.sage,
width: isToday ? 2 : 1,
),
),
@@ -362,7 +360,10 @@ class _StudyCalendarScreenState extends State<StudyCalendarScreen> {
const SizedBox(height: 16),
Row(
children: [
_legendDot(AppPalette.ink, '공부한 날'),
_legendDot(
globalProfileTheme.value?.accent ?? AppPalette.ink,
'공부한 날',
),
const SizedBox(width: 16),
_legendIcon(
Icons.card_giftcard_rounded,