Files
raton4.0-source/Raton RAT/DarkModeForms/OSThemeColors.cs
T

59 lines
2.0 KiB
C#
Raw Normal View History

2026-08-27 11:23:13 -06:00
// Decompiled with JetBrains decompiler
// Type: DarkModeForms.OSThemeColors
// Assembly: Raton, Version=0.4.0.0, Culture=neutral, PublicKeyToken=null
// MVID: 36C4E416-7F8D-4D23-930F-B5CCB0D810E7
// Assembly location: C:\Users\user\Desktop\v3.8.0 Deluxe Plugins (v4.0.0) cracked\Raton.exe
using System.Drawing;
using System.Windows.Forms;
#nullable disable
namespace DarkModeForms;
public class OSThemeColors
{
public Color Background { get; set; } = SystemColors.Control;
public Color BackgroundDark { get; set; } = SystemColors.ControlDark;
public Color BackgroundLight { get; set; } = SystemColors.ControlLight;
public Color Surface { get; set; } = SystemColors.ControlLightLight;
public Color SurfaceDark { get; set; } = SystemColors.ControlLight;
public Color SurfaceLight { get; set; } = Color.White;
public Color TextActive { get; set; } = SystemColors.ControlText;
public Color TextInactive { get; set; } = SystemColors.GrayText;
public Color TextInAccent { get; set; } = SystemColors.HighlightText;
public Color Control { get; set; } = SystemColors.ButtonFace;
public Color ControlDark { get; set; } = SystemColors.ButtonShadow;
public Color ControlLight { get; set; } = SystemColors.ButtonHighlight;
public Color Accent { get; set; } = DarkModeCS.GetWindowsAccentColor();
public Color AccentOpaque { get; set; } = DarkModeCS.GetWindowsAccentOpaqueColor();
public Color AccentDark => ControlPaint.Dark(this.Accent);
public Color AccentLight => ControlPaint.Light(this.Accent);
public Color Primary { get; set; } = SystemColors.Highlight;
public Color PrimaryDark => ControlPaint.Dark(this.Primary);
public Color PrimaryLight => ControlPaint.Light(this.Primary);
public Color Secondary { get; set; } = SystemColors.HotTrack;
public Color SecondaryDark => ControlPaint.Dark(this.Secondary);
public Color SecondaryLight => ControlPaint.Light(this.Secondary);
}