-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
change Dark theme to be actually dark; add theme docs
- Loading branch information
Showing
3 changed files
with
49 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
# Customize theme (colors) | ||
|
||
**Available in version 3.6 or later.** | ||
|
||
You can change colors of SumatraPDF UI by creating a custom theme using `Themes` [advanced setting](Advanced-options-settings.md). | ||
|
||
To create a theme: | ||
|
||
- use `Settings` / `Advanced Options...` menu (or `Ctrl + K` Command Palette, type `adv` to narrow down and select `Advanced Options...` command) | ||
- this opens default .txt editor with advanced settings file | ||
- find `Themes` array and add new shortcut definitions | ||
|
||
Example of customization: | ||
|
||
``` | ||
Shortcuts [ | ||
[ | ||
Name = My Dark Theme | ||
TextColor = #bac9d0 | ||
BackgroundColor = #263238 | ||
ControlBackgroundColor = #263238 | ||
LinkColor = #8aa3b0 | ||
ColorizeControls = true | ||
] | ||
] | ||
``` | ||
|
||
`TextColor` and `BackgroundColor` are for main window color and color of text. | ||
|
||
If you use `I` (`CmdInvertColors`) they will also be used to replace white background / black text color when renderign PDF/ePub documents. | ||
|
||
`ControlBackgroundColor` is for background of Windows controls (buttons, window frame, menus, list controls etc.). | ||
|
||
`LinkColor` is a color for links. Typically it's blue. | ||
|
||
`ColorizeControls` should be `true`. If `false` we won't try to change colors of standard windows controls (menu, toolbar, buttons etc.) so a lot of UI will not respect theme colors. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters