a502322188
손상된 .git 히스토리(missing tree)로 재초기화 후 작업트리 전체 커밋. .claude/ 만 제외(로컬 에이전트 설정). 구 저장소 백업(.git_corrupt_backup/) 포함. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
179 lines
7.8 KiB
XML
179 lines
7.8 KiB
XML
<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
|
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
|
|
|
|
<!-- ===== 색상 ===== -->
|
|
<Color x:Key="cBg">#FFFFFF</Color>
|
|
<SolidColorBrush x:Key="Bg" Color="#FFFFFF"/>
|
|
<SolidColorBrush x:Key="CardBg" Color="#FFFFFF"/>
|
|
<SolidColorBrush x:Key="CardBorder" Color="#E5E7EB"/>
|
|
<SolidColorBrush x:Key="Ink" Color="#161616"/>
|
|
<SolidColorBrush x:Key="Ink2" Color="#6B7280"/>
|
|
<SolidColorBrush x:Key="TrackOff" Color="#E3E5EA"/>
|
|
<SolidColorBrush x:Key="ThumbBr" Color="#FFFFFF"/>
|
|
<!-- 공기질 4단계 -->
|
|
<SolidColorBrush x:Key="AqGood" Color="#3B82F6"/> <!-- 좋음 파랑 -->
|
|
<SolidColorBrush x:Key="AqNormal" Color="#22C55E"/> <!-- 보통 초록 -->
|
|
<SolidColorBrush x:Key="AqBad" Color="#F59E0B"/> <!-- 나쁨 주황 -->
|
|
<SolidColorBrush x:Key="AqVeryBad" Color="#EF4444"/> <!-- 매우나쁨 빨강 -->
|
|
|
|
<!-- ===== iOS 스타일 토글 스위치 ===== -->
|
|
<Style x:Key="Toggle" TargetType="ToggleButton">
|
|
<Setter Property="Width" Value="50"/>
|
|
<Setter Property="Height" Value="29"/>
|
|
<Setter Property="Cursor" Value="Hand"/>
|
|
<Setter Property="Template">
|
|
<Setter.Value>
|
|
<ControlTemplate TargetType="ToggleButton">
|
|
<Grid>
|
|
<Border x:Name="track" CornerRadius="15" Background="{StaticResource TrackOff}"/>
|
|
<Ellipse x:Name="thumb" Width="23" Height="23" Fill="{StaticResource ThumbBr}"
|
|
HorizontalAlignment="Left" Margin="3,0,0,0">
|
|
<Ellipse.Effect><DropShadowEffect BlurRadius="4" ShadowDepth="1" Opacity="0.25"/></Ellipse.Effect>
|
|
</Ellipse>
|
|
</Grid>
|
|
<ControlTemplate.Triggers>
|
|
<Trigger Property="IsChecked" Value="True">
|
|
<Setter TargetName="track" Property="Background" Value="{StaticResource Ink}"/>
|
|
<Setter TargetName="thumb" Property="HorizontalAlignment" Value="Right"/>
|
|
<Setter TargetName="thumb" Property="Margin" Value="0,0,3,0"/>
|
|
</Trigger>
|
|
<Trigger Property="IsEnabled" Value="False">
|
|
<Setter Property="Opacity" Value="0.35"/>
|
|
</Trigger>
|
|
</ControlTemplate.Triggers>
|
|
</ControlTemplate>
|
|
</Setter.Value>
|
|
</Setter>
|
|
</Style>
|
|
|
|
<!-- 토글 행 라벨 -->
|
|
<Style x:Key="ToggleLabel" TargetType="TextBlock">
|
|
<Setter Property="FontSize" Value="17"/>
|
|
<Setter Property="Foreground" Value="{StaticResource Ink}"/>
|
|
<Setter Property="VerticalAlignment" Value="Center"/>
|
|
</Style>
|
|
|
|
<!-- ===== 큰 ON/OFF 버튼 (전체/각실) ===== -->
|
|
<Style x:Key="BigToggleBtn" TargetType="ToggleButton">
|
|
<Setter Property="Cursor" Value="Hand"/>
|
|
<Setter Property="FontSize" Value="20"/>
|
|
<Setter Property="FontWeight" Value="SemiBold"/>
|
|
<Setter Property="Foreground" Value="{StaticResource Ink2}"/>
|
|
<Setter Property="Template">
|
|
<Setter.Value>
|
|
<ControlTemplate TargetType="ToggleButton">
|
|
<Border x:Name="b" CornerRadius="10" Background="{StaticResource CardBg}"
|
|
BorderBrush="{StaticResource CardBorder}" BorderThickness="1.5">
|
|
<ContentPresenter HorizontalAlignment="Center" VerticalAlignment="Center"/>
|
|
</Border>
|
|
<ControlTemplate.Triggers>
|
|
<Trigger Property="IsChecked" Value="True">
|
|
<Setter TargetName="b" Property="Background" Value="{StaticResource Ink}"/>
|
|
<Setter TargetName="b" Property="BorderBrush" Value="{StaticResource Ink}"/>
|
|
<Setter Property="Foreground" Value="White"/>
|
|
</Trigger>
|
|
</ControlTemplate.Triggers>
|
|
</ControlTemplate>
|
|
</Setter.Value>
|
|
</Setter>
|
|
</Style>
|
|
|
|
<!-- ===== 좌측 네비 버튼 ===== -->
|
|
<Style x:Key="NavBtn" TargetType="Button">
|
|
<Setter Property="Foreground" Value="#7B8090"/>
|
|
<Setter Property="FontSize" Value="18"/>
|
|
<Setter Property="Cursor" Value="Hand"/>
|
|
<Setter Property="Margin" Value="0,0,0,30"/>
|
|
<Setter Property="Template">
|
|
<Setter.Value>
|
|
<ControlTemplate TargetType="Button">
|
|
<Border Background="Transparent" Padding="0,2">
|
|
<ContentPresenter HorizontalAlignment="Center" VerticalAlignment="Center"/>
|
|
</Border>
|
|
</ControlTemplate>
|
|
</Setter.Value>
|
|
</Setter>
|
|
</Style>
|
|
|
|
<!-- ===== 카테고리/구역 리스트 버튼 ===== -->
|
|
<Style x:Key="ZoneBtn" TargetType="Button">
|
|
<Setter Property="Foreground" Value="#A6ABB6"/>
|
|
<Setter Property="FontSize" Value="18"/>
|
|
<Setter Property="Cursor" Value="Hand"/>
|
|
<Setter Property="Margin" Value="0,0,0,40"/>
|
|
<Setter Property="Template">
|
|
<Setter.Value>
|
|
<ControlTemplate TargetType="Button">
|
|
<Border Background="Transparent" Padding="0,2">
|
|
<ContentPresenter HorizontalAlignment="Center" VerticalAlignment="Center"/>
|
|
</Border>
|
|
</ControlTemplate>
|
|
</Setter.Value>
|
|
</Setter>
|
|
</Style>
|
|
|
|
<!-- ===== Eco/Normal/Turbo 세그먼트 (RadioButton) ===== -->
|
|
<Style x:Key="Seg" TargetType="RadioButton">
|
|
<Setter Property="Foreground" Value="#6B7280"/>
|
|
<Setter Property="FontSize" Value="15"/>
|
|
<Setter Property="Cursor" Value="Hand"/>
|
|
<Setter Property="Padding" Value="18,7"/>
|
|
<Setter Property="Template">
|
|
<Setter.Value>
|
|
<ControlTemplate TargetType="RadioButton">
|
|
<Border x:Name="b" CornerRadius="7" Background="Transparent" Padding="{TemplateBinding Padding}">
|
|
<ContentPresenter HorizontalAlignment="Center" VerticalAlignment="Center"/>
|
|
</Border>
|
|
<ControlTemplate.Triggers>
|
|
<Trigger Property="IsChecked" Value="True">
|
|
<Setter TargetName="b" Property="Background" Value="White"/>
|
|
<Setter Property="Foreground" Value="{StaticResource Ink}"/>
|
|
<Setter Property="FontWeight" Value="Bold"/>
|
|
<Setter TargetName="b" Property="Effect">
|
|
<Setter.Value><DropShadowEffect BlurRadius="5" ShadowDepth="1" Opacity="0.18"/></Setter.Value>
|
|
</Setter>
|
|
</Trigger>
|
|
</ControlTemplate.Triggers>
|
|
</ControlTemplate>
|
|
</Setter.Value>
|
|
</Setter>
|
|
</Style>
|
|
|
|
<!-- ===== 스마트홈 카드 (홈 우측) ===== -->
|
|
<Style x:Key="HomeCard" TargetType="Border">
|
|
<Setter Property="CornerRadius" Value="14"/>
|
|
<Setter Property="Background" Value="{StaticResource CardBg}"/>
|
|
<Setter Property="BorderBrush" Value="{StaticResource CardBorder}"/>
|
|
<Setter Property="BorderThickness" Value="1.5"/>
|
|
<Setter Property="Padding" Value="18,14"/>
|
|
<Setter Property="Margin" Value="8"/>
|
|
</Style>
|
|
<Style x:Key="CardTitle" TargetType="TextBlock">
|
|
<Setter Property="FontSize" Value="18"/>
|
|
<Setter Property="FontWeight" Value="SemiBold"/>
|
|
<Setter Property="Foreground" Value="{StaticResource Ink}"/>
|
|
<Setter Property="HorizontalAlignment" Value="Left"/>
|
|
</Style>
|
|
<Style x:Key="CardArrow" TargetType="TextBlock">
|
|
<Setter Property="FontSize" Value="20"/>
|
|
<Setter Property="Foreground" Value="{StaticResource Ink2}"/>
|
|
<Setter Property="HorizontalAlignment" Value="Right"/>
|
|
<Setter Property="VerticalAlignment" Value="Top"/>
|
|
</Style>
|
|
|
|
<!-- ===== 상태 알약 (운전모드/풍량) ===== -->
|
|
<Style x:Key="PillLabel" TargetType="TextBlock">
|
|
<Setter Property="FontSize" Value="14"/>
|
|
<Setter Property="Foreground" Value="{StaticResource Ink2}"/>
|
|
<Setter Property="VerticalAlignment" Value="Center"/>
|
|
</Style>
|
|
<Style x:Key="PillValue" TargetType="TextBlock">
|
|
<Setter Property="FontSize" Value="15"/>
|
|
<Setter Property="FontWeight" Value="Bold"/>
|
|
<Setter Property="Foreground" Value="{StaticResource Ink}"/>
|
|
<Setter Property="VerticalAlignment" Value="Center"/>
|
|
<Setter Property="Margin" Value="10,0,0,0"/>
|
|
</Style>
|
|
|
|
</ResourceDictionary>
|