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.

Fix issues in _colors.scss.template (#375)

Fix #374

by roundabout, Friday, 26 April 2019, 10:24:41 (1556274281), pushed by roundabout, Sunday, 11 May 2025, 13:22:37 (1746969757)

Author identity: nana-4 <nana-4@users.noreply.github.com>

0b618f1c9af5757e4d5d43ec42cf13227394370b

src/_sass/_colors.scss.template

@@ -20,6 +20,7 @@

                                
                                
                                
                            
                                
                                    
                                        
                                            
                                                @if ($state == 'disabled') { @return rgba(black, 0.38); }
                                        
                                        
                                            
                                            
                                            
                                            
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                            
                                                @if ($state == 'secondary-disabled') { @return rgba(black, 0.26); }
                                        
                                        
                                            
                                            
                                            
                                            
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                            
                                                @if ($state == 'track') { @return rgba(black, 0.26); }
                                        
                                        
                                            
                                            
                                            
                                            
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                            @if ($state == 'track-disabled') { @return rgba(black, 0.12); }
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                            
                                                @if ($state == 'divider') { @return rgba(black, 0.12); }
                                        
                                        
                                            
                                            
                                            
                                            
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                            
                                                @if ($state == 'fill') { @return rgba(black, 0.04); }
                                        
                                        
                                            
                                            
                                            
                                            
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                            
                                              } @else {
                                        
                                        
                                            
                                            
                                            
                                            
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        

@@ -28,6 +29,7 @@

                                
                                
                                
                            
                                
                                    
                                        
                                            
                                                @if ($state == 'disabled') { @return rgba(white, 0.5); }
                                        
                                        
                                            
                                            
                                            
                                            
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                            
                                                @if ($state == 'secondary-disabled') { @return rgba(white, 0.3); }
                                        
                                        
                                            
                                            
                                            
                                            
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                            
                                                @if ($state == 'track') { @return rgba(white, 0.3); }
                                        
                                        
                                            
                                            
                                            
                                            
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                            @if ($state == 'track-disabled') { @return rgba(white, 0.12); }
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                            
                                                @if ($state == 'divider') { @return rgba(white, 0.12); }
                                        
                                        
                                            
                                            
                                            
                                            
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                            
                                                @if ($state == 'fill') { @return rgba(white, 0.04); }
                                        
                                        
                                            
                                            
                                            
                                            
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                            
                                              }
                                        
                                        
                                            
                                            
                                            
                                            
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        

@@ -48,8 +50,9 @@ $green: %TERMINAL_COLOR10%;

                                
                                
                                
                            
                                
                                    
                                        
                                            
                                            $yellow:                                %TERMINAL_COLOR11%;
                                        
                                        
                                            
                                            
                                            
                                            
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                            
                                            $red:                                   %TERMINAL_COLOR9%;
                                        
                                        
                                            
                                            
                                            
                                            
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                            
                                            
                                        
                                        
                                            
                                            
                                            
                                            
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                        $primary:                               %SEL_BG%;
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                        $primary-alt:                           %SEL_BG2%;
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                        $primary-dark:                          %SEL_BG%;
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                        $primary-light:                         %SEL_BG%;
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                        $primary:                               if($variant == 'light', $primary-dark, $primary-light);
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                            
                                            
                                        
                                        
                                            
                                            
                                            
                                            
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                            
                                            $background:                            %BG%;
                                        
                                        
                                            
                                            
                                            
                                            
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                            
                                            $surface:                               %MATERIA_SURFACE%;
                                        
                                        
                                            
                                            
                                            
                                            
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        

@@ -62,6 +65,7 @@ $scrim: rgba(black, %MATERIA_PANEL_OPACITY%);

                                
                                
                                
                            
                                
                                    
                                        
                                            
                                            $scrim-alt:                             rgba(black, 0.3);
                                        
                                        
                                            
                                            
                                            
                                            
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                            
                                            $scrim-inverse:                         rgba(white, 0.1);
                                        
                                        
                                            
                                            
                                            
                                            
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                            
                                            $titlebar:                              %HDR_BG%;
                                        
                                        
                                            
                                            
                                            
                                            
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                        $titlebar-backdrop:                     %MATERIA_VIEW%;
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                            
                                            $panel:                                 if($topbar == 'dark', %HDR_BG3%, $scrim);
                                        
                                        
                                            
                                            
                                            
                                            
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                            
                                            $panel-solid:                           %HDR_BG3%; // for Unity panel which doesn't allow translucent colors
                                        
                                        
                                            
                                            
                                            
                                            
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                            
                                            
                                        
                                        
                                            
                                            
                                            
                                            
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        

@@ -76,7 +80,7 @@ $warning: %TERMINAL_COLOR11%;

                                
                                
                                
                            
                                
                                    
                                        
                                            
                                            $error:                                 %TERMINAL_COLOR9%;
                                        
                                        
                                            
                                            
                                            
                                            
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                            
                                            $success:                               %TERMINAL_COLOR10%;
                                        
                                        
                                            
                                            
                                            
                                            
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                            
                                            
                                        
                                        
                                            
                                            
                                            
                                            
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                        $suggested:                             $primary;
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                        $suggested:                             $primary-dark;
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                            
                                            $destructive:                           $error;
                                        
                                        
                                            
                                            
                                            
                                            
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                            
                                            
                                        
                                        
                                            
                                            
                                            
                                            
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                            
                                            $infobar-info:                          %TERMINAL_COLOR10%;
                                        
                                        
                                            
                                            
                                            
                                            
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        

@@ -84,7 +88,7 @@ $infobar-question: %TERMINAL_COLOR12%;

                                
                                
                                
                            
                                
                                    
                                        
                                            
                                            $infobar-warning:                       $warning;
                                        
                                        
                                            
                                            
                                            
                                            
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                            
                                            $infobar-error:                         $error;
                                        
                                        
                                            
                                            
                                            
                                            
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                            
                                            
                                        
                                        
                                            
                                            
                                            
                                            
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                        $border:                                if($variant == 'light', rgba(black, 0.12), rgba(black, 0.26));
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                        $frame:                                 if($variant == 'light', rgba(black, 0.12), rgba(black, 0.26));
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                            
                                            $border-alt:                            rgba(black, 0.26); // darker border color for Chrome and Firefox
                                        
                                        
                                            
                                            
                                            
                                            
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                            
                                            $titlebar-indicator:                    if($topbar == 'dark', currentColor, $primary);
                                        
                                        
                                            
                                            
                                            
                                            
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                            
                                            
                                        
                                        
                                            
                                            
                                            
                                            
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        

@@ -108,6 +112,7 @@ $text-secondary: rgba(%FG%, 0.7);

                                
                                
                                
                            
                                
                                    
                                        
                                            
                                            $text-disabled:                         rgba(%FG%, 0.5);
                                        
                                        
                                            
                                            
                                            
                                            
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                            
                                            $text-secondary-disabled:               rgba(%FG%, 0.3);
                                        
                                        
                                            
                                            
                                            
                                            
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                            
                                            $track:                                 rgba(%FG%, 0.3);
                                        
                                        
                                            
                                            
                                            
                                            
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                        $track-disabled:                        rgba(%FG%, 0.12);
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                            
                                            $divider:                               rgba(%FG%, 0.12);
                                        
                                        
                                            
                                            
                                            
                                            
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                            
                                            $fill:                                  rgba(%FG%, 0.04);
                                        
                                        
                                            
                                            
                                            
                                            
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                            
                                            
                                        
                                        
                                            
                                            
                                            
                                            
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        

@@ -116,6 +121,7 @@ $titlebar-text-secondary: rgba(%HDR_FG%, 0.7);

                                
                                
                                
                            
                                
                                    
                                        
                                            
                                            $titlebar-text-disabled:                rgba(%HDR_FG%, 0.5);
                                        
                                        
                                            
                                            
                                            
                                            
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                            
                                            $titlebar-text-secondary-disabled:      rgba(%HDR_FG%, 0.3);
                                        
                                        
                                            
                                            
                                            
                                            
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                            
                                            $titlebar-track:                        rgba(%HDR_FG%, 0.3);
                                        
                                        
                                            
                                            
                                            
                                            
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                        $titlebar-track-disabled:               rgba(%HDR_FG%, 0.12);
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                            
                                            $titlebar-divider:                      rgba(%HDR_FG%, 0.12);
                                        
                                        
                                            
                                            
                                            
                                            
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                            
                                            $titlebar-fill:                         rgba(%HDR_FG%, 0.04);