Sfoglia il codice sorgente

Changed badge colors

Krzysztof Krysiński 3 settimane fa
parent
commit
0c6f8026cd

+ 4 - 0
src/PixiEditor.UI.Common/Accents/Base.axaml

@@ -97,6 +97,8 @@
             <Color x:Key="VerticalSnapAxisColor">#5fad65</Color>
             <Color x:Key="SnapPointPreviewColor">#68abdf</Color>
 
+            <Color x:Key="FoundersPurpleColor">#cba3ff</Color>
+
             <Color x:Key="AutosaveDotColor">white</Color>
             <Color x:Key="UnsavedDotColor">white</Color>
 
@@ -167,6 +169,8 @@
             <SolidColorBrush x:Key="Matrix3X3SocketBrush" Color="{StaticResource Matrix3X3SocketColor}" />
             <SolidColorBrush x:Key="Float3x3SocketBrush" Color="{StaticResource Matrix3X3SocketColor}" />
 
+            <SolidColorBrush x:Key="FoundersPurpleBrush" Color="{StaticResource FoundersPurpleColor}" />
+
             <ConicGradientBrush x:Key="ShapeVectorDataSocketBrush"
                                 GradientStops="{StaticResource ShapeDataSocketGradient}" />
             <SolidColorBrush x:Key="EllipseVectorDataSocketBrush" Color="{StaticResource EllipseDataSocketColor}" />

+ 2 - 2
src/PixiEditor/Views/Main/MainTitleBar.axaml

@@ -25,10 +25,10 @@
             <dialogs:DialogTitleBar.AdditionalElement>
                 <StackPanel Margin="5 0" Spacing="5" Orientation="Horizontal"
                             DataContext="{Binding Path=DataContext, RelativeSource={RelativeSource FindAncestor, AncestorType=main:MainTitleBar}}">
-                    <Border BorderThickness="1" BorderBrush="{DynamicResource AccentColor}"
+                    <Border BorderThickness="1" BorderBrush="{DynamicResource FoundersPurpleBrush}"
                             Padding="5 0" CornerRadius="5" Height="25"
                             IsVisible="{Binding Path=AdditionalContentSubViewModel.IsFoundersPackAvailable, FallbackValue=False}">
-                        <TextBlock VerticalAlignment="Center"
+                        <TextBlock VerticalAlignment="Center" Foreground="{DynamicResource FoundersPurpleBrush}"
                                    ui:Translator.Key="PixiEditor.FoundersPack:AWESOME_SUPPORTER" />
                     </Border>
                     <auth:UserAvatarToggle Width="26" Height="26" DataContext="{Binding Path=UserViewModel}" />