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/firefox: Fix broken bottom border color in toolbar on wayland

Something like this should really be fixed upstream... but let's add a workaround.

Fixes https://github.com/nana-4/materia-theme/issues/467

by roundabout, Sunday, 15 March 2020, 03:34:03 (1584243243), pushed by roundabout, Sunday, 11 May 2025, 13:22:50 (1746969770)

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

789dc4be66e58e12c8eba126df81dc15965e2ea6

src/_sass/gtk/apps/_misc.scss

@@ -134,7 +134,13 @@ tooltip.background.chromium { background-color: rgba($tooltip, 1); }

                                
                                
                                
                            
                                
                                    
                                        
                                            
                                                // > scrollbar { background-clip: border-box; }
                                        
                                        
                                            
                                            
                                            
                                            
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                            
                                            
                                        
                                        
                                            
                                            
                                            
                                            
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                            
                                                // Emphasize toolbar's border-bottom
                                        
                                        
                                            
                                            
                                            
                                            
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                            > frame > border { border-color: $stroke; }
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                            > frame > border {
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                              // FIXME: On Wayland, translucent colors don't work well here.
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                              // See: https://github.com/nana-4/materia-theme/issues/467
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                        
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                              // border-color: $stroke;
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                              border-color: opacify($stroke, $background);
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                            }
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                            
                                            
                                        
                                        
                                            
                                            
                                            
                                            
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                            
                                                > entry,
                                        
                                        
                                            
                                            
                                            
                                            
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                            
                                                > button > button {