diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index e7629e44..dee83cf3 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -24,7 +24,7 @@ jobs: shell: powershell run: .\ArIED61850Tester\scripts\verify-source-clean.ps1 - - name: Verify premium P0 and P1 UX invariants + - name: Verify premium P0, P1 and P2 UX invariants shell: powershell run: | $app = Get-Content .\ArIED61850Tester\App.xaml -Raw @@ -76,6 +76,12 @@ jobs: if ($main -notmatch 'LucideRefreshCw' -or $main -notmatch 'HorizontalAlignment="Center"') { throw "Premium Lucide icon or centered IED card layout invariant was not found." } + if ($app -notmatch 'x:Key="SurfaceColor"' -or + $app -notmatch 'x:Key="BorderStrongColor"' -or + $app -notmatch 'x:Key="BodyText"' -or + $app -notmatch 'x:Key="MicroLabel"') { + throw "P2 semantic theme tokens or compact typography scale were not found." + } - name: Upload source snapshot uses: actions/upload-artifact@v4 @@ -153,7 +159,7 @@ jobs: - name: Publish portable x64 shell: powershell - run: .\ArIED61850Tester\scripts\publish-windows-portable.ps1 -Version 1.6.12 -EngineProject "$env:GITHUB_WORKSPACE\ARIEC61850\src\AR.Iec61850\AR.Iec61850.csproj" + run: .\ArIED61850Tester\scripts\publish-windows-portable.ps1 -Version 1.6.13 -EngineProject "$env:GITHUB_WORKSPACE\ARIEC61850\src\AR.Iec61850\AR.Iec61850.csproj" - name: Upload portable package uses: actions/upload-artifact@v4 diff --git a/App.xaml b/App.xaml index 79e31ecd..10aa5314 100644 --- a/App.xaml +++ b/App.xaml @@ -9,7 +9,15 @@ #1D4ED8 #EAF1FF #EEF3F9 - #E5EAF3 + #DDE5F0 + + #F8FAFD + #FFFFFF + #DDE5F0 + #B9C8DC + #15803D + #DC2626 + #D97706 @@ -18,16 +26,23 @@ - + + + + + + + + - - - + + + @@ -56,16 +71,16 @@ - + - + - + @@ -146,15 +161,31 @@ + + + + +