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.

change_color.sh: Fix #337

by roundabout, Monday, 24 December 2018, 05:06:53 (1545628013), pushed by roundabout, Sunday, 11 May 2025, 13:22:31 (1746969751)

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

4f222c08826835346d8d160092868e62b444a1a0

change_color.sh

@@ -170,10 +170,11 @@ fi

                                
                                
                                
                            
                                
                                    
                                        
                                            
                                            
                                        
                                        
                                            
                                            
                                            
                                            
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                            
                                            echo "== Converting theme into template..."
                                        
                                        
                                            
                                            
                                            
                                            
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                            
                                            
                                        
                                        
                                            
                                            
                                            
                                            
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                              #-e 's/#FAFAFA/%MATERIA_SURFACE%/g' \
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                            
                                            for FILEPATH in "${PATHLIST[@]}"; do
                                        
                                        
                                            
                                            
                                            
                                            
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                            
                                              if [[ "$MATERIA_COLOR_VARIANT"  != "dark" ]]; then
                                        
                                        
                                            
                                            
                                            
                                            
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                            
                                                find "$FILEPATH" -type f -not -name '_color-palette.scss' -exec sed -i'' \
                                        
                                        
                                            
                                            
                                            
                                            
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                              -e '/color-surface/{n;s/#FFFFFF/%MATERIA_SURFACE%/g}' \
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                              -e '/color-base/{n;s/#FFFFFF/%MATERIA_VIEW%/g}' \
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                            
                                                  -e 's/#000000/%FG%/g' \
                                        
                                        
                                            
                                            
                                            
                                            
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                            
                                                  -e 's/#212121/%FG%/g' \
                                        
                                        
                                            
                                            
                                            
                                            
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                            
                                                  -e 's/#757575/%INACTIVE_FG%/g' \