Add midnight-ocean color scheme support for GTK2/3/4 and Qt5/6

This commit is contained in:
2025-07-09 16:14:17 +02:00
parent a554e1f550
commit c51a3ada60
37 changed files with 963 additions and 0 deletions

View File

@@ -0,0 +1,39 @@
/* midnight-ocean GTK4 overrides */
@define-color theme_bg rgba(11, 27, 43, 0.98);
@define-color theme_fg rgba(202,211,232, 0.90);
@define-color theme_selected_bg rgba(79,132,204, 0.30);
@define-color theme_hover_bg rgba(79,132,204, 0.50);
@define-color theme_border rgba(79,132,204, 0.50);
@define-color theme_accent #4F84CC;
@define-color theme_warning #FFCC33;
window,
dialog,
headerbar {
background-color: @theme_bg;
color: @theme_fg;
}
selection,
row:selected,
button:checked,
switch:checked {
background-color: @theme_selected_bg;
color: @theme_fg;
}
button:hover,
entry:hover,
scrollbar:hover {
background-color: @theme_hover_bg;
}
*:focus {
outline: 1px solid @theme_accent;
}
.error {
background-color: @theme_warning;
color: @theme_bg;
}

View File

@@ -0,0 +1,7 @@
[Settings]
gtk-theme-name=Adwaita
gtk-icon-theme-name=BeautySolar
gtk-font-name=InconsolataGo Nerd Font 11
gtk-cursor-theme-name=Adwaita
gtk-cursor-theme-size=24
gtk-application-prefer-dark-theme=1

View File

@@ -0,0 +1,71 @@
headerbar button.titlebutton.close, .titlebar button.titlebutton.close {
background-image: url("assets/close-normal.svg"); }
headerbar button.titlebutton.close:hover, .titlebar button.titlebutton.close:hover {
background-image: url("assets/close-hover.svg"); }
headerbar button.titlebutton.close:active, .titlebar button.titlebutton.close:active {
background-image: url("assets/close-active.svg"); }
headerbar button.titlebutton.close:backdrop, .titlebar button.titlebutton.close:backdrop {
background-image: url("assets/close-backdrop-normal.svg"); }
headerbar button.titlebutton.close:backdrop:hover, .titlebar button.titlebutton.close:backdrop:hover {
background-image: url("assets/close-backdrop-hover.svg"); }
headerbar button.titlebutton.close:backdrop:active, .titlebar button.titlebutton.close:backdrop:active {
background-image: url("assets/close-backdrop-active.svg"); }
headerbar button.titlebutton.maximize, .titlebar button.titlebutton.maximize {
background-image: url("assets/maximize-normal.svg"); }
headerbar button.titlebutton.maximize:hover, .titlebar button.titlebutton.maximize:hover {
background-image: url("assets/maximize-hover.svg"); }
headerbar button.titlebutton.maximize:active, .titlebar button.titlebutton.maximize:active {
background-image: url("assets/maximize-active.svg"); }
headerbar button.titlebutton.maximize:backdrop, .titlebar button.titlebutton.maximize:backdrop {
background-image: url("assets/maximize-backdrop-normal.svg"); }
headerbar button.titlebutton.maximize:backdrop:hover, .titlebar button.titlebutton.maximize:backdrop:hover {
background-image: url("assets/maximize-backdrop-hover.svg"); }
headerbar button.titlebutton.maximize:backdrop:active, .titlebar button.titlebutton.maximize:backdrop:active {
background-image: url("assets/maximize-backdrop-active.svg"); }
headerbar button.titlebutton.minimize, .titlebar button.titlebutton.minimize {
background-image: url("assets/minimize-normal.svg"); }
headerbar button.titlebutton.minimize:hover, .titlebar button.titlebutton.minimize:hover {
background-image: url("assets/minimize-hover.svg"); }
headerbar button.titlebutton.minimize:active, .titlebar button.titlebutton.minimize:active {
background-image: url("assets/minimize-active.svg"); }
headerbar button.titlebutton.minimize:backdrop, .titlebar button.titlebutton.minimize:backdrop {
background-image: url("assets/minimize-backdrop-normal.svg"); }
headerbar button.titlebutton.minimize:backdrop:hover, .titlebar button.titlebutton.minimize:backdrop:hover {
background-image: url("assets/minimize-backdrop-hover.svg"); }
headerbar button.titlebutton.minimize:backdrop:active, .titlebar button.titlebutton.minimize:backdrop:active {
background-image: url("assets/minimize-backdrop-active.svg"); }
.maximized headerbar button.titlebutton.maximize, .maximized .titlebar button.titlebutton.maximize {
background-image: url("assets/maximized-normal.svg"); }
.maximized headerbar button.titlebutton.maximize:hover, .maximized .titlebar button.titlebutton.maximize:hover {
background-image: url("assets/maximized-hover.svg"); }
.maximized headerbar button.titlebutton.maximize:active, .maximized .titlebar button.titlebutton.maximize:active {
background-image: url("assets/maximized-active.svg"); }
.maximized headerbar button.titlebutton.maximize:backdrop, .maximized .titlebar button.titlebutton.maximize:backdrop {
background-image: url("assets/maximized-backdrop-normal.svg"); }
.maximized headerbar button.titlebutton.maximize:backdrop:hover, .maximized .titlebar button.titlebutton.maximize:backdrop:hover {
background-image: url("assets/maximized-backdrop-hover.svg"); }
.maximized headerbar button.titlebutton.maximize:backdrop:active, .maximized .titlebar button.titlebutton.maximize:backdrop:active {
background-image: url("assets/maximized-backdrop-active.svg"); }