master
yutent 2022-05-06 17:08:59 +08:00
parent d9b5469838
commit 5d5bfeda8d
13 changed files with 387 additions and 363 deletions

View File

@ -33,8 +33,8 @@
/* default2 */
--color-grey-a: rgba(206, 214, 224, 0.35);
--color-grey-1: rgb(206, 214, 224);
--color-grey-2: rgb(164, 176, 190);
--color-grey-3: rgb(134, 144, 155);
--color-grey-2: #a4b0be;
--color-grey-3: #86909b;
/* inverse */
--color-dark-a: rgba(87, 96, 111, 0.35);
--color-dark-1: #57606f;

View File

@ -1 +1 @@
<svg xmlns="http://www.w3.org/2000/svg" height="18" width="18"><circle cy="255" cx="1376" fill="gray" r="7.111" transform="matrix(1.26563 0 0 1.26562 -1732.5 -313.734)"/><path fill="none" d="M0 0h18v18H0z"/></svg>
<svg xmlns="http://www.w3.org/2000/svg" height="18" width="18" fill="#a4b0be"><circle cy="9" cx="9" r="9" /></svg>

Before

Width:  |  Height:  |  Size: 213 B

After

Width:  |  Height:  |  Size: 114 B

View File

@ -1 +1 @@
<svg xmlns="http://www.w3.org/2000/svg" height="16" width="16"><path d="M4.795 3.912l-.883.883.147.146L7.117 8 4.06 11.059l-.147.146.883.883.146-.147L8 8.883l3.059 3.058.146.147.883-.883-.147-.146L8.883 8l3.058-3.059.147-.146-.883-.883-.146.147L8 7.117 4.941 4.06z" style="line-height:normal;font-variant-ligatures:normal;font-variant-position:normal;font-variant-caps:normal;font-variant-numeric:normal;font-variant-alternates:normal;font-feature-settings:normal;text-indent:0;text-align:start;text-decoration-line:none;text-decoration-style:solid;text-decoration-color:#000;text-transform:none;text-orientation:mixed;shape-padding:0;isolation:auto;mix-blend-mode:normal" color="#000" font-weight="400" font-family="sans-serif" overflow="visible" fill="gray" fill-rule="evenodd"/></svg>
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 892 892" height="16" width="16"><path fill="#3c4d5e" d="M642.08 293.27L293.27 642.08q-22.11 22.11-44.22 0t0-44.22l348.81-348.8q22.11-22.12 44.22 0t0 44.21zm0 0"/><path fill="#3c4d5e" d="M598.73 643L249.92 294.14q-22.1-22.11 0-44.22t44.22 0L643 598.73q22 22.11 0 44.27t-44.22 0zm0 0"/></svg>

Before

Width:  |  Height:  |  Size: 787 B

After

Width:  |  Height:  |  Size: 343 B

View File

@ -1 +1 @@
<svg xmlns="http://www.w3.org/2000/svg" height="16" width="16"><path d="M4 4v8h8V4zm1 1h6v6H5z" style="line-height:normal;font-variant-ligatures:normal;font-variant-position:normal;font-variant-caps:normal;font-variant-numeric:normal;font-variant-alternates:normal;font-feature-settings:normal;text-indent:0;text-align:start;text-decoration-line:none;text-decoration-style:solid;text-decoration-color:#000;text-transform:none;text-orientation:mixed;shape-padding:0;isolation:auto;mix-blend-mode:normal" font-weight="400" overflow="visible" font-family="sans-serif" fill="gray" color="#000"/></svg>
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 892 892" height="16" width="16"><path d="M351.39 247.74a25.33 25.33 0 0118.49-7.67L628.21 238A25.27 25.27 0 01654 263.79l-2 258.29a25.85 25.85 0 01-7.68 18.49 25.1 25.1 0 01-18.49 7.67 24.82 24.82 0 01-18.38-7.4L351.16 284.57a24.37 24.37 0 01-7.4-18.38 25.28 25.28 0 017.63-18.46zm189.22 396.55a25.31 25.31 0 01-18.47 7.64L263.79 654A25.28 25.28 0 01238 628.21l2-258.29a25.83 25.83 0 017.67-18.47 25.09 25.09 0 0118.49-7.67 24.78 24.78 0 0118.38 7.4l256.3 256.25a24.37 24.37 0 017.4 18.38 25.33 25.33 0 01-7.63 18.48z" fill="#3c4d5e"/></svg>

Before

Width:  |  Height:  |  Size: 597 B

After

Width:  |  Height:  |  Size: 594 B

View File

@ -1 +1 @@
<svg xmlns="http://www.w3.org/2000/svg" height="16" width="16"><path fill="none" d="M0 0h16v16H0z"/><path d="M8 9.852l3.693-2.437a.45.45 0 00.182-.36v-.932h-.969a.764.764 0 00-.464.141L8 7.988 5.558 6.264a.815.815 0 00-.464-.14h-.969v.931a.45.45 0 00.182.36z" fill="gray" stroke="gray" stroke-width=".25"/></svg>
<svg xmlns="http://www.w3.org/2000/svg" height="16" width="16"><path fill="none" d="M0 0h16v16H0z"/><path d="M8 9.852l3.693-2.437a.45.45 0 00.182-.36v-.932h-.969a.764.764 0 00-.464.141L8 7.988 5.558 6.264a.815.815 0 00-.464-.14h-.969v.931a.45.45 0 00.182.36z" fill="#86909b"/></svg>

Before

Width:  |  Height:  |  Size: 312 B

After

Width:  |  Height:  |  Size: 282 B

View File

@ -5,58 +5,81 @@
<author>yutent</author>
<copyright>MIT</copyright>
<date>May 2022</date>
<description>A pleasant theme built to adapt to many color schemes as well as be optimal for both high and low resolution displays.</description>
<description>窗口主题</description>
</info>
<!-- ::: CONSTANTS ::: -->
<constant name="C_title_focused" value="gtk:custom(wm_title,#404040)"/>
<constant name="C_title_unfocused" value="gtk:custom(wm_title_unfocused,#9d9d9d)"/>
<!-- 标题栏文字 -->
<constant name="C_title_focused" value="rgb(242, 245, 252)"/>
<constant name="C_title_unfocused" value="rgb(206, 214, 224)"/>
<constant name="C_wm_bg" value="gtk:custom(wm_bg,#d9d9d9)" />
<constant name="C_wm_bg_unfocused" value="gtk:custom(wm_bg_unfocused,#d9d9d9)" />
<!-- 标题栏背景 -->
<constant name="C_wm_bg" value="#57606f" />
<constant name="C_wm_bg_unfocused" value="#57606f" />
<constant name="C_wm_border" value="gtk:custom(wm_border,#bababa)" />
<constant name="C_wm_border_unfocused" value="gtk:custom(wm_border_unfocused,#bababa)" />
<constant name="C_wm_highlight" value="gtk:custom(wm_highlight,#eeeeee)" />
<!-- 窗口边框 -->
<constant name="C_wm_border" value="#57606f" />
<constant name="C_wm_border_unfocused" value="#57606f" />
<constant name="C_wm_highlight" value="#57606f" />
<!-- window button colors -->
<!-- close -->
<constant name="C_button_close_bg_focused" value="gtk:custom(selected_bg_color,#92b372)" />
<constant name="C_button_close_bg_hover" value="shade/gtk:custom(selected_bg_color,#92b372)/1.14" />
<constant name="C_button_close_bg_active" value="shade/gtk:custom(selected_bg_color,#92b372)/0.8" />
<constant name="C_button_close_bg_focused" value="#f55449" />
<constant name="C_button_close_bg_unfocused" value="#f55449" />
<constant name="C_button_close_bg_hover" value="#f55449" />
<constant name="C_button_close_bg_active" value="#f55449" />
<constant name="C_icon_close_bg_focused" value="#0099ff" />
<constant name="C_icon_close_bg_unfocused" value="#0099ff" />
<constant name="C_icon_close_bg_hover" value="#0099ff" />
<constant name="C_icon_close_bg_active" value="#0099ff" />
<constant name="C_icon_close_bg" value="gtk:custom(wm_icon_close_bg,#F8F8F8)" />
<!-- minimize, maximize -->
<constant name="C_button_bg_hover" value="gtk:custom(wm_button_hover_bg,#fdfdfd)" />
<constant name="C_button_bg_active" value="gtk:custom(wm_button_active_bg,#909090)" />
<constant name="C_button_bg_focused" value="#dee1e3" />
<constant name="C_button_bg_unfocused" value="#dee1e3" />
<constant name="C_button_bg_hover" value="#fac536" />
<constant name="C_button_bg_active" value="#fac536" />
<constant name="C_button_maximize_bg_focused" value="#39ea49" />
<constant name="C_button_maximize_bg_unfocused" value="#dee1e3" />
<constant name="C_button_maximize_bg_hover" value="#39ea49" />
<constant name="C_button_maximize_bg_active" value="#39ea49" />
<constant name="C_button_minimize_bg_focused" value="#fac536" />
<constant name="C_button_minimize_bg_unfocused" value="#dee1e3" />
<constant name="C_button_minimize_bg_hover" value="#fac536" />
<constant name="C_button_minimize_bg_active" value="#fac536" />
<constant name="C_icon_bg_focused" value="#3c4d5e" />
<constant name="C_icon_bg_unfocused" value="#3c4d5e" />
<constant name="C_icon_bg_hover" value="#3c4d5e" />
<constant name="C_icon_bg_active" value="#3c4d5e" />
<constant name="C_icon_bg_focused" value="gtk:custom(wm_icon_bg,#404040)" />
<constant name="C_icon_bg_unfocused" value="gtk:custom(wm_icon_unfocused_bg,#b6b6b6)" />
<constant name="C_icon_bg_hover" value="gtk:custom(wm_icon_hover_bg,#404040)" />
<constant name="C_icon_bg_active" value="gtk:custom(wm_icon_active_bg,#ffffff)" />
<!-- ::: GEOMETRY ::: -->
<frame_geometry name="normal" title_scale="medium" rounded_top_left="8" rounded_top_right="8" rounded_bottom_left="8" rounded_bottom_right="8">
<distance name="left_width" value="1" />
<distance name="right_width" value="1" />
<distance name="left_width" value="0" />
<distance name="right_width" value="0" />
<distance name="bottom_height" value="4" />
<distance name="left_titlebar_edge" value="0"/>
<distance name="right_titlebar_edge" value="0"/>
<distance name="left_titlebar_edge" value="3"/>
<distance name="right_titlebar_edge" value="3"/>
<distance name="title_vertical_pad" value="0"/>
<border name="title_border" left="12" right="8" top="3" bottom="3"/>
<border name="title_border" left="0" right="0" top="0" bottom="0"/>
<border name="button_border" left="0" right="0" top="0" bottom="0"/>
<distance name="button_width" value="32"/>
<distance name="button_height" value="30"/>
<distance name="button_height" value="32"/>
</frame_geometry>
<frame_geometry name="maximized" parent="normal" rounded_top_left="false" rounded_top_right="false" rounded_bottom_left="false" rounded_bottom_right="false">
<distance name="left_width" value="0"/>
<distance name="right_width" value="0"/>
<distance name="bottom_height" value="1"/>
<distance name="bottom_height" value="0"/>
<distance name="left_titlebar_edge" value="0"/>
<distance name="right_titlebar_edge" value="0"/>
</frame_geometry>
@ -64,7 +87,7 @@
<frame_geometry name="tiled_left" parent="normal" rounded_top_left="false" rounded_top_right="false" rounded_bottom_left="false" rounded_bottom_right="false">
<distance name="left_width" value="0"/>
<distance name="right_width" value="1"/>
<distance name="bottom_height" value="1"/>
<distance name="bottom_height" value="0"/>
<distance name="left_titlebar_edge" value="0"/>
<distance name="right_titlebar_edge" value="0"/>
</frame_geometry>
@ -72,15 +95,15 @@
<frame_geometry name="tiled_right" parent="normal" rounded_top_left="false" rounded_top_right="false" rounded_bottom_left="false" rounded_bottom_right="false">
<distance name="left_width" value="1"/>
<distance name="right_width" value="0"/>
<distance name="bottom_height" value="1"/>
<distance name="bottom_height" value="0"/>
<distance name="left_titlebar_edge" value="0"/>
<distance name="right_titlebar_edge" value="0"/>
</frame_geometry>
<frame_geometry name="utility" title_scale="small" rounded_top_left="false" rounded_top_right="false" rounded_bottom_left="false" rounded_bottom_right="false">
<distance name="left_width" value="2"/>
<distance name="right_width" value="2"/>
<distance name="bottom_height" value="2"/>
<frame_geometry name="utility" title_scale="small" rounded_top_left="8" rounded_top_right="8" rounded_bottom_left="8" rounded_bottom_right="8">
<distance name="left_width" value="0"/>
<distance name="right_width" value="0"/>
<distance name="bottom_height" value="4"/>
<distance name="left_titlebar_edge" value="3"/>
<distance name="right_titlebar_edge" value="3"/>
<distance name="title_vertical_pad" value="0"/>
@ -90,9 +113,9 @@
</frame_geometry>
<frame_geometry name="border" has_title="false">
<distance name="left_width" value="2"/>
<distance name="right_width" value="2"/>
<distance name="bottom_height" value="2"/>
<distance name="left_width" value="4"/>
<distance name="right_width" value="4"/>
<distance name="bottom_height" value="4"/>
<distance name="left_titlebar_edge" value="0"/>
<distance name="right_titlebar_edge" value="0"/>
<distance name="button_width" value="0"/>
@ -268,22 +291,22 @@
<draw_ops name="close_focused">
<image filename="button-bg.svg" colorize="C_button_close_bg_focused" x="(width-object_width)/2" y="(height-object_height)/2" width="object_width" height="object_height"/>
<image filename="close-icon.svg" colorize="C_icon_close_bg" x="(width-object_width)/2" y="(height-object_height)/2" width="object_width" height="object_height"/>
<image filename="close-icon.svg" colorize="C_icon_close_bg_focused" x="(width-object_width)/2" y="(height-object_height)/2" width="object_width" height="object_height"/>
</draw_ops>
<draw_ops name="close_focused_pressed">
<image filename="button-bg.svg" colorize="C_button_close_bg_active" x="(width-object_width)/2" y="(height-object_height)/2" width="object_width" height="object_height"/>
<image filename="close-icon.svg" colorize="C_icon_close_bg" x="(width-object_width)/2" y="(height-object_height)/2" width="object_width" height="object_height"/>
<image filename="close-icon.svg" colorize="C_icon_close_bg_active" x="(width-object_width)/2" y="(height-object_height)/2" width="object_width" height="object_height"/>
</draw_ops>
<draw_ops name="close_focused_prelight">
<image filename="button-bg.svg" colorize="C_button_close_bg_hover" x="(width-object_width)/2" y="(height-object_height)/2" width="object_width" height="object_height"/>
<image filename="close-icon.svg" colorize="C_icon_close_bg" x="(width-object_width)/2" y="(height-object_height)/2" width="object_width" height="object_height"/>
<image filename="close-icon.svg" colorize="C_icon_close_bg_hover" x="(width-object_width)/2" y="(height-object_height)/2" width="object_width" height="object_height"/>
</draw_ops>
<draw_ops name="close_unfocused">
<image filename="button-bg.svg" colorize="C_icon_bg_unfocused" x="(width-object_width)/2" y="(height-object_height)/2" width="object_width" height="object_height"/>
<image filename="close-icon.svg" colorize="C_icon_close_bg" x="(width-object_width)/2" y="(height-object_height)/2" width="object_width" height="object_height"/>
<image filename="button-bg.svg" colorize="C_button_close_bg_unfocused" x="(width-object_width)/2" y="(height-object_height)/2" width="object_width" height="object_height"/>
<image filename="close-icon.svg" colorize="C_icon_close_bg_focused" x="(width-object_width)/2" y="(height-object_height)/2" width="object_width" height="object_height"/>
</draw_ops>
<!--maximize-->
@ -677,4 +700,5 @@
<window type="border" style_set="border"/>
<window version=">= 3.2" type="attached" style_set="attached"/>
</metacity_theme>

View File

@ -1 +1 @@
<svg xmlns="http://www.w3.org/2000/svg" height="16" width="16"><path d="M4 10v1h8v-1z" style="line-height:normal;font-variant-ligatures:normal;font-variant-position:normal;font-variant-caps:normal;font-variant-numeric:normal;font-variant-alternates:normal;font-feature-settings:normal;text-indent:0;text-align:start;text-decoration-line:none;text-decoration-style:solid;text-decoration-color:#000;text-transform:none;text-orientation:mixed;shape-padding:0;isolation:auto;mix-blend-mode:normal" font-weight="400" overflow="visible" font-family="sans-serif" fill="gray" color="#000"/></svg>
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 892 892" height="16" width="16"><path d="M247.2 414h397.6q25.2 0 25.2 32t-25.2 32H247.2q-25.2 0-25.2-32t25.2-32z" fill="#3c4d5e"/></svg>

Before

Width:  |  Height:  |  Size: 588 B

After

Width:  |  Height:  |  Size: 189 B

View File

@ -1 +1 @@
<svg xmlns="http://www.w3.org/2000/svg" height="16" width="16"><g font-weight="400" style="white-space:normal" color="#000" font-family="sans-serif" fill="gray"><path d="M3 5v8h8V5zm1 1h6v6H4z" style="line-height:normal;font-variant-ligatures:normal;font-variant-position:normal;font-variant-caps:normal;font-variant-numeric:normal;font-variant-alternates:normal;font-feature-settings:normal;text-indent:0;text-align:start;text-decoration-line:none;text-decoration-style:solid;text-decoration-color:#000;text-transform:none;text-orientation:mixed;shape-padding:0;isolation:auto;mix-blend-mode:normal" overflow="visible"/><path d="M5 3v1h7v7h1V3z" style="line-height:normal;font-variant-ligatures:normal;font-variant-position:normal;font-variant-caps:normal;font-variant-numeric:normal;font-variant-alternates:normal;font-feature-settings:normal;text-indent:0;text-align:start;text-decoration-line:none;text-decoration-style:solid;text-decoration-color:#000;text-transform:none;text-orientation:mixed;shape-padding:0;isolation:auto;mix-blend-mode:normal" overflow="visible" opacity=".5"/></g></svg>
<svg xmlns="http://www.w3.org/2000/svg" height="16" width="16"><g fill="#86909b"><path d="M3 5v8h8V5zm1 1h6v6H4z"/><path d="M5 3v1h7v7h1V3z" opacity=".5"/></g></svg>

Before

Width:  |  Height:  |  Size: 1.1 KiB

After

Width:  |  Height:  |  Size: 165 B

View File

@ -1 +1 @@
<svg xmlns="http://www.w3.org/2000/svg" height="16" width="16"><path fill="none" d="M0 0h16v16H0z"/><g color="#000" fill="gray"><path style="marker:none" d="M5.5 4C4.669 4 4 4.669 4 5.5V7h8V5.5c0-.831-.669-1.5-1.5-1.5zM10 5h1v1h-1zM11 10L8 7l-3 3h2v2h2v-2z" overflow="visible"/></g></svg>
<svg xmlns="http://www.w3.org/2000/svg" height="16" width="16"><g fill="#86909b"><path d="M5.5 4C4.669 4 4 4.669 4 5.5V7h8V5.5c0-.831-.669-1.5-1.5-1.5zM10 5h1v1h-1zM11 10L8 7l-3 3h2v2h2v-2z" overflow="visible"/></g></svg>

Before

Width:  |  Height:  |  Size: 288 B

After

Width:  |  Height:  |  Size: 221 B

View File

@ -1 +1 @@
<svg xmlns="http://www.w3.org/2000/svg" height="16" width="16"><path fill="none" d="M0 0h16v16H0z"/><path style="isolation:auto;mix-blend-mode:normal;solid-color:#000;solid-opacity:1;marker:none" d="M10 3L7 5 4 4v7l3-1 3 2V8l5-.483L10 7z" color="#000" overflow="visible" fill="gray"/></svg>
<svg xmlns="http://www.w3.org/2000/svg" height="16" width="16"><path d="M10 3L7 5 4 4v7l3-1 3 2V8l5-.483L10 7z" fill="#86909b"/></svg>

Before

Width:  |  Height:  |  Size: 290 B

After

Width:  |  Height:  |  Size: 134 B

View File

@ -1 +1 @@
<svg xmlns="http://www.w3.org/2000/svg" height="16" width="16"><path fill="none" d="M0 0h16v16H0z"/><path d="M5.5 4C4.669 4 4 4.669 4 5.5V12h8V5.5c0-.831-.669-1.5-1.5-1.5zM10 5h1v1h-1zM6 7h4v3H6z" style="marker:none" color="#000" overflow="visible" fill="gray"/></svg>
<svg xmlns="http://www.w3.org/2000/svg" height="16" width="16"><path d="M5.5 4C4.669 4 4 4.669 4 5.5V12h8V5.5c0-.831-.669-1.5-1.5-1.5zM10 5h1v1h-1zM6 7h4v3H6z" fill="#86909b"/></svg>

Before

Width:  |  Height:  |  Size: 268 B

After

Width:  |  Height:  |  Size: 182 B

View File

@ -1 +1 @@
<svg xmlns="http://www.w3.org/2000/svg" height="16" width="16"><g color="#000" fill="gray"><path style="isolation:auto;mix-blend-mode:normal;solid-color:#000;solid-opacity:1;marker:none" d="M10 3L7.238 4.842l3.123 3.123L15 7.518 10 7V3zM4.594 4.2L10 9.603v-.208L4.906 4.303l-.312-.104zM4 5.395V11l3-1 3 2v-.604l-6-6z" overflow="visible"/><path d="M4.396 3l8.104 8.104-.896.896L3.5 3.896z" style="marker:none" overflow="visible"/></g><path fill="none" d="M0 0h16v16H0z"/></svg>
<svg xmlns="http://www.w3.org/2000/svg" height="16" width="16"><g fill="#86909b"><path d="M10 3L7.238 4.842l3.123 3.123L15 7.518 10 7V3zM4.594 4.2L10 9.603v-.208L4.906 4.303l-.312-.104zM4 5.395V11l3-1 3 2v-.604l-6-6z"/><path d="M4.396 3l8.104 8.104-.896.896L3.5 3.896z"/></g></svg>

Before

Width:  |  Height:  |  Size: 476 B

After

Width:  |  Height:  |  Size: 281 B

View File

@ -1,11 +1,11 @@
# 控件主题
echo "重置控件主题……"
gsettings set org.cinnamon.desktop.interface gtk-theme "Mint-Y"
echo "重置完成, 0.5秒之后, 修改为one-dark"
sleep 0.5
gsettings set org.cinnamon.desktop.interface gtk-theme "one-dark"
# echo "重置控件主题……"
# gsettings set org.cinnamon.desktop.interface gtk-theme "Mint-Y"
# echo "重置完成, 0.5秒之后, 修改为one-dark"
# sleep 0.5
# gsettings set org.cinnamon.desktop.interface gtk-theme "one-dark"
# 鼠标主题
# gsettings set org.cinnamon.desktop.interface cursor-theme "Adwaita"
@ -14,11 +14,11 @@ gsettings set org.cinnamon.desktop.interface gtk-theme "one-dark"
# gsettings set org.cinnamon.desktop.interface icon-theme "Mint-Y"
# 桌面主题
echo "重置桌面主题……"
gsettings set org.cinnamon.theme name "Mint-Y"
echo "重置完成, 0.5秒之后, 修改为one-dark"
sleep 0.5
gsettings set org.cinnamon.theme name "one-dark"
# echo "重置桌面主题……"
# gsettings set org.cinnamon.theme name "Mint-Y"
# echo "重置完成, 0.5秒之后, 修改为one-dark"
# sleep 0.5
# gsettings set org.cinnamon.theme name "one-dark"
# 窗口主题
echo "重置窗口主题……"