cyfile / computer

装机 及 维护
1 stars 0 forks source link

颜色相关 #15

Open 213cy opened 7 years ago

213cy commented 7 years ago

win7 主题背景色更改

C:\Windows\Resources\Themes\Aero\Shell\NormalColor\shellstyle.dll 首先要先更改该文件的所有者,然后再更改该文件的权限,才能编辑该文件.

改好的 shellstyle.dll 备份 https://github.com/cyfile/computer/tree/master/win7color

共两种更改
第一种更改:
background="themeable(gtc(ItemsView, 0, 0, 3802), window)" 中的 gtc(ItemsView, 0, 0, 3802) 改为 ARGB(255, 193, 221, 198)

第二种更改:
argb(252,252,252,255) 改为 ARGB(255, 193, 221, 198)


<style resid="main">
<style resid="browserlayoutstyle">
<style resid="documentslayoutstyle">
<style resid="searchlayoutstyle">
<style resid="barrierpagestyle">
<style resid="gameslayoutstyle">
<style resid="commonitemdialoglayoutstyle">
<style resid="commonsavedialoglayoutstyle">
<style resid="cidsaveinlayoutstyle">
<style resid="genericlayoutstyle">
          <if id="atom(clientviewhost)">
                     background="themeable(argb(255, 193, 221, 198), window)"
<style resid="musiclayoutstyle">
<style resid="photolayoutstyle">
<style resid="propertreestyle">
<style resid="saveappcontrolsstyle">
<style resid="openappcontrolsstyle">
<style resid="FolderBandStyle">
<style resid="CPLFolderBandStyle">
<style resid="SplitButtonStyle">
<style resid="CPLSplitButtonStyle">
<style resid="TaskButtonStyle">
<style resid="CPLTaskButtonStyle">
<style resid="librarypanestyle">
           <if id="atom(LibraryPaneBackground)">
                      background="themeable(argb(255, 193, 221, 198), window)"
<style resid="LibraryPaneTopViewButtonStyle">
<style resid="infobarstyle">    

Common Functions: DrawThemeBackground: dtb(Class, Part, State) GetThemeColor: gtc(Class, Part, State, ID) GetThemeFont: gtf(Class, Part, State, ID) GetThemeMargins: gtmar(Class, Part, State, ID) GetThemeMetrics: gtmet(Class, Part, State, ID) DrawFrameControl: dfc(Unknown, Unknown) Themeable: themeable(Themed, Classic)


[193 221 198]

213cy commented 4 years ago
Name #RRGGBB 备注
Black #000000 player(neutral)
Blue #0000ff 蓝色
Brown #a52a2a 棕色
Cyan #00ffff 青色matlab
DarkGreen #006400 暗绿色
Gray #808080 灰色
Green #008000 绿色
Lavender #e6e6fa 薰衣草色
LightBlue #add8e6 淡蓝色
Magenta #ff00ff 洋红matlab
Maroon #800000 栗色
MintCream #f5fffa 薄荷色
Navy #000080 海军蓝
Orange #ffa500 橙色
PeachPuff #ffdab9 桃红色
Pink #ffc0cb 粉红色
Purple #800080 紫色
Red #ff0000 红色
Snow #fffafa 雪白
Teal #008080 青色
Turquoise #40e0d0 青绿色
Violet #ee82ee 紫罗兰色
Wheat #f5deb3 小麦色
Yellow #ffff00 黄色

青色 teal 薄荷色 mint 碳色 coal 祖母绿 emerald 花生色 peanut