Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitcf25db5

Browse files
feat: ui improvements & style unification (#124)
Fixes:#120 <table><thead> <tr> <th colspan="2">Dark mode</th> </tr></thead><tbody> <tr><td><imgsrc="https://github.com/user-attachments/assets/31a9fb6c-0f2f-4ad6-b8ae-8f63e736128c"alt="traywindow_dark" width="250"></td><td><imgsrc="https://github.com/user-attachments/assets/cacb0d7e-f366-4126-a4eb-e4e1936c6a93"alt="traywindow_dark" width="250"></td> </tr> <tr><td colspan="2"><imgsrc="https://github.com/user-attachments/assets/f34bb089-f80e-4ba0-b89e-91da4e56d493"alt="traywindow_dark" width="500"></td> </tr></tbody></table><table><thead> <tr> <th colspan="2">Light mode</th> </tr></thead><tbody> <tr><td><imgsrc="https://github.com/user-attachments/assets/8d26512c-af92-4e02-b06d-51579a27b60c"alt="traywindow_dark" width="250"></td><td><imgsrc="https://github.com/user-attachments/assets/33de692f-3dcc-4dff-b3e7-3c96cb139336"alt="traywindow_dark" width="250"></td> </tr> <tr><td colspan="2"><imgsrc="https://github.com/user-attachments/assets/ebe25c8f-78c9-4309-8726-a86abf6e3197"alt="traywindow_dark" width="500"></td> </tr></tbody></table>---------Co-authored-by: Dean Sheather <dean@deansheather.com>
1 parent2c89316 commitcf25db5

15 files changed

+16
-25
lines changed

‎App/Views/DirectoryPickerWindow.xaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
MinWidth="400" MinHeight="600">
1414

1515
<Window.SystemBackdrop>
16-
<DesktopAcrylicBackdrop/>
16+
<MicaBackdrop/>
1717
</Window.SystemBackdrop>
1818

1919
<Frame x:Name="RootFrame" />

‎App/Views/DirectoryPickerWindow.xaml.cs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,6 @@ public DirectoryPickerWindow(DirectoryPickerViewModel viewModel)
1919
InitializeComponent();
2020
TitleBarIcon.SetTitlebarIcon(this);
2121

22-
SystemBackdrop = new DesktopAcrylicBackdrop();
23-
2422
viewModel.Initialize(this, DispatcherQueue);
2523
RootFrame.Content = new DirectoryPickerMainPage(viewModel);
2624

‎App/Views/FileSyncListWindow.xaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
MinWidth="1000" MinHeight="300">
1414

1515
<Window.SystemBackdrop>
16-
<DesktopAcrylicBackdrop/>
16+
<MicaBackdrop/>
1717
</Window.SystemBackdrop>
1818

1919
<Frame x:Name="RootFrame" />

‎App/Views/FileSyncListWindow.xaml.cs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,6 @@ public FileSyncListWindow(FileSyncListViewModel viewModel)
1616
InitializeComponent();
1717
TitleBarIcon.SetTitlebarIcon(this);
1818

19-
SystemBackdrop = new DesktopAcrylicBackdrop();
20-
2119
ViewModel.Initialize(this, DispatcherQueue);
2220
RootFrame.Content = new FileSyncListMainPage(ViewModel);
2321

‎App/Views/Pages/DirectoryPickerMainPage.xaml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,7 @@
99
xmlns:converters="using:Coder.Desktop.App.Converters"
1010
xmlns:toolkit="using:CommunityToolkit.WinUI.Controls"
1111
xmlns:viewmodels="using:Coder.Desktop.App.ViewModels"
12-
mc:Ignorable="d"
13-
Background="{ThemeResource ApplicationPageBackgroundThemeBrush}">
12+
mc:Ignorable="d">
1413

1514
<Grid>
1615
<Grid

‎App/Views/Pages/FileSyncListMainPage.xaml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,7 @@
88
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
99
xmlns:viewmodels="using:Coder.Desktop.App.ViewModels"
1010
xmlns:converters="using:Coder.Desktop.App.Converters"
11-
mc:Ignorable="d"
12-
Background="{ThemeResource ApplicationPageBackgroundThemeBrush}">
11+
mc:Ignorable="d">
1312

1413
<Grid>
1514
<Grid

‎App/Views/Pages/SettingsMainPage.xaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@
1111
xmlns:ui="using:CommunityToolkit.WinUI"
1212
xmlns:win="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
1313
xmlns:controls="using:CommunityToolkit.WinUI.Controls"
14-
mc:Ignorable="d"
15-
Background="{ThemeResource ApplicationPageBackgroundThemeBrush}">
14+
mc:Ignorable="d">
15+
1616
<Page.Resources>
1717
<!-- Spacing between cards -->
1818
<x:Double x:Key="SettingsCardSpacing">4</x:Double>

‎App/Views/Pages/SignInTokenPage.xaml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,7 @@
66
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
77
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
88
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
9-
mc:Ignorable="d"
10-
Background="{ThemeResource ApplicationPageBackgroundThemeBrush}">
9+
mc:Ignorable="d">
1110

1211
<StackPanel
1312
Orientation="Vertical"

‎App/Views/Pages/SignInUrlPage.xaml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,7 @@
66
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
77
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
88
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
9-
mc:Ignorable="d"
10-
Background="{ThemeResource ApplicationPageBackgroundThemeBrush}">
9+
mc:Ignorable="d">
1110

1211
<StackPanel
1312
Orientation="Vertical"

‎App/Views/Pages/TrayWindowMainPage.xaml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -267,13 +267,17 @@
267267
<DataTemplate x:DataType="viewModels:AgentAppViewModel">
268268
<HyperlinkButton
269269
x:Name="AppButton"
270-
Padding="6"
271-
Margin="0"
270+
Padding="4"
271+
Margin="2"
272272
Command="{x:Bind OpenAppCommand}"
273273
CommandParameter="{Binding ElementName=AppButton}"
274274
Width="34"
275275
Height="34"
276276
ToolTipService.ToolTip="{x:Bind Details}">
277+
<HyperlinkButton.Resources>
278+
<SolidColorBrush x:Key="HyperlinkButtonBackground" Color="#1F000000"/>
279+
<SolidColorBrush x:Key="HyperlinkButtonBackgroundPointerOver" Color="{ThemeResource SystemAccentColorDark1}" />
280+
</HyperlinkButton.Resources>
277281

278282
<Grid HorizontalAlignment="Stretch" VerticalAlignment="Stretch">
279283
<Image

‎App/Views/SettingsWindow.xaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
MinWidth="600" MinHeight="350">
1414

1515
<Window.SystemBackdrop>
16-
<DesktopAcrylicBackdrop/>
16+
<MicaBackdrop/>
1717
</Window.SystemBackdrop>
1818

1919
<Frame x:Name="RootFrame" />

‎App/Views/SettingsWindow.xaml.cs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,6 @@ public SettingsWindow(SettingsViewModel viewModel)
1616
InitializeComponent();
1717
TitleBarIcon.SetTitlebarIcon(this);
1818

19-
SystemBackdrop = new DesktopAcrylicBackdrop();
20-
2119
RootFrame.Content = new SettingsMainPage(ViewModel);
2220

2321
this.CenterOnScreen();

‎App/Views/SignInWindow.xaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
Title="Sign in to Coder">
1212

1313
<Window.SystemBackdrop>
14-
<DesktopAcrylicBackdrop/>
14+
<MicaBackdrop/>
1515
</Window.SystemBackdrop>
1616

1717
<controls:SizedFrame x:Name="RootFrame" />

‎App/Views/SignInWindow.xaml.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@ public SignInWindow(SignInViewModel viewModel)
2424
{
2525
InitializeComponent();
2626
TitleBarIcon.SetTitlebarIcon(this);
27-
SystemBackdrop = new DesktopAcrylicBackdrop();
2827
RootFrame.SizeChanged += RootFrame_SizeChanged;
2928

3029
_signInUrlPage = new SignInUrlPage(this, viewModel);

‎App/Views/TrayWindow.xaml.cs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@
99
using Microsoft.UI.Windowing;
1010
using Microsoft.UI.Xaml;
1111
using Microsoft.UI.Xaml.Controls;
12-
using Microsoft.UI.Xaml.Media;
1312
using Microsoft.UI.Xaml.Media.Animation;
1413
using System;
1514
using System.Runtime.InteropServices;
@@ -62,7 +61,6 @@ public TrayWindow(IRpcController rpcController, ICredentialManager credentialMan
6261

6362
InitializeComponent();
6463
AppWindow.Hide();
65-
SystemBackdrop = new DesktopAcrylicBackdrop();
6664
Activated += Window_Activated;
6765
RootFrame.SizeChanged += RootFrame_SizeChanged;
6866

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp