mirror of
https://gitee.com/akwkevin/aistudio.-wpf.-diagram
synced 2026-05-01 13:39:28 +08:00
Revert "Revert "block 可以拖拽到内部,还有少量问题待解决""
This reverts commit fcd7beb193.
This commit is contained in:
30
Extensions/AIStudio.Wpf.Block/Themes/Brushes.xaml
Normal file
30
Extensions/AIStudio.Wpf.Block/Themes/Brushes.xaml
Normal file
@@ -0,0 +1,30 @@
|
||||
<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
||||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
||||
xmlns:o="http://schemas.microsoft.com/winfx/2006/xaml/presentation/options">
|
||||
|
||||
<Color x:Key="EventModulesBackgroundColor">#ffbf00</Color>
|
||||
<Color x:Key="EventModulesBorderColor">#cc9900</Color>
|
||||
<Color x:Key="EventModulesForgroundColor">White</Color>
|
||||
<Color x:Key="ControlModulesBackgroundColor">#ffab19</Color>
|
||||
<Color x:Key="ControlModulesBorderColor">#cf8b17</Color>
|
||||
<Color x:Key="ControlModulesForgroundColor">White</Color>
|
||||
<Color x:Key="ArithmeticModulesBackgroundColor">#59c059</Color>
|
||||
<Color x:Key="ArithmeticModulesBorderColor">#389438</Color>
|
||||
<Color x:Key="ArithmeticModulesForgroundColor">White</Color>
|
||||
|
||||
<Color x:Key="FlagColor">#4cbf56</Color>
|
||||
|
||||
|
||||
<SolidColorBrush x:Key="EventModulesBackgroundBrush" Color="{StaticResource EventModulesBackgroundColor}" o:Freeze="True" />
|
||||
<SolidColorBrush x:Key="EventModulesBorderBrush" Color="{StaticResource EventModulesBorderColor}" o:Freeze="True" />
|
||||
<SolidColorBrush x:Key="EventModulesForgroundBrush" Color="{StaticResource EventModulesForgroundColor}" o:Freeze="True" />
|
||||
<SolidColorBrush x:Key="ControlModulesBackgroundBrush" Color="{StaticResource ControlModulesBackgroundColor}" o:Freeze="True" />
|
||||
<SolidColorBrush x:Key="ControlModulesBorderBrush" Color="{StaticResource ControlModulesBorderColor}" o:Freeze="True" />
|
||||
<SolidColorBrush x:Key="ControlModulesForgroundBrush" Color="{StaticResource ControlModulesForgroundColor}" o:Freeze="True" />
|
||||
<SolidColorBrush x:Key="ArithmeticModulesBackgroundBrush" Color="{StaticResource ArithmeticModulesBackgroundColor}" o:Freeze="True" />
|
||||
<SolidColorBrush x:Key="ArithmeticModulesBorderBrush" Color="{StaticResource ArithmeticModulesBorderColor}" o:Freeze="True" />
|
||||
<SolidColorBrush x:Key="ArithmeticModulesForgroundBrush" Color="{StaticResource ArithmeticModulesForgroundColor}" o:Freeze="True" />
|
||||
|
||||
|
||||
<SolidColorBrush x:Key="FlagBrush" Color="{StaticResource FlagColor}" o:Freeze="True" />
|
||||
</ResourceDictionary>
|
||||
Reference in New Issue
Block a user