Files
gregExtractor/GUI/Styles/GregStyles.axaml
T

140 lines
5.8 KiB
XML

<Styles xmlns="https://github.com/avaloniaui"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
<Style Selector="Window">
<Setter Property="Background" Value="{DynamicResource GregBrushBgBase}"/>
<Setter Property="Foreground" Value="{DynamicResource GregBrushTextPrimary}"/>
<Setter Property="FontFamily" Value="JetBrains Mono, Cascadia Code, Consolas"/>
<Setter Property="FontSize" Value="{DynamicResource GregFontMd}"/>
</Style>
<Style Selector="Border.greg-card">
<Setter Property="Background" Value="{DynamicResource GregBrushBgSurface}"/>
<Setter Property="BorderBrush" Value="{DynamicResource GregBrushBorder}"/>
<Setter Property="BorderThickness" Value="1"/>
<Setter Property="CornerRadius" Value="10"/>
<Setter Property="Padding" Value="16"/>
</Style>
<Style Selector="TextBox.greg-input">
<Setter Property="Background" Value="{DynamicResource GregBrushBgInput}"/>
<Setter Property="BorderBrush" Value="{DynamicResource GregBrushBorder}"/>
<Setter Property="BorderThickness" Value="1"/>
<Setter Property="CornerRadius" Value="6"/>
<Setter Property="Height" Value="36"/>
<Setter Property="Padding" Value="12,0"/>
<Setter Property="Foreground" Value="{DynamicResource GregBrushTextPrimary}"/>
</Style>
<Style Selector="Button.greg-primary">
<Setter Property="Height" Value="36"/>
<Setter Property="Padding" Value="12,6"/>
<Setter Property="Background" Value="{DynamicResource GregBrushAccentCyan}"/>
<Setter Property="Foreground" Value="#0d0f14"/>
<Setter Property="CornerRadius" Value="6"/>
<Setter Property="FontWeight" Value="SemiBold"/>
</Style>
<Style Selector="Button.greg-secondary">
<Setter Property="Height" Value="36"/>
<Setter Property="Padding" Value="12,6"/>
<Setter Property="Background" Value="Transparent"/>
<Setter Property="BorderBrush" Value="{DynamicResource GregBrushBorder}"/>
<Setter Property="BorderThickness" Value="1"/>
<Setter Property="CornerRadius" Value="6"/>
<Setter Property="Foreground" Value="{DynamicResource GregBrushTextPrimary}"/>
</Style>
<Style Selector="Button.greg-danger">
<Setter Property="Height" Value="36"/>
<Setter Property="Padding" Value="12,6"/>
<Setter Property="Background" Value="Transparent"/>
<Setter Property="BorderBrush" Value="{DynamicResource GregBrushAccentRed}"/>
<Setter Property="BorderThickness" Value="1"/>
<Setter Property="CornerRadius" Value="6"/>
<Setter Property="Foreground" Value="{DynamicResource GregBrushAccentRed}"/>
</Style>
<Style Selector="Button.greg-nav">
<Setter Property="Height" Value="44"/>
<Setter Property="Padding" Value="16,0"/>
<Setter Property="Background" Value="Transparent"/>
<Setter Property="Foreground" Value="{DynamicResource GregBrushTextSecondary}"/>
<Setter Property="HorizontalContentAlignment" Value="Stretch"/>
<Setter Property="BorderThickness" Value="0"/>
</Style>
<Style Selector="Button.greg-nav:pointerover">
<Setter Property="Background" Value="{DynamicResource GregBrushBgElevated}"/>
</Style>
<Style Selector="Button.greg-nav.active">
<Setter Property="Background" Value="{DynamicResource GregBrushBgElevated}"/>
<Setter Property="Foreground" Value="{DynamicResource GregBrushTextPrimary}"/>
<Setter Property="BorderBrush" Value="{DynamicResource GregBrushAccentCyan}"/>
<Setter Property="BorderThickness" Value="3,0,0,0"/>
</Style>
<Style Selector="ProgressBar.greg-progress">
<Setter Property="Height" Value="6"/>
<Setter Property="Background" Value="{DynamicResource GregBrushBgElevated}"/>
<Setter Property="Foreground" Value="{DynamicResource GregBrushAccentCyan}"/>
</Style>
<Style Selector="DataGrid.greg-grid">
<Setter Property="Background" Value="Transparent"/>
<Setter Property="BorderThickness" Value="0"/>
<Setter Property="Foreground" Value="{DynamicResource GregBrushTextPrimary}"/>
<Setter Property="GridLinesVisibility" Value="Horizontal"/>
</Style>
<Style Selector="TextBlock.greg-section-header">
<Setter Property="FontSize" Value="{DynamicResource GregFontLg}"/>
<Setter Property="FontWeight" Value="SemiBold"/>
<Setter Property="Foreground" Value="{DynamicResource GregBrushTextPrimary}"/>
</Style>
<Style Selector="TextBlock.greg-secondary">
<Setter Property="Foreground" Value="{DynamicResource GregBrushTextSecondary}"/>
<Setter Property="FontSize" Value="{DynamicResource GregFontSm}"/>
</Style>
<Style Selector="Border.badge-covered">
<Setter Property="Background" Value="#1E1A3D2A"/>
<Setter Property="BorderBrush" Value="#6600ff88"/>
<Setter Property="BorderThickness" Value="1"/>
<Setter Property="CornerRadius" Value="20"/>
<Setter Property="Padding" Value="10,2"/>
</Style>
<Style Selector="Border.badge-planned">
<Setter Property="Background" Value="#1Effb800"/>
<Setter Property="BorderBrush" Value="#66ffb800"/>
<Setter Property="BorderThickness" Value="1"/>
<Setter Property="CornerRadius" Value="20"/>
<Setter Property="Padding" Value="10,2"/>
</Style>
<Style Selector="Border.badge-uncovered">
<Setter Property="Background" Value="#1Eff4455"/>
<Setter Property="BorderBrush" Value="#66ff4455"/>
<Setter Property="BorderThickness" Value="1"/>
<Setter Property="CornerRadius" Value="20"/>
<Setter Property="Padding" Value="10,2"/>
</Style>
<Style Selector="Border.diff-added">
<Setter Property="Background" Value="#1a3d1a"/>
<Setter Property="CornerRadius" Value="6"/>
</Style>
<Style Selector="Border.diff-changed">
<Setter Property="Background" Value="#3d3000"/>
<Setter Property="CornerRadius" Value="6"/>
</Style>
<Style Selector="Border.diff-removed">
<Setter Property="Background" Value="#3d0000"/>
<Setter Property="CornerRadius" Value="6"/>
</Style>
</Styles>