A fork of the Materia GTK theme.

Important information: Google announced that, from September 2026, Android devices will require ALL apps to be signed by Google, effectively leading to an iOS situation. Value your right to a computer that does what you want; do not tolerate this monopolistic practice! Contact me if you don't understand why it is bad. Click to learn more.

gtk: Remove old workaround for Electron

The recent version of Electron seems to support RGBA of themes.

by roundabout, Saturday, 13 April 2019, 10:03:29 (1555149809), pushed by roundabout, Sunday, 11 May 2025, 13:22:35 (1746969755)

Author identity: nana-4 <hnmaigo@gmail.com>

3fa82a3d95c3fc17e2739eea8b8e87023e9be952

src/_sass/_colors.scss

@@ -119,11 +119,5 @@ $titlebar-track: on($titlebar, track);

                                
                                
                                
                            
                                
                                    
                                        
                                            
                                            $titlebar-divider:                      on($titlebar, divider);
                                        
                                        
                                            
                                            
                                            
                                            
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                            
                                            $titlebar-fill:                         on($titlebar, fill);
                                        
                                        
                                            
                                            
                                            
                                            
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                            
                                            
                                        
                                        
                                            
                                            
                                            
                                            
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                        // workaround for Electron menu which doesn't allow translucent colors
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                        $solid-text:                            if($variant == 'light', $grey-900, $white);
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                        $solid-text-secondary:                  if($variant == 'light', $grey-600, mix($white, $surface, percentage(0.7)));
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                        $solid-text-disabled:                   if($variant == 'light', $grey-500, mix($white, $surface, percentage(0.5)));
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                        $solid-divider:                         if($variant == 'light', $grey-300, mix($white, $surface, percentage(0.12)));
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                        
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                            
                                            // workaround for GTK3 @placeholder_text_color which doesn't allow translucent colors
                                        
                                        
                                            
                                            
                                            
                                            
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                            
                                            $placeholder_text_color:                if($variant == 'light', $grey-600, mix($white, $base, percentage(0.7)));
                                        
                                        
                                            
                                            
                                            
                                            
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                        
                                            
                                            
                                            
                                            
                                        
                                    
                                
                                
                                
                            
                            
                                

src/_sass/gtk/_common-3.20.scss

@@ -1631,22 +1631,6 @@ menuitem {

                                
                                
                                
                            
                                
                                    
                                        
                                            
                                              &:disabled accelerator { color: $text-secondary-disabled; }
                                        
                                        
                                            
                                            
                                            
                                            
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                            
                                            }
                                        
                                        
                                            
                                            
                                            
                                            
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                            
                                            
                                        
                                        
                                            
                                            
                                            
                                            
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                        // FIXME: THIS IS A REALLY UGLY WORKAROUND!
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                        // Electron/Atom render all translucent colors in opaque colors.
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                        // It's a very critical issue for this theme and should be fixed by upstream...
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                        .popup:not(.csd) menu {
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                          menuitem {
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                            color: $solid-text;
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                        
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                            &:hover { background-color: $solid-divider; }
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                        
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                            &:disabled { color: $solid-text-disabled; } // separator/border also use this color.
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                          }
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                        
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                          // FIXME: not working this
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                          accelerator { color: $solid-text-secondary; }
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                        }
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                        
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                            
                                            
                                        
                                        
                                            
                                            
                                            
                                            
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                            
                                            /************
                                        
                                        
                                            
                                            
                                            
                                            
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                            
                                             * Popovers *