From 6b78730498dc4a6fb7c88b8b0d2e174c2dad7218 Mon Sep 17 00:00:00 2001 From: renner Date: Sun, 30 Aug 2026 17:09:39 +0200 Subject: [PATCH] chore: remove gtk.css Added in [1] and [2]. Supposedly this fixed [3]. This no longer relevant, without these everyting looks readable and correct. I tested this with Flatpak Chrome and changing between dark and light mode with CSD and SSD. 1: https://github.com/ublue-os/bluefin/pull/1709 2: https://github.com/ublue-os/bluefin/pull/1095/ 3: https://github.com/flathub/org.gtk.Gtk3theme.Breeze/issues/94 --- .../shared/etc/skel/.config/gtk-3.0/gtk.css | 2 -- .../.config/gtk-3.0/window_decorations.css | 0 .../shared/etc/skel/.config/gtk-4.0/gtk.css | 2 -- .../.config/gtk-4.0/kde_window_geometry.css | 35 ------------------- 4 files changed, 39 deletions(-) delete mode 100644 system_files/shared/etc/skel/.config/gtk-3.0/gtk.css delete mode 100644 system_files/shared/etc/skel/.config/gtk-3.0/window_decorations.css delete mode 100644 system_files/shared/etc/skel/.config/gtk-4.0/gtk.css delete mode 100644 system_files/shared/etc/skel/.config/gtk-4.0/kde_window_geometry.css diff --git a/system_files/shared/etc/skel/.config/gtk-3.0/gtk.css b/system_files/shared/etc/skel/.config/gtk-3.0/gtk.css deleted file mode 100644 index 32658eb..0000000 --- a/system_files/shared/etc/skel/.config/gtk-3.0/gtk.css +++ /dev/null @@ -1,2 +0,0 @@ -@import 'colors.css'; -@import 'window_decorations.css'; \ No newline at end of file diff --git a/system_files/shared/etc/skel/.config/gtk-3.0/window_decorations.css b/system_files/shared/etc/skel/.config/gtk-3.0/window_decorations.css deleted file mode 100644 index e69de29..0000000 diff --git a/system_files/shared/etc/skel/.config/gtk-4.0/gtk.css b/system_files/shared/etc/skel/.config/gtk-4.0/gtk.css deleted file mode 100644 index f364ba5..0000000 --- a/system_files/shared/etc/skel/.config/gtk-4.0/gtk.css +++ /dev/null @@ -1,2 +0,0 @@ -@import 'colors.css'; -@import 'kde_window_geometry.css'; diff --git a/system_files/shared/etc/skel/.config/gtk-4.0/kde_window_geometry.css b/system_files/shared/etc/skel/.config/gtk-4.0/kde_window_geometry.css deleted file mode 100644 index 1270894..0000000 --- a/system_files/shared/etc/skel/.config/gtk-4.0/kde_window_geometry.css +++ /dev/null @@ -1,35 +0,0 @@ -/* - Extremely trimmed down version of https://github.com/MrCompoopter/Libadwaita-Breeze-Dark - Modifies only the window shape, and otherwise makes no other changes. - This should ensure compatibility with most if not all themes and applications. -*/ - -window { - border-radius: 4px 4px 0 0; - border-width: 0px; - margin: 0px; -} - -window.maximized { - border-radius: 0; -} - -.maximized window, -.fullscreen window, -.tiled window { - border-radius: 0; -} - -.popup window { - border-radius: 4px; -} - -.csd window { - border-radius: 4px; -} - -.solid-csd window { - border-radius: 0; - margin: 0; - border-width: 5px; -}