add button brush
This commit is contained in:
parent
949ce8255c
commit
a32ff8a433
@ -11,14 +11,16 @@
|
||||
<ResourceDictionary>
|
||||
<ResourceDictionary.ThemeDictionaries>
|
||||
<ResourceDictionary x:Key="Light">
|
||||
<SolidColorBrush x:Key='BackgroundBrush'>#F0F0F0</SolidColorBrush>
|
||||
<SolidColorBrush x:Key='ForegroundBrush'>#000</SolidColorBrush>
|
||||
<SolidColorBrush x:Key='BackgroundBrush'>#EEE</SolidColorBrush>
|
||||
<SolidColorBrush x:Key='ForegroundBrush'>#111</SolidColorBrush>
|
||||
<SolidColorBrush x:Key='DimBrush'>#888</SolidColorBrush>
|
||||
<SolidColorBrush x:Key='ButtonBgBrush'>#DDD</SolidColorBrush>
|
||||
</ResourceDictionary>
|
||||
<ResourceDictionary x:Key="Dark">
|
||||
<SolidColorBrush x:Key='BackgroundBrush'>#111</SolidColorBrush>
|
||||
<SolidColorBrush x:Key='ForegroundBrush'>#EEE</SolidColorBrush>
|
||||
<SolidColorBrush x:Key='DimBrush'>#777</SolidColorBrush>
|
||||
<SolidColorBrush x:Key='ButtonBgBrush'>#222</SolidColorBrush>
|
||||
</ResourceDictionary>
|
||||
</ResourceDictionary.ThemeDictionaries>
|
||||
</ResourceDictionary>
|
||||
|
@ -8,13 +8,11 @@ namespace kawwa;
|
||||
|
||||
public partial class App : Application
|
||||
{
|
||||
// ...existing code...
|
||||
public static string AppDataPath = Path.Combine(
|
||||
Environment.GetFolderPath(Environment.SpecialFolder.ApplicationData),
|
||||
"kawwa");
|
||||
public static MainWindow? TopWindow;
|
||||
|
||||
// ...existing code...
|
||||
public override void Initialize()
|
||||
{
|
||||
AvaloniaXamlLoader.Load(this);
|
||||
|
@ -36,7 +36,7 @@
|
||||
Click="OnCopyButton"
|
||||
HorizontalAlignment="Center"
|
||||
Foreground="{DynamicResource ForegroundBrush}"
|
||||
Background="{DynamicResource BackgroundBrush}"
|
||||
Background="{DynamicResource ButtonBgBrush}"
|
||||
Margin="0,0,0,10" />
|
||||
<TextBox
|
||||
x:Name="userTextBox"
|
||||
@ -52,7 +52,7 @@
|
||||
HorizontalAlignment="Center"
|
||||
Content="Connect"
|
||||
Foreground="{DynamicResource ForegroundBrush}"
|
||||
Background="{DynamicResource BackgroundBrush}"
|
||||
Background="{DynamicResource ButtonBgBrush}"
|
||||
Click="OnConnectButton"/>
|
||||
</StackPanel>
|
||||
</Grid>
|
||||
|
Loading…
x
Reference in New Issue
Block a user