teamsiso/src/TeamsISO.App/Themes/Theme.Light.xaml
2026-05-16 19:10:36 -04:00

60 lines
3.1 KiB
XML

<ResourceDictionary
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
<!--
Wild Dragon — Light palette. Color resources ONLY, no styles.
Mirror of Theme.Dark.xaml — same keys, light-mode values.
Light-palette discipline (from DESIGN.md):
- Neutrals are cyan-tinted off-whites, not pure white, so the
surface still reads as Wild Dragon brand, not as generic OS.
- Wd.Accent.Cyan stays at #97EDF0 because its primary use is as
a fill where text-on-top is near-black (LIVE pill works in
both modes unchanged).
- Wd.Accent.CyanText drops to a darker cyan (#0E7C82) for
contrast when cyan is used as text/icon foreground on the
light canvas. Use this key for "cyan as text"; use
Wd.Accent.Cyan for "cyan as background fill".
-->
<SolidColorBrush x:Key="Wd.Canvas" Color="#FAFAFB"/>
<SolidColorBrush x:Key="Wd.Rail" Color="#F0F1F3"/>
<SolidColorBrush x:Key="Wd.Surface" Color="#FFFFFF"/>
<SolidColorBrush x:Key="Wd.SurfaceElevated" Color="#FFFFFF"/>
<SolidColorBrush x:Key="Wd.SurfaceHover" Color="#ECEEF1"/>
<SolidColorBrush x:Key="Wd.SurfaceActive" Color="#E0E3E7"/>
<SolidColorBrush x:Key="Wd.Border" Color="#E5E7EB"/>
<SolidColorBrush x:Key="Wd.BorderStrong" Color="#D1D5DA"/>
<SolidColorBrush x:Key="Wd.Button.HoverBg" Color="#E0E3E7"/>
<SolidColorBrush x:Key="Wd.Button.PressBg" Color="#D1D5DA"/>
<SolidColorBrush x:Key="Wd.Text.Primary" Color="#0A0A0A"/>
<SolidColorBrush x:Key="Wd.Text.Secondary" Color="#4A4B50"/>
<SolidColorBrush x:Key="Wd.Text.Tertiary" Color="#71747A"/>
<SolidColorBrush x:Key="Wd.Text.Disabled" Color="#B3B6BC"/>
<SolidColorBrush x:Key="Wd.Accent.Cyan" Color="#97EDF0"/>
<SolidColorBrush x:Key="Wd.Accent.CyanHover" Color="#0890A0"/>
<SolidColorBrush x:Key="Wd.Accent.CyanMuted" Color="#E6F8F9"/>
<SolidColorBrush x:Key="Wd.Accent.CyanText" Color="#0E7C82"/>
<SolidColorBrush x:Key="Wd.Accent.Blue" Color="#3578A8"/>
<SolidColorBrush x:Key="Wd.Accent.Coral" Color="#D43E5C"/>
<SolidColorBrush x:Key="Wd.Accent.CoralBg" Color="#FDECF0"/>
<SolidColorBrush x:Key="Wd.Status.Live" Color="#15803D"/>
<SolidColorBrush x:Key="Wd.Status.LiveBg" Color="#DCFCE7"/>
<SolidColorBrush x:Key="Wd.Status.Warn" Color="#B45309"/>
<SolidColorBrush x:Key="Wd.Status.Error" Color="#D43E5C"/>
<!--
Brand mark image, theme-flipped. Light mode shows the BLACK dragon so it
reads against the cyan-tinted off-white canvas. Mirror of the Dark
theme's resource — same key, opposite silhouette. Consumers use
{DynamicResource Wd.BrandMark.Image} so the swap is automatic.
See Theme.Dark.xaml's comment for the CacheOption=OnLoad rationale.
-->
<BitmapImage x:Key="Wd.BrandMark.Image"
UriSource="pack://application:,,,/TeamsISO;component/Assets/dragon-mark-black.png"
CacheOption="OnLoad"/>
</ResourceDictionary>