Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

Dark mode 7-Zip

License

NotificationsYou must be signed in to change notification settings

ozone10/7zip-Dark7zip

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

7zBuild statusLatest releaseTotal downloadsLicensePayPal.me

Dark7zip is project to experiment with dark mode for7-Zip and its fork7-Zip-zstd.
It is mainly for Windows 10 and Windows 11. Some controls might, might not use dark/custom colors on older OS.



Installation

Replace 7z original files (e.g.C:\Program Files\7-Zip\) with files from downloaded zip file.

  • 7zFM.exe - file manager, "main exe"
  • 7zG.exe - mainly extraction, compression dialogs
  • 7z.sfx- optional, file needed for creating self-extracting archives
  • 7zDark.ini - optional, more information below

Note

Currently files are released only for x64 platform. You can get files for other platform from Github Actions for original 7-Zip, 7-Zip-zstd has only x64 platform. Make sure to get correct version -main for original 7-Zip,7z-zstd for 7-Zip-zstd.

Config

7zDark.ini is configuration file to allow mainly to set custom colors.7zDark.ini should be in same folder as7zFM.exe and7zG.exe.

  • [main]

    • mode - determine which sections color "key=value" pairs will be used and theming of title bar, buttons, scrollbars, and tooltips
      • 0 - use light mode
      • 1 - use dark mode, default value
      • 2 - follow system settings
  • [dark]

    • tone - set default colors for [dark.colors] sections, there are no tones for light mode
      • 0 - black, default value
      • 1 - red
      • 2 - green
      • 3 - blue
      • 4 - purple
      • 5 - cyan
      • 6 - olive
    • micaExtend - apply Mica material on all window/dialog, experimental, only for "dark" mode
      • 0 - apply Mica material only on title bar, default value
      • 1 - extend Mica material on all window/dialog

Important

micaExtend=1 is only used with[main]mode=1 and withmica with other valid values than0.micaExtend=1 should also be used with HDR and ACM (Auto Color Management) off.Due to Windows bug usingmicaExtend=1 can cause visual glitches, with HDR/ACM visual glitches are more severe (e.g. invisible controls).
It is also recommended when using withmica=1 to turn off Settings -> Personalization > Colors -> "Show accent color on title bars and window borders" setting.

  • [dark]/[light]
    • mica - apply Mica material on title bar, requires Windows 11 22H2 build 22621
      • 0 - let OS automatically decide the use of Mica material, default value
      • 1 - do not use Mica material
      • 2 - apply Mica material
      • 3 - apply "acrylic" effect
      • 4 - apply Mica Alt material

Values for custom colors are in RGB hex format - RRGGBB.

  • [dark.colors]/[light.colors]

    • background - for some controls (status bar, ...)
    • backgroundInteractive - mainly for controls with some input
    • backgroundHot - for hot item
    • backgroundDlg - for dialog and some controls
    • text - for most text
    • textItem - for some controls
    • textDisabled - for disabled controls
    • edge - for border
    • edgeHot - for hot border
    • edgeDisabled - for disabled border
  • [dark.colors.view]/[light.colors.view] - for listview and treeview

    • backgroundView
    • textView
    • gridlines - color for listview grid lines, when View -> Details is used and Tools -> Options... -> Settings tab -> Show grid lines is checked
    • backgroundHeader
    • backgroundHotHeader
    • textHeader
    • edgeHeader

All options are optional. You can define only "[section]" and "key=value" you want to be applied.

Tip

Renaming section will disable all "key=value" pairs of that section and default values will be used.

Examples:

  • full config
[main]mode = 1[dark]tone = 0mica = 0micaExtend = 0[dark.colors]background ="202020"backgroundInteractive ="404040"backgroundHot ="404040"backgroundDlg ="202020"text ="E0E0E0"textItem ="C0C0C0"textDisabled ="808080"edge ="646464"edgeHot ="9B9B9B"edgeDisabled ="484848"[dark.colors.view]backgroundView ="293134"textView ="E0E2E4"gridlines ="646464"backgroundHeader ="202020"backgroundHotHeader ="404040"textHeader ="C0C0C0"edgeHeader ="646464"[light]mica = 0[light.colors]background ="F0F0F0"backgroundInteractive ="FFFFFF"backgroundHot ="C0DCF3"backgroundDlg ="F0F0F0"text ="000000"textItem ="000000"textDisabled ="6D6D6D"edge ="8D8D8D"edgeHot ="0078D4"edgeDisabled ="6D6D6D"[light.colors.view]backgroundView ="FFFFFF"textView ="000000"gridlines ="F0F0F0"backgroundHeader ="FFFFFF"backgroundHotHeader ="D9EBF9"textHeader ="000000"edgeHeader ="E5E5E5"
  • only views, with defaults:[main]mode=1, and[dark]tone=0
[dark.colors.view]backgroundView ="112435"textView ="C3BE98"gridlines ="4F5F5F"

7-Zip-zstd

7-Zip-zstd is popular 7-Zip fork which contains additional compression algorithms such as Zstandard and Brotli.Source code for dark mode for it is in7z-zstd branch.

For more information about 7-Zip-zstd fork check7-Zip-zstd.

License

Most code related to dark mode is under license MIT, or GPLv3 or later version.

For 7-Zip check DOC folder for information on used license.
License.txt
readme.txt

7-Zip on GitHub

7-Zip website:7-zip.org


[8]ページ先頭

©2009-2025 Movatter.jp