반출/백판/출석 달력/친구/그룹 스터디 검정 버튼을 테마 강조색으로 변경
각 화면의 주요 CTA 버튼(ElevatedButton/FloatingActionButton)이 고정 색 AppPalette.ink로 칠해져 있어서, 다른 화면들처럼 테마를 적용해도 버튼만 계속 검정색으로 남아있었다. globalProfileTheme.value?.accent로 교체해서 장착한 템플릿의 강조색을 따라가게 했다. AppBar 아이콘 색(foregroundColor)과 danger/warning 등 의미 있는 색은 그대로 둔다.
This commit is contained in:
@@ -6,6 +6,7 @@ import 'package:http/http.dart' as http;
|
||||
import '../config.dart';
|
||||
import '../function/board_list_controller.dart';
|
||||
import '../theme/app_palette.dart';
|
||||
import '../theme/theme_sync.dart';
|
||||
import 'board_post_detail_screen.dart';
|
||||
import 'board_report_screen.dart';
|
||||
import 'board_write_screen.dart';
|
||||
@@ -149,7 +150,8 @@ class _BoardHomeScreenState extends State<BoardHomeScreen>
|
||||
floatingActionButton: _tabController == null
|
||||
? null
|
||||
: FloatingActionButton(
|
||||
backgroundColor: AppPalette.ink,
|
||||
backgroundColor:
|
||||
globalProfileTheme.value?.accent ?? AppPalette.ink,
|
||||
foregroundColor: AppPalette.paper,
|
||||
onPressed: _openWrite,
|
||||
child: const Icon(Icons.edit_rounded),
|
||||
|
||||
Reference in New Issue
Block a user