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.

GTK2: Update text opacity based on material design guidelines

by roundabout, Saturday, 3 June 2017, 06:12:54 (1496470374), pushed by roundabout, Sunday, 11 May 2025, 13:22:10 (1746969730)

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

b5fb550f1c09ae51bc184714610190afa7ab80d6

src/gtk-2.0/gtkrc

@@ -12,9 +12,9 @@

                                
                                
                                
                            
                                
                                    
                                        
                                            
                                            # order to not mess up the dark theme.
                                        
                                        
                                            
                                            
                                            
                                            
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                            
                                            
                                        
                                        
                                            
                                            
                                            
                                            
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                            
                                            # Text/base
                                        
                                        
                                            
                                            
                                            
                                            
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                        gtk-color-scheme = "text_color:#333333\nbase_color:#FFFFFF"
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                        gtk-color-scheme = "text_color:#212121\nbase_color:#FFFFFF"
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                            
                                            # Foreground/background
                                        
                                        
                                            
                                            
                                            
                                            
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                        gtk-color-scheme = "fg_color:#333333\nbg_color:#F5F5F5"
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                        gtk-color-scheme = "fg_color:#212121\nbg_color:#F5F5F5"
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                            
                                            # Selected foreground/background
                                        
                                        
                                            
                                            
                                            
                                            
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                            
                                            gtk-color-scheme = "selected_fg_color:#FFFFFF\nselected_bg_color:#42A5F5"
                                        
                                        
                                            
                                            
                                            
                                            
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                            
                                            # Titlebar foreground/background
                                        
                                        
                                            
                                            
                                            
                                            
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                        
                                            
                                            
                                            
                                            
                                        
                                    
                                
                                
                                
                            
                            
                                

src/gtk-2.0/gtkrc-light

@@ -12,13 +12,13 @@

                                
                                
                                
                            
                                
                                    
                                        
                                            
                                            # order to not mess up the dark theme.
                                        
                                        
                                            
                                            
                                            
                                            
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                            
                                            
                                        
                                        
                                            
                                            
                                            
                                            
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                            
                                            # Text/base
                                        
                                        
                                            
                                            
                                            
                                            
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                        gtk-color-scheme = "text_color:#333333\nbase_color:#FFFFFF"
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                        gtk-color-scheme = "text_color:#212121\nbase_color:#FFFFFF"
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                            
                                            # Foreground/background
                                        
                                        
                                            
                                            
                                            
                                            
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                        gtk-color-scheme = "fg_color:#333333\nbg_color:#F5F5F5"
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                        gtk-color-scheme = "fg_color:#212121\nbg_color:#F5F5F5"
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                            
                                            # Selected foreground/background
                                        
                                        
                                            
                                            
                                            
                                            
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                            
                                            gtk-color-scheme = "selected_fg_color:#FFFFFF\nselected_bg_color:#42A5F5"
                                        
                                        
                                            
                                            
                                            
                                            
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                            
                                            # Titlebar foreground/background
                                        
                                        
                                            
                                            
                                            
                                            
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                        gtk-color-scheme = "titlebar_fg_color:#333333\ntitlebar_bg_color:#E0E0E0"
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                        gtk-color-scheme = "titlebar_fg_color:#212121\ntitlebar_bg_color:#E0E0E0"
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                            
                                            # Links
                                        
                                        
                                            
                                            
                                            
                                            
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                            
                                            gtk-color-scheme = "link_color:#42A5F5\nvisited_link_color:#E040FB"
                                        
                                        
                                            
                                            
                                            
                                            
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                            
                                            
                                        
                                        
                                            
                                            
                                            
                                            
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                        
                                            
                                            
                                            
                                            
                                        
                                    
                                
                                
                                
                            
                            
                                

src/gtk-2.0/main.rc

@@ -1653,7 +1653,7 @@ style "default" {

                                
                                
                                
                            
                                
                                    
                                        
                                            
                                            
                                        
                                        
                                            
                                            
                                            
                                            
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                            
                                            style "menubar" {
                                        
                                        
                                            
                                            
                                            
                                            
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                            
                                              bg[NORMAL]      = @titlebar_bg_color
                                        
                                        
                                            
                                            
                                            
                                            
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                          fg[NORMAL]      = mix(0.75, @titlebar_fg_color, @titlebar_bg_color)
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                          fg[NORMAL]      = mix(0.7, @titlebar_fg_color, @titlebar_bg_color)
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                            
                                              fg[PRELIGHT]    = @titlebar_fg_color
                                        
                                        
                                            
                                            
                                            
                                            
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                            
                                              fg[INSENSITIVE] = mix(0.3, @titlebar_fg_color, @titlebar_bg_color)
                                        
                                        
                                            
                                            
                                            
                                            
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                            
                                              # Needed to fix Firefox's menubar text
                                        
                                        
                                            
                                            
                                            
                                            
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        

@@ -1665,7 +1665,7 @@ style "menubar_item" {

                                
                                
                                
                            
                                
                                    
                                        
                                            
                                              xthickness = 3
                                        
                                        
                                            
                                            
                                            
                                            
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                            
                                              ythickness = 4
                                        
                                        
                                            
                                            
                                            
                                            
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                            
                                            
                                        
                                        
                                            
                                            
                                            
                                            
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                          fg[NORMAL]      = mix(0.75, @titlebar_fg_color, @titlebar_bg_color)
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                          fg[NORMAL]      = mix(0.7, @titlebar_fg_color, @titlebar_bg_color)
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                            
                                              bg[PRELIGHT]    = mix(0.15, @titlebar_fg_color, @titlebar_bg_color)
                                        
                                        
                                            
                                            
                                            
                                            
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                            
                                              fg[PRELIGHT]    = @titlebar_fg_color
                                        
                                        
                                            
                                            
                                            
                                            
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                            
                                              fg[INSENSITIVE] = mix(0.3, @titlebar_fg_color, @titlebar_bg_color)