Win10 Dark Theme for SGP

Sure. I documented the theme file extensively as I figured it out. Just look in the “[Control Panel\Colors]” section for the comments that start with “SGP:”. Find the SGP component you want to change and change the color to whatever you want. The three numbers are red, green, and blue and range from 0 to 255. Black is 0, 0, 0 and white is 255, 255, 255. Shades of grey will be between those.

Or, just turn the brightness on your screen down–that’s what I do!

  • Shane

Shane, James, and Ron,

Thank you all for your contributions!

Shane, your theme now works on my computer. I really like the ability to read the screen clearly but with much lower screen brightness and to see the latest photo just like before installing the new theme. And it is easy to switch back to a daytime theme.

Goodbye red cellophane cover for the monitor…
Goodbye frustration with the lowest screen brightness setting being too high once dark adapted…

I appreciate Shane’s instructions to modify the black background a bit and plan to try this out. But even if nothing changes, this is a great approach using existing resources that balances the utility of SGP and dark adaptation while imaging.

David

@kor That does look cool. Nice work.

Thanks Ken. Can you tell me if the title bar for the dockable modules corresponds to a theme color? If it does, I couldn’t find it…

  • Shane

Another Piece of the Solution!

Windows 10 has a feature called “Nightlight” that removes blue from the entire screen. This is usually enabled in the lat evening because studies have shown that blue light prevents you from getting good sleep. (So does astrophotography!)

Normal:
SGP_normal_small
Dark Mode Theme Applied:
SGP_dark_mode_small
Dark Mode Theme with Nightlight Enabled:
SGP_nightlight_small

I had to take a picture of the screen for the last image. Apparently, Nightlight is a color remapping thing that doesn’t “screen shot”. But you get the idea, All colors are shifted towards red; the white docking module title bars and image frame, and the icons become reddish and the bright green progress bars turns to a very dark green. This looks very similar to when I put the red filter over the screen.

To do this, open your notification by pressing the “box quote” button at the end of your start bar. (Note that I have moved my start bar to the left edge to preserve vertical real estate.) The notification button is the one that is red with black “box quote” icon.
00_notification_button

The notification panel will expand from the right side of your screen. Near the bottom are a series of “Notifications Actions” buttons. Click the “Expand” button to see them all. This is cropped to show only the expanded buttons:
00_notification_panel

Somewhere in the grid will be a “Nightlight” button. Right click it and select “Go to Settings”. The Display settings panel will appear:
02_nightlite_small

Click “Night light settings” and it’s settings panel will appear:
03_nightlite_small

Move the “Color temperature at night” slider all the way to the left to make it as red as possible. Then, under “Schedule” click to button to “Off”.

Now, clicking the “Nightlight” button in the Notifications Actions panel will toggle nightlight mode. You still need to enable the dark mode theme, but now you can make the rest of the white stuff turn red!

Nightlight affect all of WIndows 10, so the icons in your start bar and all other applications get red’ed too.

My next theme project is to see how this stuff effects PHD2 and if I can make a theme that works well for both SGP and PHD2 at the same time.

  • Shane
1 Like

I think that might be forcibly colored gray for some reason I can no longer remember… I’ll see if I can make honor a windows color.

Your theme also works on my win 7 machine…
Thanks!

Shane,
I have been using your theme for over a month now, and it works really well. Thanks for taking time to assist the community with your observations and ingenuity. I have ended up using 40, 40, 40 as the “black” level instead of 0, 0, 0 and the “Night light” setting that seems to work best for me is not quite at full red. With that said, the improvement is dramatic and the old red screen cover that was easily mangled is long gone. I generally just need one double click of the theme shortcut on the Desktop and then one click to close the theme pop-up window and I’m good to go (because the Night light settings are applied at 9:00 anyway and this time can be easily adjusted).

The visual observers in our club and I thank you!
David

David and Eric:
I’m glad to hear that the theme is useful. Especially in a public setting as to not disturb others! It does surprise me a little that it works on Win7; did Win7 have high contrast themes also, or is “High Contrast” just a made up thing that doesn’t really matter when you get down to the .theme file? (Not really expecting an answer to that–just more of my wonderings.)

I’ve heard a lot recently about amber being better than red for night vision. Several members or my club have even purchased amber colored LED flashlights to replace their red ones. I’m going to experiment with that soon and see if it allows me to turn the brightness down even further and still be able to read that little bitty print …

  • Shane

Win7 has “high contrast” themes you can select. I just used one of those and then edited the theme file as described. I did not find any reference to a “night light” mode, still it’s a big improvement over the standard layout.

Dark theme on Win7…

Doesn’t seem to work in Win 7 for me.

I’m on win 7 pro SP1 64bit, see below screen shot…

Here is the contents of the theme file, if that helps

; Copyright © Microsoft Corp.

[Theme]
; High Contrast Black - IDS_THEME_DISPLAYNAME_HCBLACK
DisplayName=Astro1

; Computer - SHIDI_SERVER
[CLSID{20D04FE0-3AEA-1069-A2D8-08002B30309D}\DefaultIcon]
DefaultValue=%SystemRoot%\System32\imageres.dll,-109

; UsersFiles - SHIDI_USERFILES
[CLSID{59031A47-3F72-44A7-89C5-5595FE6B30EE}\DefaultIcon]
DefaultValue=%SystemRoot%\System32\imageres.dll,-123

; Network - SHIDI_MYNETWORK
[CLSID{F02C1A0D-BE21-4350-88B0-7367FC96EF3C}\DefaultIcon]
DefaultValue=%SystemRoot%\System32\imageres.dll,-25

; Recycle Bin - SHIDI_RECYCLERFULL SHIDI_RECYCLER
[CLSID{645FF040-5081-101B-9F08-00AA002F954E}\DefaultIcon]
Full=%SystemRoot%\System32\imageres.dll,-54
Empty=%SystemRoot%\System32\imageres.dll,-55

[Control Panel\Cursors]
Arrow=%SystemRoot%\cursors\aero_arrow.cur
Help=%SystemRoot%\cursors\aero_helpsel.cur
AppStarting=%SystemRoot%\cursors\aero_working.ani
Wait=%SystemRoot%\cursors\aero_busy.ani
NWPen=%SystemRoot%\cursors\aero_pen.cur
No=%SystemRoot%\cursors\aero_unavail.cur
SizeNS=%SystemRoot%\cursors\aero_ns.cur
SizeWE=%SystemRoot%\cursors\aero_ew.cur
Crosshair=
IBeam=
SizeNWSE=%SystemRoot%\cursors\aero_nwse.cur
SizeNESW=%SystemRoot%\cursors\aero_nesw.cur
SizeAll=%SystemRoot%\cursors\aero_move.cur
UpArrow=%SystemRoot%\cursors\aero_up.cur
DefaultValue=Windows Aero
Hand=%SystemRoot%\cursors\aero_link.cur
Link=

[Control Panel\Desktop]
Wallpaper=
TileWallpaper=0
WallpaperStyle=10
Pattern=

[Control Panel\Desktop\WindowMetrics]

[Metrics]
NonclientMetrics=88 1 0 0 1 0 0 0 17 0 0 0 17 0 0 0 20 0 0 0 20 0 0 0 245 255 255 255 0 0 0 0 0 0 0 0 0 0 0 0 188 2 0 0 0 0 0 1 0 0 0 0 77 105 99 114 111 115 111 102 116 32 83 97 110 115 32 83 101 114 105 102 0 0 0 0 0 0 0 0 0 0 0 0 15 0 0 0 15 0 0 0 245 255 255 255 0 0 0 0 0 0 0 0 0 0 0 0 188 2 0 0 0 0 0 1 0 0 0 0 77 105 99 114 111 115 111 102 116 32 83 97 110 115 32 83 101 114 105 102 0 0 0 0 0 0 0 0 0 0 0 0 18 0 0 0 18 0 0 0 245 255 255 255 0 0 0 0 0 0 0 0 0 0 0 0 144 1 0 0 0 0 0 1 0 0 0 0 77 105 99 114 111 115 111 102 116 32 83 97 110 115 32 83 101 114 105 102 0 0 0 0 0 0 0 0 0 0 0 0 245 255 255 255 0 0 0 0 0 0 0 0 0 0 0 0 144 1 0 0 0 0 0 1 0 0 0 0 77 105 99 114 111 115 111 102 116 32 83 97 110 115 32 83 101 114 105 102 0 0 0 0 0 0 0 0 0 0 0 0 245 255 255 255 0 0 0 0 0 0 0 0 0 0 0 0 144 1 0 0 0 0 0 1 0 0 0 0 77 105 99 114 111 115 111 102 116 32 83 97 110 115 32 83 101 114 105 102 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
LangID=1033
IconMetrics=76 0 0 0 75 0 0 0 75 0 0 0 1 0 0 0 245 255 255 255 0 0 0 0 0 0 0 0 0 0 0 0 188 2 0 0 0 0 0 1 0 0 0 0 77 105 99 114 111 115 111 102 116 32 83 97 110 115 32 83 101 114 105 102 0 0 0 0 0 0 0 0 0 0 0 0

[VisualStyles]
Path=
ColorStyle=High Contrast Black
Size=Normal
Transparency=0
ColorizationColor=0X6B74B8FC
Composition=0
VisualStyleVersion=10

[boot]
SCRNSAVE.EXE=

[MasterThemeSelector]
MTSM=DABJDKT

[Sounds]
; IDS_SCHEME_DEFAULT
SchemeName=@mmres.dll,-800
[Control Panel\Colors]
; SGP Mutes some colors automatically - Example: InactiveTitleText
; SGP maps some colors to black - Example AciveTitle=64 0 0 and TitleText=255 0 0 (TitleText will be black)

Background=0 0 0 ; Desktop Background

ActiveTitle=64 0 0 ; Active Window Title Bar Background - left gradient
; SGP: Active Window Title Bar and Border
GradientActiveTitle=64 0 0 ; Active Window Title Bar Background - right gradient
; SGP: No Effect
TitleText=255 128 0 ; Active Window Title Bar Text
; SGP: Active Window Title Text and 1 pixel Window Frame
InactiveTitle=32 0 0 ; Inactive Window Title Bar Background - left gradient
; SGP: Inactive Window Title Bar and Border
GradientInactiveTitle=32 0 0 ; Inactive Window Title Bar Background - right gradient
; SGP: No Effect
InactiveTitleText=255 128 0 ; Inactive Window Title Bar Text
; SGP: Inactive Window Title Text and 1 pixel Window Frame

Hilight=128 0 0 ; Highlight Background
; SGP: Hightlight background, Sequence Panel Completed Progress, Sequence Panel down button background, Redo button background
HilightText=0 0 0 ; Highlight Text
; SGP: Hightlight Text

GrayText=128 0 0 ; Disabled Text
; SGP: Docking Model Tab Border, Docking Module disabled button frame

Window=0 0 0 ; Window Background
; SGP: Sequence Panel Target List background, Inner frame for numeric up/down boxes (like Sequence Panel “Repeat” box)
WindowText=255 0 0 ; Window Text/Borders for in-Window Elements/Ribbon Background (sometimes when blue is involved
; SGP: non-selected Input Text

Menu=32 0 0 ; (Win10) Background for Open Menu Item/(Legacy) Line under Menu
; SGP: No Effect
MenuHilight=255 0 0 ; Unknown - Frame around hovered Ribbon Label when 255 0 255
; SGP: No Effect
MenuBar=0 0 0 ; Unknown - Ribbon Background when 255 0 255
; SGP: No Effect
MenuText=255 0 0 ; (Win10) Text for drop-down menu items and for framed ribbon items
; SGP: No Effect

ButtonFace=0 0 0 ; Background for lots of stuff:
; Legacy: scroll bars, menu, menu drop-down
; Win10: menu, ribbon, scroll bar, table header, buttons, icons in quick launch,
; highlight for running program icons, background for “fuel gauge” bars
; hover background for in-window items
; SGP: Panel and button background

ButtonText=255 0 0 ; Text and border color for lots of stuff
; Legacy: scroll bars, menu, menu drop-down
; Win10: menu, ribbon, scroll bar, table header, graphics button border, windows min/max
; SGP: Most panel text, button text, button frames

ButtonLight=32 0 0 ; No Effect - 3D button - top and left outer edge
; SGP: inactive tab background
ButtonDkShadow=192 0 0 ; No Effect - 3D button - bottom and right outer edge
; SGP: inactive tab text
ButtonHilight=64 0 0 ; No Effect - 3D button - top and left inner edge
; SGP: Image Window Active Tab
ButtonShadow=128 0 0 ; No Effect - 3D button - bottom and right outer edge
; SGP: Disabled Text, Empty Progress Fill, Table Borders, Inter-Window Padding
ButtonAlternateFace=0 0 0 ; Unknown - No Effect

HotTrackingColor=0 192 0 ; Win10Apps: local hyperlink text
; Win10: hover for start bar buttons, hover for running programs
; SGP: Input button frame hover

Scrollbar=0 0 0 ; No Effect
; SGP: No Effect

WindowFrame=255 0 0 ; Frame for pop-up windows (such as Reminders), Panel Separators, Panel Scrollbar outline
; SGP: Image Frame

InfoWindow=0 0 0 ; Tool Tip Background
; SGP: Little box between verical and horizonal scroll bar for image
InfoText=192 192 0 ; Tool Tip Text
; SGP: No Effect

ActiveBorder=255 0 0 ; No Effect
; SGP: No Effect
InactiveBorder=128 0 0 ; No Effect
; SGP: No Effect
AppWorkspace=0 0 0 ; No Effect
; SGP: No Effect

64 bit here as well. I downloaded theme file, copied it’s content to another a new theme file via notepad, saved it as a. theme file but get an error trying to open it. I must be doing something wrong. The example looks great.

the formatting of the above cut and paste looks different, maybe that’s an issue? I’ll see if I can unload the file instead.

Maybe this will work…

MyDarkTheme.txt (7.4 KB)

Awesome, it works Eric. Thank you and Shane very much for doing this. This will be a tremendous help to me.

Thanks,
Randy

Glad you got it working!

Hi Eric, Shane

I just wanted drop you a line. I used your Dark Theme for the first time last night and I was very very pleased with how it looked. I’ve been so accustom to how SGP looked over the years it took a few minutes to adjust to the new colors. Nice work and thanks for helping out the community.

Kind Regards,
Mark

www.mainsequencesoftware.com