UI: brand background image + Pirulen font for PROSERVE wordmark
Window background ----------------- Brush.Bg.Window is now pure #000000 (was a slightly blue-tinted dark). The previous tint added value to the bitmap overlay, washing out the image's bright spots. With pure black behind, the 50% overlay sits cleanly on top. Cards / sidebar / footer keep a faint blue tint (#161B23, #0E1218, #050709) so the chrome reads as cool/dark while the body shows the hardware texture clearly through the gaps. Background image ---------------- Resources/Background.png (the engraved ASTERION VR wordmark on dark metal) is now an embedded WPF Resource on the App project. MainWindow draws it as the first child of the root grid, RowSpan=3, Stretch= UniformToFill, Opacity=0.5, IsHitTestVisible=False so it never steals clicks. It shows behind the body's empty regions; the cards' solid backgrounds cover it where readability matters. Pirulen wordmark ---------------- Resources/pirulen.otf (the user-supplied OpenType font) is embedded as a Resource and exposed via Theme.xaml's Font.Brand FontFamily resource using the standard pack URI form (#Pirulen). The top bar replaces the plain "PROSERVE Launcher" with a horizontal stack: PROSERVE in 22pt Pirulen + a smaller "Launcher" label in secondary text. The brand typeface is reusable elsewhere via {StaticResource Font.Brand}. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -152,15 +152,30 @@
|
||||
<RowDefinition Height="Auto" />
|
||||
</Grid.RowDefinitions>
|
||||
|
||||
<!-- Background image (sous tout le reste, ne capte pas la souris) -->
|
||||
<Image Grid.Row="0" Grid.RowSpan="3"
|
||||
Source="pack://application:,,,/Resources/Background.png"
|
||||
Stretch="UniformToFill"
|
||||
Opacity="0.5"
|
||||
IsHitTestVisible="False" />
|
||||
|
||||
<!-- Top bar -->
|
||||
<Border Grid.Row="0" Background="{StaticResource Brush.Bg.Sidebar}"
|
||||
BorderBrush="{StaticResource Brush.Border}" BorderThickness="0,0,0,1"
|
||||
Padding="20,12">
|
||||
<Grid>
|
||||
<TextBlock Text="PROSERVE Launcher"
|
||||
FontSize="18" FontWeight="Bold"
|
||||
Foreground="{StaticResource Brush.Text.Primary}"
|
||||
VerticalAlignment="Center" />
|
||||
<StackPanel Orientation="Horizontal" VerticalAlignment="Center">
|
||||
<TextBlock Text="PROSERVE"
|
||||
FontFamily="{StaticResource Font.Brand}"
|
||||
FontSize="22"
|
||||
Foreground="{StaticResource Brush.Text.Primary}"
|
||||
VerticalAlignment="Center" />
|
||||
<TextBlock Text="Launcher"
|
||||
FontSize="14"
|
||||
Foreground="{StaticResource Brush.Text.Secondary}"
|
||||
VerticalAlignment="Bottom"
|
||||
Margin="10,0,0,3" />
|
||||
</StackPanel>
|
||||
<StackPanel HorizontalAlignment="Right" Orientation="Horizontal" VerticalAlignment="Center">
|
||||
<Button Style="{StaticResource SecondaryButton}"
|
||||
Content="🔄 Vérifier les MAJ"
|
||||
|
||||
Reference in New Issue
Block a user