Files
mmd-pdf/Themes/MMD.xaml
T
kua-agent 6610acfa44 feat: rebrand to MMD PDF, single corporate theme, and remove original text under an edit
- Services/PdfRedactText.cs: strip text whose origin falls inside a CoverAnnotation
  from the page content stream at save time, hooked into PdfBurn.DrawAnnotationsIntoDoc.
  Fixes edited values staying recoverable by text extraction.
- Themes/MMD.xaml replaces all thirteen themes; picker and accent strip removed; no dark mode.
- Rename KillerPDF -> MMD PDF across code, resources, packaging and locale strings; new icon.
- Remove the upstream author credit and the in-app install button.
2026-08-27 07:37:09 +02:00

106 lines
7.0 KiB
XML

<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:po="http://schemas.microsoft.com/winfx/2006/xaml/presentation/options"
xmlns:sys="clr-namespace:System;assembly=mscorlib">
<!-- MMD Steel Group corporate theme. The only theme this application ships.
Palette is the Employee Portal's: C8102E red used sparingly, 23221E ink,
F1F1EC platinum ground, FFFFFF paper. Square edges, no grain, no shadows. -->
<!-- Surfaces -->
<SolidColorBrush x:Key="SurfaceBrush" Color="#ffffff" po:Freeze="True"/>
<SolidColorBrush x:Key="PaneBrush" Color="#f1f1ec" po:Freeze="True"/>
<SolidColorBrush x:Key="RowHoverBrush" Color="#ecece6" po:Freeze="True"/>
<SolidColorBrush x:Key="MenuHoverBrush" Color="#ecece6" po:Freeze="True"/>
<SolidColorBrush x:Key="BackgroundBrush" Color="#f1f1ec" po:Freeze="True"/>
<SolidColorBrush x:Key="BgRecentPanel" Color="#f1f1ec" po:Freeze="True"/>
<SolidColorBrush x:Key="BgFlyout" Color="#ffffff" po:Freeze="True"/>
<LinearGradientBrush x:Key="TabStripFadeBrush" StartPoint="0,0" EndPoint="0,1" po:Freeze="True">
<GradientStop Offset="0.0" Color="#0023221e"/>
<GradientStop Offset="0.55" Color="#0c23221e"/>
<GradientStop Offset="1.0" Color="#2223221e"/>
</LinearGradientBrush>
<SolidColorBrush x:Key="MenuBackgroundBrush" Color="#ffffff" po:Freeze="True"/>
<SolidColorBrush x:Key="CardBorderBrush" Color="#d9d9d2" po:Freeze="True"/>
<!-- Accent. Red carries the active tool and the one primary action, nothing else. -->
<SolidColorBrush x:Key="PrimaryBrush" Color="#c8102e" po:Freeze="True"/>
<SolidColorBrush x:Key="PrimaryHoverBrush" Color="#ad0e28" po:Freeze="True"/>
<SolidColorBrush x:Key="PrimaryPressedBrush" Color="#920c21" po:Freeze="True"/>
<SolidColorBrush x:Key="OnPrimaryBrush" Color="#ffffff" po:Freeze="True"/>
<SolidColorBrush x:Key="OutlineBtnBrush" Color="#23221e" po:Freeze="True"/>
<SolidColorBrush x:Key="HeaderLineBrush" Color="#23221e" po:Freeze="True"/>
<SolidColorBrush x:Key="SelectionAccent" Color="#c8102e" po:Freeze="True"/>
<SolidColorBrush x:Key="AccentLogo" Color="#c8102e" po:Freeze="True"/>
<SolidColorBrush x:Key="InstallBtnBg" Color="#f1f1ec" po:Freeze="True"/>
<!-- Borders -->
<SolidColorBrush x:Key="MenuBorderBrush" Color="#d9d9d2" po:Freeze="True"/>
<SolidColorBrush x:Key="DropBorder" Color="#b9b9b0" po:Freeze="True"/>
<SolidColorBrush x:Key="PaneBorderBrush" Color="#d9d9d2" po:Freeze="True"/>
<SolidColorBrush x:Key="AppBorderBrush" Color="#d9d9d2" po:Freeze="True"/>
<!-- Selection: dark on light, the way the portal tables read. -->
<SolidColorBrush x:Key="RowSelectedBrush" Color="#23221e" po:Freeze="True"/>
<SolidColorBrush x:Key="OutlinePressedBrush" Color="#f6e0e4" po:Freeze="True"/>
<SolidColorBrush x:Key="SelectionBg" Color="#23221e" po:Freeze="True"/>
<SolidColorBrush x:Key="SelectionFg" Color="#ffffff" po:Freeze="True"/>
<SolidColorBrush x:Key="SettingsOpenRowBg" Color="#ecece6" po:Freeze="True"/>
<!-- Type -->
<SolidColorBrush x:Key="TextBrush" Color="#23221e" po:Freeze="True"/>
<SolidColorBrush x:Key="MutedTextBrush" Color="#5c5a54" po:Freeze="True"/>
<SolidColorBrush x:Key="MenuTextBrush" Color="#23221e" po:Freeze="True"/>
<SolidColorBrush x:Key="ChromeTextBrush" Color="#23221e" po:Freeze="True"/>
<SolidColorBrush x:Key="FilenameBrush" Color="#5c5a54" po:Freeze="True"/>
<SolidColorBrush x:Key="DimTextBrush" Color="#6f6d66" po:Freeze="True"/>
<SolidColorBrush x:Key="TextFooter" Color="#8b8880" po:Freeze="True"/>
<SolidColorBrush x:Key="DangerRed" Color="#c8102e" po:Freeze="True"/>
<!-- Furniture -->
<SolidColorBrush x:Key="BgDragHandle" Color="#b9b9b0" po:Freeze="True"/>
<SolidColorBrush x:Key="DragLine" Color="#d9d9d2" po:Freeze="True"/>
<SolidColorBrush x:Key="ScrollThumbBrush" Color="#5523221e" po:Freeze="True"/>
<SolidColorBrush x:Key="ScrollThumbHoverBrush" Color="#23221e" po:Freeze="True"/>
<SolidColorBrush x:Key="TableHeaderBrush" Color="#f1f1ec" po:Freeze="True"/>
<SolidColorBrush x:Key="RowAltBrush" Color="#0a23221e" po:Freeze="True"/>
<SolidColorBrush x:Key="InputBorderBrush" Color="#c9c9c1" po:Freeze="True"/>
<SolidColorBrush x:Key="InputHoverBrush" Color="#23221e" po:Freeze="True"/>
<SolidColorBrush x:Key="TreeLineBrush" Color="#d9d9d2" po:Freeze="True"/>
<SolidColorBrush x:Key="SliderTrack" Color="#d9d9d2" po:Freeze="True"/>
<SolidColorBrush x:Key="RadioAccent" Color="#c8102e" po:Freeze="True"/>
<SolidColorBrush x:Key="BgOverlay" Color="#8823221e" po:Freeze="True"/>
<!-- Flat. No paper grain, no glyph shadows - this is an office tool. -->
<sys:Double x:Key="GrainOpacity">0</sys:Double>
<sys:Double x:Key="IconShadowOpacity">0</sys:Double>
<sys:Double x:Key="HeaderShadowOpacity">0</sys:Double>
<!-- The workspace behind the page. Platinum, one step darker than the page itself. -->
<SolidColorBrush x:Key="BgCanvas" Color="#e4e4de" po:Freeze="True"/>
<SolidColorBrush x:Key="{x:Static SystemColors.HighlightBrushKey}" Color="#f6e0e4" po:Freeze="True"/>
<SolidColorBrush x:Key="{x:Static SystemColors.HighlightTextBrushKey}" Color="#23221e" po:Freeze="True"/>
<SolidColorBrush x:Key="{x:Static SystemColors.InactiveSelectionHighlightBrushKey}" Color="#ecece6" po:Freeze="True"/>
<SolidColorBrush x:Key="{x:Static SystemColors.InactiveSelectionHighlightTextBrushKey}" Color="#23221e" po:Freeze="True"/>
<!-- Shortcut keyboard view. Graded ink rather than a rainbow; red marks editing only. -->
<SolidColorBrush x:Key="KsCatFile" Color="#23221e" po:Freeze="True"/>
<SolidColorBrush x:Key="KsCatTools" Color="#5c5a54" po:Freeze="True"/>
<SolidColorBrush x:Key="KsCatEdit" Color="#c8102e" po:Freeze="True"/>
<SolidColorBrush x:Key="KsCatNav" Color="#6f6d66" po:Freeze="True"/>
<SolidColorBrush x:Key="KsCatView" Color="#8b8880" po:Freeze="True"/>
<SolidColorBrush x:Key="KsCatSearch" Color="#5c5a54" po:Freeze="True"/>
<SolidColorBrush x:Key="KsCatHelp" Color="#8b8880" po:Freeze="True"/>
<SolidColorBrush x:Key="KsCatOcr" Color="#6f6d66" po:Freeze="True"/>
<!-- No text stroke on a light corporate surface. -->
<DropShadowEffect x:Key="TextStroke" Color="Black" BlurRadius="0" ShadowDepth="0" Direction="270" Opacity="0"/>
<!-- Square. The portal's chrome is square-edged; rounded corners are not MMD. -->
<CornerRadius x:Key="ControlCornerRadius">0</CornerRadius>
<CornerRadius x:Key="SmallCornerRadius">0</CornerRadius>
<CornerRadius x:Key="FlyoutCornerRadius">0</CornerRadius>
<CornerRadius x:Key="AccentSwatchCornerRadius">0</CornerRadius>
</ResourceDictionary>