兼容gtk+

master
yutent 2022-07-18 20:07:18 +08:00
parent c3c0f88eb4
commit 89d2c92d28
32 changed files with 662 additions and 598 deletions

View File

@ -16,6 +16,8 @@ const CINNAMON_SCSS = './cinnamon/sass/cinnamon.scss'
const CINNAMON_STYLE = './cinnamon/cinnamon.css'
const GTK3_SCSS = './gtk-3.0/sass/gtk.scss'
const GTK3_STYLE = './gtk-3.0/gtk.css'
// const GTK3_2_SCSS = './gtk-3.20/gtk.scss'
// const GTK3_2_STYLE = './gtk-3.20/gtk.css'
function render(file) {
try {
@ -60,6 +62,10 @@ chokidar
let style = render(GTK3_SCSS)
fs.echo(style, GTK3_STYLE)
}
// {
// let style = render(GTK3_2_SCSS)
// fs.echo(style, GTK3_2_STYLE)
// }
console.log('更新 Gtk3 完成!!!')
console.log()

View File

@ -1808,19 +1808,19 @@ StScrollBar StButton#hhandle:active {
}
.tile-preview {
background-color: rgba(100, 181, 246, 0);
background-color: rgba(100, 181, 246, 0.15);
border: 1px solid rgba(100, 181, 246, 0.35);
}
.tile-preview.snap {
background-color: rgba(100, 181, 246, 0);
background-color: rgba(100, 181, 246, 0.15);
}
.tile-hud {
background-color: rgba(100, 181, 246, 0);
background-color: rgba(100, 181, 246, 0.15);
border: 1px solid rgba(100, 181, 246, 0.35);
}
.tile-hud.snap {
background-color: rgba(100, 181, 246, 0);
background-color: rgba(100, 181, 246, 0.15);
}
.tile-hud:top {
border-top-width: 0px;

View File

@ -174,20 +174,20 @@
// Tile Preview
//
.tile-preview {
background-color: transparentize($selected_bg_color, 0.7);
background-color: transparentize($selected_bg_color, 0.2);
border: 1px solid $selected_bg_color;
&.snap {
background-color: transparentize($selected_bg_color, 0.4);
background-color: transparentize($selected_bg_color, 0.2);
}
}
.tile-hud {
background-color: transparentize($selected_bg_color, 0.7);
background-color: transparentize($selected_bg_color, 0.2);
border: 1px solid $selected_bg_color;
&.snap {
background-color: transparentize($selected_bg_color, 0.4);
background-color: transparentize($selected_bg_color, 0.2);
}
&:top {

File diff suppressed because it is too large Load Diff

View File

@ -82,7 +82,7 @@
@import "./ui/treeview.scss";
@import "./ui/menu.scss";
@import "./ui/notebook.scss";
@ -101,49 +101,6 @@
//
// Calendar
//
calendar {
color: $fg_color;
border: 1px solid $borders_color;
border-radius: 3px;
padding: 2px;
&:selected {
background-color: $selected_bg_color;
color: $selected_fg_color;
border-radius: 1.5px;
}
&.header {
color: $fg_color;
border: none;
border-radius: 0;
}
&.button,
&.button:focus {
color: transparentize($fg_color, 0.55);
@include button(undecorated);
&:hover {
color: $fg_color;
}
&:disabled {
color: $insensitive_fg_color;
background-color: transparent;
background-image: none;
}
}
&:indeterminate {
color: gtkalpha(currentColor, 0.55);
}
&.highlight {
color: $fg_color;
}
}
@import "./ui/dialog.scss";
@ -156,7 +113,7 @@ calendar {
@import "./ui/misc.scss";
@import "./ui/menu.scss";
//
@ -197,66 +154,9 @@ button.circular-button,
box-shadow: inset 0 0 0 1px $selected_bg_color;
}
//
// Window Decorations
//
decoration {
border-radius: 8px;
border-width: 0px;
$_wm_border: transparentize(black, 0.65);
$_wm_border_backdrop: transparentize(black, 0.7);
box-shadow: 0 3px 9px 1px transparentize(black, 0.5), 0 0 0 1px $wm_border; //doing borders with box-shadow
// this is used for the resize cursor area
margin: 10px;
&:backdrop {
// the transparent shadow here is to enforce that the shadow extents don't
// change when we go to backdrop, to prevent jumping windows
box-shadow: 0 3px 9px 1px transparent, 0 2px 6px 2px transparentize(black, 0.8),
0 0 0 1px $wm_border_unfocused;
}
.fullscreen &,
.maximized &,
.tiled &,
.tiled &:backdrop {
border-radius: 0;
box-shadow: 0 3px 9px 1px transparent, 0 2px 6px 2px transparent, 0 0 0 1px $wm_border_unfocused;
}
.popup & {
box-shadow: none;
border-radius: 0;
}
// server-side decorations as used by mutter
.ssd & {
border-radius: 8px;
box-shadow: 0 0 0 1px transparentize(black, 0.35);
&.maximized {
border-radius: 0;
}
}
.csd.popup & {
border-radius: 2px;
box-shadow: 0 1px 4px transparentize(black, 0.8), 0 0 0 1px transparentize($wm_border, 0.1);
}
tooltip.csd & {
border-radius: 2px;
box-shadow: 0 1px 3px 1px $_wm_border;
}
message-dialog.csd & {
border-radius: 3px;
}
.solid-csd & {
border-radius: 0;
margin: 1px;
background-color: $header_bg;
box-shadow: none;
}
}
@import "./ui/window.scss";
@import "./ui/headerbar.scss";

View File

@ -2,6 +2,7 @@
@import 'var/drawing.scss';
@import 'common.scss';
@import 'ui/applications.scss';
@import 'ui/calendar.scss';
@import 'ui/lightdm.scss';
@import 'ui/colors-public.scss';
@import 'ui/libhandy.scss';

View File

@ -317,12 +317,12 @@ NautilusListView .view {
}
.places-treeview {
-nemoplacestreeview-disk-full-bg-color: $dark_sidebar_fg;
-nemoplacestreeview-disk-full-fg-color: darken($selected_bg_color, 10%);
-GtkTreeView-vertical-separator: 7;
-NemoPlacesTreeView-disk-full-bg-color: $progress_bg_color;
-NemoPlacesTreeView-disk-full-fg-color: $progress_color;
-GtkTreeView-vertical-separator: 5;
.view.cell:hover {
background-color: transparentize($dark_sidebar_fg, 0.75);
background-color: $selected_bg_color;
}
}

View File

@ -20,7 +20,7 @@ $ease-out-quad: cubic-bezier(0.25, 0.46, 0.45, 0.94);
-GtkDialog-action-area-border: 6;
// We use the outline properties to signal the focus properties
outline-color: transparentize($fg_color, .7);
outline-color: $focus_color;
outline-style: dashed;
outline-offset: -3px;
outline-width: 1px;

View File

@ -0,0 +1,40 @@
//
// Calendar
//
calendar {
color: $fg_color;
border: 1px solid $borders_color;
border-radius: 3px;
padding: 2px;
&:selected {
background-color: $selected_bg_color;
color: $selected_fg_color;
border-radius: 1.5px;
}
&.header {
color: $fg_color;
border: none;
border-radius: 0;
}
&.button,
&.button:focus {
color: transparentize($fg_color, 0.55);
@include button(undecorated);
&:hover {
color: $fg_color;
}
&:disabled {
color: $insensitive_fg_color;
background-color: transparent;
background-image: none;
}
}
&:indeterminate {
color: gtkalpha(currentColor, 0.55);
}
&.highlight {
color: $fg_color;
}
}

View File

@ -15,7 +15,7 @@
@define-color selected_bg_color #{"" + $selected_bg_color};
@define-color selected_fg_color #{"" + $selected_fg_color};
@define-color insensitive_bg_color #{"" + $insensitive_bg_color};
@define-color insensitive_fg_color alpha(#{"" + opacify($insensitive_fg_color, 1)}, 0.5);
@define-color insensitive_fg_color #{"" + $insensitive_fg_color};
@define-color insensitive_base_color #{"" + $base_color};
@define-color theme_unfocused_fg_color #{"" + $fg_color};
@define-color theme_unfocused_text_color #{"" + $text_color};

View File

@ -103,8 +103,8 @@ entry {
selection {
&:focus,
& {
color: $selected_bg_color;
background-color: $selected_fg_color;
color: $selected_fg_color;
background-color: $selected_bg_color;
}
}
}

View File

@ -15,11 +15,11 @@ headerbar,
button.titlebutton {
$_wm_backdrop_icon_color: lighten($wm_icon_unfocused_bg, 5%);
min-width: 18px;
min-height: 18px;
min-width: 16px;
min-height: 16px;
@extend .image-button;
padding: 10px 3px;
padding: 4px;
margin: 0;
transition: none;
@ -37,42 +37,40 @@ headerbar,
&.close,
&.maximize,
&.minimize {
-gtk-icon-theme: 'Mint-Y';
// -gtk-icon-theme: 'Reversal-green-dark';
background-color: transparent;
background-size: 18px 18px;
background-size: 16px 16px;
background-position: center;
background-repeat: no-repeat;
border-width: 0;
color: transparent;
&:backdrop {
@include draw_circle($grey_color);
}
}
&.close {
color: $selected_fg_color;
@include draw_circle($selected_bg_color);
background-image: -gtk-scaled(url("../metacity-1/mac-close.svg"), url("../metacity-1/mac-close@2x.svg"));
&:hover {
@include draw-circle(lighten($selected_bg_color, 5%));
}
&:active {
@include draw-circle(darken($selected_bg_color, 5%));
}
&:backdrop {
@include draw-circle($_wm_backdrop_icon_color);
&:hover,&:active {
background-image: -gtk-scaled(url("../metacity-1/mac-close_a.svg"), url("../metacity-1/mac-close_a@2x.svg"));
}
}
&.maximize {
background-image: -gtk-scaled(url("../metacity-1/mac-max.svg"), url("../metacity-1/mac-max@2x.svg"));
&:hover,&:active {
background-image: -gtk-scaled(url("../metacity-1/mac-max_a.svg"), url("../metacity-1/mac-max_a@2x.svg"));
}
}
&.maximize,
&.minimize {
&:hover,
&:hover:backdrop {
@include draw-circle($wm_button_hover_bg);
}
&:active,
&:active:backdrop {
@include draw-circle($wm_button_active_bg);
}
&:backdrop {
color: $_wm_backdrop_icon_color;
background-image: -gtk-scaled(url("../metacity-1/mac-min.svg"), url("../metacity-1/mac-min@2x.svg"));
&:hover,&:active {
background-image: -gtk-scaled(url("../metacity-1/mac-min_a.svg"), url("../metacity-1/mac-min_a@2x.svg"));
}
}
}

View File

@ -0,0 +1,60 @@
//
// Window Decorations
//
decoration {
border-radius: 8px;
border-width: 0px;
$_wm_border: transparentize(black, 0.65);
$_wm_border_backdrop: transparentize(black, 0.7);
box-shadow: 0 3px 9px 1px transparentize(black, 0.5), 0 0 0 1px $wm_border; //doing borders with box-shadow
// this is used for the resize cursor area
margin: 10px;
&:backdrop {
// the transparent shadow here is to enforce that the shadow extents don't
// change when we go to backdrop, to prevent jumping windows
box-shadow: 0 3px 9px 1px transparent, 0 2px 6px 2px transparentize(black, 0.8),
0 0 0 1px $wm_border_unfocused;
}
.fullscreen &,
.maximized &,
.tiled &,
.tiled &:backdrop {
border-radius: 0;
box-shadow: 0 3px 9px 1px transparent, 0 2px 6px 2px transparent, 0 0 0 1px $wm_border_unfocused;
}
.popup & {
box-shadow: none;
border-radius: 0;
}
// server-side decorations as used by mutter
.ssd & {
border-radius: 8px;
box-shadow: 0 0 0 1px transparentize(black, 0.35);
&.maximized {
border-radius: 0;
}
}
.csd.popup & {
border-radius: 2px;
box-shadow: 0 1px 4px transparentize(black, 0.8), 0 0 0 1px transparentize($wm_border, 0.1);
}
tooltip.csd & {
border-radius: 2px;
box-shadow: 0 1px 3px 1px $_wm_border;
}
message-dialog.csd & {
border-radius: 3px;
}
.solid-csd & {
border-radius: 0;
margin: 1px;
background-color: $header_bg;
box-shadow: none;
}
}

View File

@ -12,14 +12,14 @@ $fg_color: #ced6e0;
$grey_color: #86909b;
$selected_bg_color: rgba(100, 181, 246, 0.35);
$selected_bg_color: rgba(100, 181, 246, .35);
$selected_fg_color: #f2f5fc;
$highlight_color: #64b5f6;
$selected_borders_color: darken($selected_bg_color, 15%);
$borders_color: $grey_color;
$separator_color: transparentize($grey_color, .5);
$borders_color: lighten($bg_color, 10%);
$separator_color: transparentize($grey_color, 0.5);
$link_color: #64b5f6;
$link_visited_color: #2196f3;
@ -35,6 +35,12 @@ $success_color: rgb(70, 221, 126);
$destructive_color: #ff5f45;
$suggested_color: rgb(26, 196, 88);
$question_color: #64b5f6;
$focus_color: #64b5f6;
$btn_close: #f55449;
$btn_maximize: #39ea49;
$btn_minimize: #fac536;
$drop_target_color: $selected_bg_color;
@ -42,21 +48,23 @@ $drop_target_color: $selected_bg_color;
$insensitive_fg_color: $grey_color;
$insensitive_bg_color: lighten($bg_color, 2%);
$dim_label_fg_color: transparentize($fg_color, 0.35);
$header_bg: $bg_color;
$header_bg_backdrop: lighten($header_bg, 3%);
$header_border: darken($header_bg, 4%);
$header_highlight: #373737;
$dim_label_fg_color: $fg_color;
$header_fg: $fg_color;
$header_bg: #4d535d;
$header_bg_backdrop: lighten($header_bg, 3%);
$menu_selected_bg_color: transparentize(white, 0.9);
$header_border: $header_bg;
$header_highlight: $header_bg;
$dark_sidebar_bg: #353535;
$menu_selected_bg_color: $selected_bg_color;
$dark_sidebar_bg: darken($bg_color, 3%);
$dark_sidebar_fg: $fg_color;
$dark_sidebar_border: $borders_color;
$dark_sidebar_border: darken($bg_color, 8%);
$progress_bg_color: darken($bg_color, 8%);
$progress_color: rgba(100, 181, 246, 0.35);
$filechooser_bg: $header_bg;

View File

@ -8,5 +8,5 @@ Encoding=UTF-8
GtkTheme=one-dark
MetacityTheme=one-dark
IconTheme=Reversal-green-dark
CursorTheme=DMZ-Black
CursorTheme=Adwaita
ButtonLayout=menu:minimize,maximize,close

View File

@ -1 +0,0 @@
<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: 343 B

8
metacity-1/mac-close@2x.svg Executable file
View File

@ -0,0 +1,8 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 892 892" height="32" width="32">
<path
d="M445.83 892C233.72 891.87 51 742.42 8.93 534.56s68-416.63 263.31-499.29c226.93-95.85 488.61 10.38 584.48 237.28S846.35 761.1 619.42 857a443.33 443.33 0 01-173.59 35z"
fill="#d84945" />
<path
d="M445.83 35.07c-195.54.12-363.94 137.9-402.76 329.52s62.67 384.08 242.74 460.28a411.17 411.17 0 10160-789.8z"
fill="#f55449" />
</svg>

After

Width:  |  Height:  |  Size: 442 B

12
metacity-1/mac-close_a@2x.svg Executable file
View File

@ -0,0 +1,12 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 892 892" height="32" width="32">
<path
d="M445.83 892C233.72 891.87 51 742.42 8.93 534.56s68-416.63 263.31-499.29c226.93-95.85 488.61 10.38 584.48 237.28S846.35 761.1 619.42 857a443.33 443.33 0 01-173.59 35z"
fill="#d84945" />
<path
d="M445.83 35.07c-195.54.12-363.94 137.9-402.76 329.52s62.67 384.08 242.74 460.28a411.17 411.17 0 10160-789.8z"
fill="#f55449" />
<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>

After

Width:  |  Height:  |  Size: 710 B

8
metacity-1/mac-max@2x.svg Executable file
View File

@ -0,0 +1,8 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 892 892" height="32" width="32">
<path
d="M0 446c0 246.32 199.68 446 446 446s446-199.68 446-446S692.32 0 446 0 0 199.68 0 446z"
fill="#34c63b" />
<path
d="M445.89 34.89A411.16 411.16 0 0043.17 364.42C4.35 556 105.84 748.49 285.89 824.7a411.17 411.17 0 10160-789.81z"
fill="#39ea49" />
</svg>

After

Width:  |  Height:  |  Size: 364 B

10
metacity-1/mac-max_a@2x.svg Executable file
View File

@ -0,0 +1,10 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 892 892" height="32" width="32">
<path
d="M0 446c0 246.32 199.68 446 446 446s446-199.68 446-446S692.32 0 446 0 0 199.68 0 446z"
fill="#34c63b" />
<path
d="M445.89 34.89A411.16 411.16 0 0043.17 364.42C4.35 556 105.84 748.49 285.89 824.7a411.17 411.17 0 10160-789.81z"
fill="#39ea49" />
<path fill="#3c4d5e"
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.46zM540.61 644.29a25.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" />
</svg>

After

Width:  |  Height:  |  Size: 875 B

8
metacity-1/mac-min@2x.svg Executable file
View File

@ -0,0 +1,8 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 892 892" height="32" width="32">
<path
d="M0 446c0 246.32 199.68 446 446 446s446-199.68 446-446S692.32 0 446 0 0 199.68 0 446z"
fill="#d8a932" />
<path
d="M445.89 34.89A411.16 411.16 0 0043.17 364.42C4.35 556 105.84 748.49 285.89 824.7a411.17 411.17 0 10160-789.81z"
fill="#fac536" />
</svg>

After

Width:  |  Height:  |  Size: 364 B

11
metacity-1/mac-min_a@2x.svg Executable file
View File

@ -0,0 +1,11 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 892 892" height="32" width="32">
<path
d="M0 446c0 246.32 199.68 446 446 446s446-199.68 446-446S692.32 0 446 0 0 199.68 0 446z"
fill="#d8a932" />
<path
d="M445.89 34.89A411.16 411.16 0 0043.17 364.42C4.35 556 105.84 748.49 285.89 824.7a411.17 411.17 0 10160-789.81z"
fill="#fac536" />
<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>

After

Width:  |  Height:  |  Size: 474 B

View File

@ -1 +0,0 @@
<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: 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="#86909b"/></svg>
<svg xmlns="http://www.w3.org/2000/svg" height="32" width="32"><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: 282 B

After

Width:  |  Height:  |  Size: 282 B

View File

@ -1 +0,0 @@
<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: 189 B

View File

@ -1,4 +1,4 @@
<svg viewBox="0 0 892 892" height="16" width="16"
<svg viewBox="0 0 892 892" height="32" width="32"
xmlns="http://www.w3.org/2000/svg">
<path
d="M0 446c0 246.32 199.68 446 446 446s446-199.68 446-446S692.32 0 446 0 0 199.68 0 446z"

Before

Width:  |  Height:  |  Size: 587 B

After

Width:  |  Height:  |  Size: 587 B

View File

@ -1 +1 @@
<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>
<svg xmlns="http://www.w3.org/2000/svg" height="32" width="32"><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: 221 B

After

Width:  |  Height:  |  Size: 221 B

View File

@ -1 +1 @@
<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>
<svg xmlns="http://www.w3.org/2000/svg" height="32" width="32"><path d="M10 3L7 5 4 4v7l3-1 3 2V8l5-.483L10 7z" fill="#86909b"/></svg>

Before

Width:  |  Height:  |  Size: 134 B

After

Width:  |  Height:  |  Size: 134 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.3 KiB

After

Width:  |  Height:  |  Size: 2.8 KiB

View File

@ -1 +1 @@
<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>
<svg xmlns="http://www.w3.org/2000/svg" height="32" width="32"><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: 182 B

After

Width:  |  Height:  |  Size: 182 B

View File

@ -1 +1 @@
<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>
<svg xmlns="http://www.w3.org/2000/svg" height="32" width="32"><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: 281 B

After

Width:  |  Height:  |  Size: 281 B

View File

@ -1,28 +1,28 @@
# 控件主题
# 控件主题(Controls)
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"
# 鼠标主题
# 鼠标主题(Mouse Pointer)
# gsettings set org.cinnamon.desktop.interface cursor-theme "Adwaita"
# 图标主题
# gsettings set org.cinnamon.desktop.interface icon-theme "Mint-Y"
# 图标主题(Icons)
# gsettings set org.cinnamon.desktop.interface icon-theme "Reversal-green-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"
# 桌面主题(Desktop)
# 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.desktop.wm.preferences theme "Mint-Y"
echo "重置完成, 0.5秒之后, 修改为one-dark"
sleep 0.5
gsettings set org.cinnamon.desktop.wm.preferences theme "one-dark"
# 窗口主题(Windows borders)
# echo "重置窗口主题……"
# gsettings set org.cinnamon.desktop.wm.preferences theme "Mint-Y"
# echo "重置完成, 0.5秒之后, 修改为one-dark"
# sleep 0.5
# gsettings set org.cinnamon.desktop.wm.preferences theme "one-dark"