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