Skip to content

Instantly share code, notes, and snippets.

@LinuxJava7
LinuxJava7 / gtk.css
Last active August 1, 2025 10:03
Custom GTK CSS for blur and window tinting + a few style tweaks
/* define custom accent colour */
@define-color accent_bg_color #a67edd;
:root {
--accent-color: #a67edd;
/* create variables for tinted surfaces */
--window-bg-color: color-mix(
in oklab,
var(--accent-color),
var(--view-bg-color) 90%
@LinuxJava7
LinuxJava7 / gnome-transparent-sidebar.css
Last active November 27, 2024 17:21
Make Gnome applications sidebar semi-transparent, and add blur with Blur My Shell Extension if you want to
/* Mohammad Mahdi Tayebi
*
* To apply transparent sidebar. copy this file into ~/.config/gtk-4.0/gtk.css and if
* you use adw-gtk3 theme you can add it to ~/.config/gtk-3.0/gtk.css as well
*
* Use blur my shell extension to add blur effect behind the transparent part of windows
*/
/* Transparent Sidebar */
window {