refactor(shared): 공통 위젯 및 색상 정리

This commit is contained in:
JiWoong Sul
2026-01-12 16:17:29 +09:00
parent 448f500ca0
commit b1d02de656
6 changed files with 92 additions and 96 deletions

View File

@@ -37,8 +37,14 @@ class RetroPanel extends StatelessWidget {
@override
Widget build(BuildContext context) {
final painter = useGoldBorder
? GoldBorderPainter(borderWidth: borderWidth, fillColor: backgroundColor)
: PixelBorderPainter(borderWidth: borderWidth, fillColor: backgroundColor);
? GoldBorderPainter(
borderWidth: borderWidth,
fillColor: backgroundColor,
)
: PixelBorderPainter(
borderWidth: borderWidth,
fillColor: backgroundColor,
);
return CustomPaint(
painter: painter,
@@ -77,7 +83,9 @@ class _PanelTitle extends StatelessWidget {
: RetroColors.panelBorderOuter.withValues(alpha: 0.5),
border: Border(
bottom: BorderSide(
color: useGoldBorder ? RetroColors.gold : RetroColors.panelBorderInner,
color: useGoldBorder
? RetroColors.gold
: RetroColors.panelBorderInner,
width: 1,
),
),