some color changes
This commit is contained in:
parent
46a447de2c
commit
949ce8255c
16
App.axaml
16
App.axaml
@ -7,4 +7,20 @@
|
||||
<Application.Styles>
|
||||
<FluentTheme />
|
||||
</Application.Styles>
|
||||
<Application.Resources>
|
||||
<ResourceDictionary>
|
||||
<ResourceDictionary.ThemeDictionaries>
|
||||
<ResourceDictionary x:Key="Light">
|
||||
<SolidColorBrush x:Key='BackgroundBrush'>#F0F0F0</SolidColorBrush>
|
||||
<SolidColorBrush x:Key='ForegroundBrush'>#000</SolidColorBrush>
|
||||
<SolidColorBrush x:Key='DimBrush'>#888</SolidColorBrush>
|
||||
</ResourceDictionary>
|
||||
<ResourceDictionary x:Key="Dark">
|
||||
<SolidColorBrush x:Key='BackgroundBrush'>#111</SolidColorBrush>
|
||||
<SolidColorBrush x:Key='ForegroundBrush'>#EEE</SolidColorBrush>
|
||||
<SolidColorBrush x:Key='DimBrush'>#777</SolidColorBrush>
|
||||
</ResourceDictionary>
|
||||
</ResourceDictionary.ThemeDictionaries>
|
||||
</ResourceDictionary>
|
||||
</Application.Resources>
|
||||
</Application>
|
@ -5,22 +5,6 @@
|
||||
mc:Ignorable="d" d:DesignWidth="800" d:DesignHeight="450"
|
||||
xmlns:local="using:kawwa"
|
||||
x:Class="kawwa.BinkControl">
|
||||
<UserControl.Resources>
|
||||
<ResourceDictionary>
|
||||
<ResourceDictionary.ThemeDictionaries>
|
||||
<ResourceDictionary x:Key="Light">
|
||||
<SolidColorBrush x:Key='BackgroundBrush'>#F0F0F0</SolidColorBrush>
|
||||
<SolidColorBrush x:Key='ForegroundBrush'>#000</SolidColorBrush>
|
||||
<SolidColorBrush x:Key='DimBrush'>#888</SolidColorBrush>
|
||||
</ResourceDictionary>
|
||||
<ResourceDictionary x:Key="Dark">
|
||||
<SolidColorBrush x:Key='BackgroundBrush'>#111</SolidColorBrush>
|
||||
<SolidColorBrush x:Key='ForegroundBrush'>#EEE</SolidColorBrush>
|
||||
<SolidColorBrush x:Key='DimBrush'>#777</SolidColorBrush>
|
||||
</ResourceDictionary>
|
||||
</ResourceDictionary.ThemeDictionaries>
|
||||
</ResourceDictionary>
|
||||
</UserControl.Resources>
|
||||
<Grid>
|
||||
<!--
|
||||
<Grid.RowDefinitions>
|
||||
|
@ -9,12 +9,13 @@
|
||||
<StackPanel
|
||||
Width="600"
|
||||
Margin="20,20,20,20"
|
||||
Background="#141414"
|
||||
Background="{DynamicResource BackgroundBrush}"
|
||||
HorizontalAlignment="Center"
|
||||
VerticalAlignment="Center">
|
||||
<TextBlock
|
||||
FontSize="28"
|
||||
HorizontalAlignment="Center"
|
||||
Foreground="{DynamicResource ForegroundBrush}"
|
||||
Margin="15">
|
||||
~ kawwa client ~
|
||||
</TextBlock>
|
||||
@ -22,6 +23,7 @@
|
||||
HorizontalAlignment="Center"
|
||||
Width="500"
|
||||
TextWrapping="Wrap"
|
||||
Foreground="{DynamicResource ForegroundBrush}"
|
||||
Margin="0,0,0,15">
|
||||
Click the button below to copy a new ssh public key to your clipboard.
|
||||
In a tilde.town shell, edit the file <Bold>~/.ssh/authorized_keys</Bold>
|
||||
@ -33,6 +35,8 @@
|
||||
Content="Copy key to clipboard"
|
||||
Click="OnCopyButton"
|
||||
HorizontalAlignment="Center"
|
||||
Foreground="{DynamicResource ForegroundBrush}"
|
||||
Background="{DynamicResource BackgroundBrush}"
|
||||
Margin="0,0,0,10" />
|
||||
<TextBox
|
||||
x:Name="userTextBox"
|
||||
@ -40,12 +44,15 @@
|
||||
Width="150"
|
||||
Margin="0,0,0,10"
|
||||
Watermark="Username..."
|
||||
Foreground="{DynamicResource ForegroundBrush}"
|
||||
TextChanged="OnUserTextChanged" />
|
||||
<Button
|
||||
x:Name="connectButton"
|
||||
Margin="0,0,0,10"
|
||||
HorizontalAlignment="Center"
|
||||
Content="Connect"
|
||||
Foreground="{DynamicResource ForegroundBrush}"
|
||||
Background="{DynamicResource BackgroundBrush}"
|
||||
Click="OnConnectButton"/>
|
||||
</StackPanel>
|
||||
</Grid>
|
||||
|
Loading…
x
Reference in New Issue
Block a user