반출/백판/출석 달력/친구/그룹 스터디 검정 버튼을 테마 강조색으로 변경

각 화면의 주요 CTA 버튼(ElevatedButton/FloatingActionButton)이 고정 색
AppPalette.ink로 칠해져 있어서, 다른 화면들처럼 테마를 적용해도 버튼만
계속 검정색으로 남아있었다. globalProfileTheme.value?.accent로 교체해서
장착한 템플릿의 강조색을 따라가게 했다. AppBar 아이콘 색(foregroundColor)과
danger/warning 등 의미 있는 색은 그대로 둔다.
This commit is contained in:
2026-10-01 07:17:11 +00:00
parent f6be60ef46
commit 12780eb3af
8 changed files with 48 additions and 17 deletions
+6 -2
View File
@@ -3,6 +3,7 @@
import 'package:flutter/material.dart';
import '../function/device_checkout_ledger_controller.dart';
import '../theme/app_palette.dart';
import '../theme/theme_sync.dart';
import 'app_notice.dart';
import 'title_pill.dart';
@@ -79,7 +80,8 @@ class _DeviceCheckoutLedgerPageState extends State<DeviceCheckoutLedgerPage> {
ElevatedButton(
autofocus: true,
style: ElevatedButton.styleFrom(
backgroundColor: AppPalette.ink,
backgroundColor:
globalProfileTheme.value?.accent ?? AppPalette.ink,
foregroundColor: AppPalette.paper,
),
onPressed: () async {
@@ -191,7 +193,9 @@ class _DeviceCheckoutLedgerPageState extends State<DeviceCheckoutLedgerPage> {
_approve(r['id']);
},
style: ElevatedButton.styleFrom(
backgroundColor: AppPalette.ink,
backgroundColor:
globalProfileTheme.value?.accent ??
AppPalette.ink,
foregroundColor: AppPalette.paper,
),
child: const Text('승인'),