Skip to content

Commit c70fcbb

Browse files
committed
fix(desktop): добавлены алиасы SecondaryButton и ButtonPrimary для светлой темы
1 parent ec29ae7 commit c70fcbb

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

HQStudio.Desktop/Styles/ThemeLight.xaml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -621,4 +621,17 @@
621621
</Setter>
622622
</Style>
623623

624+
<!-- ============================================== -->
625+
<!-- LEGACY BUTTON ALIASES -->
626+
<!-- ============================================== -->
627+
628+
<!-- ButtonPrimary - alias for BtnPrimary -->
629+
<Style x:Key="ButtonPrimary" TargetType="Button" BasedOn="{StaticResource BtnPrimary}"/>
630+
631+
<!-- ButtonSecondary - alias for BtnSecondary -->
632+
<Style x:Key="ButtonSecondary" TargetType="Button" BasedOn="{StaticResource BtnSecondary}"/>
633+
634+
<!-- SecondaryButton - alias for BtnSecondary -->
635+
<Style x:Key="SecondaryButton" TargetType="Button" BasedOn="{StaticResource BtnSecondary}"/>
636+
624637
</ResourceDictionary>

0 commit comments

Comments
 (0)