feat: Phase 0 shells, design system, server skeleton, Docker and CI
- Titano.Ui: DESIGN.md tokens (dark/light), generated 16-px icon set, styles for all standard controls, custom chrome window with snap layouts, rail, job bar, Auto/manual slider, chips, toasts. - Titano desktop shell with sections, Settings (language, theme), About and a --capture screenshot mode. - Titano Server skeleton: env/server.json configuration, self-signed TLS with fingerprint, /health, /server/info, i18n endpoint and the embedded admin panel; in-process server tests. - Docker image (multi-arch, PUID/PGID, health check), compose file, Unraid template; CI, release and nightly workflows; changelog tool. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_012iLMBNwBE2GnphAsu4cjaC
This commit is contained in:
122 files changed
+6838
-22
No files matched your search
@@ -0,0 +1,85 @@
|
||||
<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
||||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
||||
xmlns:sys="clr-namespace:System;assembly=System.Runtime">
|
||||
<!-- DESIGN.md §2–3: one typeface, six sizes, 4-px spacing scale, fixed radii and sizes. -->
|
||||
<FontFamily x:Key="Font.Ui">Segoe UI Variable Text, Segoe UI, Microsoft YaHei UI, Yu Gothic UI, Malgun Gothic, Leelawadee UI, Nirmala UI, Tahoma</FontFamily>
|
||||
<FontFamily x:Key="Font.Display">Segoe UI Variable Display, Segoe UI, Microsoft YaHei UI, Yu Gothic UI, Malgun Gothic</FontFamily>
|
||||
<FontFamily x:Key="Font.Mono">Cascadia Mono, Consolas</FontFamily>
|
||||
|
||||
<sys:Double x:Key="Size.PageTitle">18</sys:Double>
|
||||
<sys:Double x:Key="Size.Title">16</sys:Double>
|
||||
<sys:Double x:Key="Size.Section">14</sys:Double>
|
||||
<sys:Double x:Key="Size.Body">13</sys:Double>
|
||||
<sys:Double x:Key="Size.Secondary">12</sys:Double>
|
||||
<sys:Double x:Key="Size.Chip">11</sys:Double>
|
||||
|
||||
<Thickness x:Key="Space.1">4</Thickness>
|
||||
<Thickness x:Key="Space.2">8</Thickness>
|
||||
<Thickness x:Key="Space.3">12</Thickness>
|
||||
<Thickness x:Key="Space.4">16</Thickness>
|
||||
<Thickness x:Key="Space.5">20</Thickness>
|
||||
|
||||
<CornerRadius x:Key="Radius.Control">6</CornerRadius>
|
||||
<CornerRadius x:Key="Radius.Card">8</CornerRadius>
|
||||
<CornerRadius x:Key="Radius.Pill">12</CornerRadius>
|
||||
<CornerRadius x:Key="Radius.Dialog">12</CornerRadius>
|
||||
|
||||
<sys:Double x:Key="Height.Control">32</sys:Double>
|
||||
<sys:Double x:Key="Height.Compact">28</sys:Double>
|
||||
<sys:Double x:Key="Height.Row">38</sys:Double>
|
||||
<sys:Double x:Key="Height.TitleBar">34</sys:Double>
|
||||
<sys:Double x:Key="Height.JobBar">40</sys:Double>
|
||||
<sys:Double x:Key="Height.Toolbar">56</sys:Double>
|
||||
<sys:Double x:Key="Height.StatusBar">30</sys:Double>
|
||||
<sys:Double x:Key="Width.Rail">128</sys:Double>
|
||||
<sys:Double x:Key="Width.RailCollapsed">48</sys:Double>
|
||||
<sys:Double x:Key="Width.SidePanel">320</sys:Double>
|
||||
<sys:Double x:Key="Width.SettingsList">200</sys:Double>
|
||||
<GridLength x:Key="Grid.LabelColumn">116</GridLength>
|
||||
<GridLength x:Key="Grid.SettingsLabelColumn">180</GridLength>
|
||||
|
||||
<Style x:Key="Text.Base" TargetType="TextBlock">
|
||||
<Setter Property="FontFamily" Value="{StaticResource Font.Ui}" />
|
||||
<Setter Property="FontSize" Value="{StaticResource Size.Body}" />
|
||||
<Setter Property="Foreground" Value="{DynamicResource Brush.Text}" />
|
||||
<Setter Property="TextTrimming" Value="CharacterEllipsis" />
|
||||
<Setter Property="VerticalAlignment" Value="Center" />
|
||||
</Style>
|
||||
<Style x:Key="Text.PageTitle" TargetType="TextBlock" BasedOn="{StaticResource Text.Base}">
|
||||
<Setter Property="FontFamily" Value="{StaticResource Font.Display}" />
|
||||
<Setter Property="FontSize" Value="{StaticResource Size.PageTitle}" />
|
||||
<Setter Property="FontWeight" Value="SemiBold" />
|
||||
<Setter Property="LineHeight" Value="24" />
|
||||
</Style>
|
||||
<Style x:Key="Text.Title" TargetType="TextBlock" BasedOn="{StaticResource Text.Base}">
|
||||
<Setter Property="FontSize" Value="{StaticResource Size.Title}" />
|
||||
<Setter Property="FontWeight" Value="SemiBold" />
|
||||
<Setter Property="LineHeight" Value="22" />
|
||||
</Style>
|
||||
<Style x:Key="Text.Section" TargetType="TextBlock" BasedOn="{StaticResource Text.Base}">
|
||||
<Setter Property="FontSize" Value="{StaticResource Size.Section}" />
|
||||
<Setter Property="FontWeight" Value="SemiBold" />
|
||||
<Setter Property="LineHeight" Value="20" />
|
||||
</Style>
|
||||
<Style x:Key="Text.Body" TargetType="TextBlock" BasedOn="{StaticResource Text.Base}" />
|
||||
<Style x:Key="Text.Secondary" TargetType="TextBlock" BasedOn="{StaticResource Text.Base}">
|
||||
<Setter Property="FontSize" Value="{StaticResource Size.Secondary}" />
|
||||
<Setter Property="Foreground" Value="{DynamicResource Brush.TextMuted}" />
|
||||
</Style>
|
||||
<Style x:Key="Text.Faint" TargetType="TextBlock" BasedOn="{StaticResource Text.Base}">
|
||||
<Setter Property="FontSize" Value="{StaticResource Size.Chip}" />
|
||||
<Setter Property="Foreground" Value="{DynamicResource Brush.TextFaint}" />
|
||||
</Style>
|
||||
<Style x:Key="Text.Chip" TargetType="TextBlock" BasedOn="{StaticResource Text.Base}">
|
||||
<Setter Property="FontSize" Value="{StaticResource Size.Chip}" />
|
||||
<Setter Property="Foreground" Value="{DynamicResource Brush.TextMuted}" />
|
||||
</Style>
|
||||
<Style x:Key="Text.ColumnHeader" TargetType="TextBlock" BasedOn="{StaticResource Text.Faint}">
|
||||
<Setter Property="FontSize" Value="11" />
|
||||
</Style>
|
||||
<!-- Tabular numbers for tables and counters (DESIGN §2). -->
|
||||
<Style x:Key="Text.Number" TargetType="TextBlock" BasedOn="{StaticResource Text.Base}">
|
||||
<Setter Property="Typography.NumeralAlignment" Value="Tabular" />
|
||||
<Setter Property="TextAlignment" Value="Right" />
|
||||
</Style>
|
||||
</ResourceDictionary>
|
||||
Reference in new issue
Block a user