Files
jeon 5a96a696b1 chore: HERV 통합 저장소 초기 커밋
- 펌웨어(program), C# 대시보드(TestProgram), 시뮬레이터(Simulator),
  프로토콜/문서(Protocol, doc) 전체를 단일 저장소로 통합
- program 폴더의 별도 git 저장소를 제거하고 통합 저장소에 흡수
- 빌드 산출물(program/build, bin/obj, *.o/.elf/.bin/.hex 등) .gitignore 처리
- 사내 Synology NAS Git 원격 연결 예정

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-15 21:44:23 +09:00

107 lines
5.2 KiB
XML

<Application x:Class="ErvDashboard.App"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
StartupUri="MainWindow.xaml">
<Application.Resources>
<!-- ===== Flat Light 팔레트 ===== -->
<SolidColorBrush x:Key="AppBg" Color="#F4F6FB"/>
<SolidColorBrush x:Key="CardBg" Color="#FFFFFF"/>
<SolidColorBrush x:Key="CardBorder" Color="#E3E7EF"/>
<SolidColorBrush x:Key="TextPrimary" Color="#1F2733"/>
<SolidColorBrush x:Key="TextSecondary" Color="#8A93A6"/>
<SolidColorBrush x:Key="Accent" Color="#3B82F6"/>
<SolidColorBrush x:Key="AccentSoft" Color="#E7F0FF"/>
<SolidColorBrush x:Key="Good" Color="#22C55E"/>
<SolidColorBrush x:Key="Warn" Color="#F59E0B"/>
<SolidColorBrush x:Key="Bad" Color="#EF4444"/>
<SolidColorBrush x:Key="Track" Color="#EDEFF4"/>
<!-- 공통 폰트 -->
<Style TargetType="{x:Type FrameworkElement}">
<Setter Property="TextOptions.TextFormattingMode" Value="Display"/>
</Style>
<!-- 카드 컨테이너 -->
<Style x:Key="Card" TargetType="Border">
<Setter Property="Background" Value="{StaticResource CardBg}"/>
<Setter Property="BorderBrush" Value="{StaticResource CardBorder}"/>
<Setter Property="BorderThickness" Value="1"/>
<Setter Property="CornerRadius" Value="12"/>
<Setter Property="Padding" Value="16"/>
<Setter Property="Margin" Value="6"/>
</Style>
<!-- 카드 제목 -->
<Style x:Key="CardTitle" TargetType="TextBlock">
<Setter Property="FontSize" Value="13"/>
<Setter Property="FontWeight" Value="SemiBold"/>
<Setter Property="Foreground" Value="{StaticResource TextSecondary}"/>
<Setter Property="Margin" Value="0,0,0,10"/>
</Style>
<!-- 라벨 -->
<Style x:Key="FieldLabel" TargetType="TextBlock">
<Setter Property="FontSize" Value="12"/>
<Setter Property="Foreground" Value="{StaticResource TextSecondary}"/>
<Setter Property="VerticalAlignment" Value="Center"/>
</Style>
<!-- 값 (숫자) -->
<Style x:Key="FieldValue" TargetType="TextBlock">
<Setter Property="FontSize" Value="15"/>
<Setter Property="FontWeight" Value="SemiBold"/>
<Setter Property="Foreground" Value="{StaticResource TextPrimary}"/>
<Setter Property="VerticalAlignment" Value="Center"/>
</Style>
<!-- 읽기전용 뱃지 -->
<Style x:Key="ReadOnlyBadge" TargetType="Border">
<Setter Property="Background" Value="{StaticResource Track}"/>
<Setter Property="CornerRadius" Value="4"/>
<Setter Property="Padding" Value="5,1"/>
<Setter Property="VerticalAlignment" Value="Center"/>
</Style>
<!-- 일반 버튼 (Flat) -->
<Style x:Key="FlatButton" TargetType="Button">
<Setter Property="Background" Value="{StaticResource CardBg}"/>
<Setter Property="Foreground" Value="{StaticResource TextPrimary}"/>
<Setter Property="BorderBrush" Value="{StaticResource CardBorder}"/>
<Setter Property="BorderThickness" Value="1"/>
<Setter Property="Padding" Value="14,7"/>
<Setter Property="Margin" Value="3"/>
<Setter Property="FontSize" Value="13"/>
<Setter Property="Cursor" Value="Hand"/>
<Setter Property="Template">
<Setter.Value>
<ControlTemplate TargetType="Button">
<Border x:Name="bd" Background="{TemplateBinding Background}"
BorderBrush="{TemplateBinding BorderBrush}"
BorderThickness="{TemplateBinding BorderThickness}"
CornerRadius="8">
<ContentPresenter HorizontalAlignment="Center" VerticalAlignment="Center"/>
</Border>
<ControlTemplate.Triggers>
<Trigger Property="IsMouseOver" Value="True">
<Setter TargetName="bd" Property="Background" Value="{StaticResource AccentSoft}"/>
</Trigger>
<Trigger Property="IsEnabled" Value="False">
<Setter Property="Opacity" Value="0.45"/>
</Trigger>
</ControlTemplate.Triggers>
</ControlTemplate>
</Setter.Value>
</Setter>
</Style>
<!-- 콤보박스 (간단 Flat) -->
<Style TargetType="ComboBox">
<Setter Property="Padding" Value="8,5"/>
<Setter Property="FontSize" Value="13"/>
<Setter Property="BorderBrush" Value="{StaticResource CardBorder}"/>
<Setter Property="Background" Value="{StaticResource CardBg}"/>
<Setter Property="Foreground" Value="{StaticResource TextPrimary}"/>
</Style>
</Application.Resources>
</Application>