feat(animation): ASCII 캔버스 및 애니메이션 카드 개선

- ascii_canvas_painter: 렌더링 개선
- ascii_canvas_widget: 기능 추가
- ascii_animation_card: 스타일 업데이트
This commit is contained in:
JiWoong Sul
2025-12-31 00:20:15 +09:00
parent 595b0cc7d1
commit 5d58239313
3 changed files with 36 additions and 10 deletions

View File

@@ -529,8 +529,9 @@ class _AsciiAnimationCardState extends State<AsciiAnimationCard> {
@override
Widget build(BuildContext context) {
// 검정 배경 위에 배경 레이어(50% 투명)가 그려짐
const bgColor = AsciiColors.background;
// 테마 인식 배경색 (다크: 검정, 라이트: 양피지)
final bgColor = AsciiColors.backgroundOf(context);
final positiveColor = AsciiColors.positiveOf(context);
// 테두리 효과 결정 (전투 이벤트 또는 특수 애니메이션)
final isSpecial = _currentSpecialAnimation != null;
@@ -560,9 +561,9 @@ class _AsciiAnimationCardState extends State<AsciiAnimationCard> {
width: 2,
);
} else if (isSpecial) {
// 특수 애니메이션: 시안 테두리
// 특수 애니메이션: 포지티브 색상 테두리
borderEffect = Border.all(
color: AsciiColors.positive.withValues(alpha: 0.5),
color: positiveColor.withValues(alpha: 0.5),
);
}