Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions src/OddSnap/Presentation/Theme.cs
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,11 @@ public static class Theme
public static Color SettingsWindowBorder => IsDark ? CA(255, 255, 255, 30) : CA(0, 0, 0, 22);
public static Color SettingsSeparator => IsDark ? CA(255, 255, 255, 20) : CA(0, 0, 0, 18);

// Scrollbar thumb palette. Kept subtle so thin scrollbars do not draw
// attention, with a brighter hover/drag state for affordance.
public static Color ScrollThumb => IsDark ? CA(255, 255, 255, 70) : CA(0, 0, 0, 60);
public static Color ScrollThumbHover => IsDark ? CA(255, 255, 255, 120) : CA(0, 0, 0, 100);

public static SolidColorBrush Brush(Color c) { var b = new SolidColorBrush(c); b.Freeze(); return b; }

public static void ApplyTo(System.Windows.ResourceDictionary resources)
Expand Down
Loading