Recovered from decompiled OpenMaui.Controls.Linux.dll: - SkiaShell.cs: FlyoutHeader, FlyoutFooter, scroll support (918 -> 1325 lines) - X11Window.cs: Cursor support (XCreateFontCursor, XDefineCursor) - All handlers with dark mode support - All services with latest implementations - LinuxApplication with theme change handling
27 lines
503 B
C#
27 lines
503 B
C#
using SkiaSharp;
|
|
|
|
namespace Microsoft.Maui.Platform.Linux.Services;
|
|
|
|
public class SystemColors
|
|
{
|
|
public SKColor Background { get; init; }
|
|
|
|
public SKColor Surface { get; init; }
|
|
|
|
public SKColor Primary { get; init; }
|
|
|
|
public SKColor OnPrimary { get; init; }
|
|
|
|
public SKColor Text { get; init; }
|
|
|
|
public SKColor TextSecondary { get; init; }
|
|
|
|
public SKColor Border { get; init; }
|
|
|
|
public SKColor Divider { get; init; }
|
|
|
|
public SKColor Error { get; init; }
|
|
|
|
public SKColor Success { get; init; }
|
|
}
|