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

각 화면의 주요 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
+7 -3
View File
@@ -3,6 +3,7 @@
import 'package:flutter/material.dart';
import '../function/friend_controller.dart';
import '../theme/app_palette.dart';
import '../theme/theme_sync.dart';
import 'app_notice.dart';
import 'title_pill.dart';
@@ -63,7 +64,8 @@ class _FriendsScreenState extends State<FriendsScreen> {
),
ElevatedButton(
style: ElevatedButton.styleFrom(
backgroundColor: AppPalette.ink,
backgroundColor:
globalProfileTheme.value?.accent ?? AppPalette.ink,
foregroundColor: AppPalette.paper,
),
onPressed: () => Navigator.pop(dialogContext, true),
@@ -159,7 +161,7 @@ class _FriendsScreenState extends State<FriendsScreen> {
elevation: 0,
),
floatingActionButton: FloatingActionButton.extended(
backgroundColor: AppPalette.ink,
backgroundColor: globalProfileTheme.value?.accent ?? AppPalette.ink,
foregroundColor: AppPalette.paper,
onPressed: _showAddFriendDialog,
icon: const Icon(Icons.person_add_rounded),
@@ -217,7 +219,9 @@ class _FriendsScreenState extends State<FriendsScreen> {
),
ElevatedButton(
style: ElevatedButton.styleFrom(
backgroundColor: AppPalette.ink,
backgroundColor:
globalProfileTheme.value?.accent ??
AppPalette.ink,
foregroundColor: AppPalette.paper,
),
onPressed: () =>