SHARE
TWEET

Untitled

a guest Feb 21st, 2020 78 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. static class ConsoleThemes
  2. {
  3.  
  4.         public static SadConsole.Themes.Library BlueTheme = new SadConsole.Themes.Library();
  5.  
  6.        
  7.  
  8.         private static void SetupTheme() //This is called from another class during the program's startup
  9.         {
  10.             BlueTheme.Colors.ControlHostBack = Color.CornflowerBlue;
  11.             BlueTheme.Colors.ControlHostFore = Color.DarkBlue;
  12.  
  13.             BlueTheme.Colors.Text = Color.CornflowerBlue;
  14.  
  15.  
  16.  
  17.             BlueTheme.ButtonTheme.ShowEnds = false;
  18.             BlueTheme.SelectionButtonTheme.ShowEnds = false;
  19.             BlueTheme.Colors.Appearance_ControlOver.Background = Color.LightSteelBlue;
  20.             BlueTheme.Colors.Appearance_ControlOver.Foreground = Color.DarkBlue;
  21.  
  22.             BlueTheme.Colors.Appearance_ControlSelected.Background = Color.DarkBlue;
  23.             BlueTheme.Colors.Appearance_ControlSelected.Foreground = Color.CornflowerBlue;
  24.  
  25.             BlueTheme.Colors.Appearance_ControlNormal.Background = Color.DarkBlue;
  26.             BlueTheme.Colors.Appearance_ControlNormal.Foreground = Color.CornflowerBlue;
  27.  
  28.             BlueTheme.Colors.Appearance_ControlFocused.Background = Color.DarkBlue;
  29.             BlueTheme.Colors.Appearance_ControlFocused.Foreground = Color.CornflowerBlue;
  30.  
  31.             //On Click
  32.             BlueTheme.Colors.Appearance_ControlMouseDown.Background = Color.AliceBlue;
  33.             BlueTheme.Colors.Appearance_ControlMouseDown.Foreground = Color.DarkBlue;        
  34.  
  35.         }
  36.  
  37.  
  38. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Top