[adwaita-icon-theme] anicursorgen: change default shadow color



commit 625129456b7ac04925d9160df6f9216c4f70dfad
Author: Руслан Ижбулатов <lrn1986 gmail com>
Date:   Thu Mar 3 09:06:57 2016 +0000

    anicursorgen: change default shadow color
    
    0x80808080 was a mistake, it produces good-looking shadow on white
    background, but doesn't work as intended on darker backgrounds.
    Instead of making the shadow gray and 50% opaque,
    make it completely black, but only 25% opaque. This way it still
    looks appropriately-grey on white background, but quickly fades
    to black as the background gets darker. Or, to put it another way,
    it doesn't lighten dark backrounds.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=763034

 src/cursors/anicursorgen.py |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/cursors/anicursorgen.py b/src/cursors/anicursorgen.py
index 7c4c31a..40a7b6f 100755
--- a/src/cursors/anicursorgen.py
+++ b/src/cursors/anicursorgen.py
@@ -55,8 +55,8 @@ def main ():
                        help='Shift shadow down by this percentage of the canvas size (default is 3.125).')
   shadows.add_argument ('-b', '--blur', metavar='%', type=float, default=3.125,
                        help='Blur radius, in percentage of the canvas size (default is 3.125, set to 0 to 
disable blurring).')
-  shadows.add_argument ('-c', '--color', metavar='%', default='0x80808080',
-                       help='Shadow color in 0xRRGGBBAA form (default is 0x80808080).')
+  shadows.add_argument ('-c', '--color', metavar='%', default='0x00000040',
+                       help='Shadow color in 0xRRGGBBAA form (default is 0x00000040).')
 
   parser.add_argument ('input_config', default='-', metavar='input-config [output-file]', nargs='?',
                        help='Input config file (stdin by default).')


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]