diff options
author | Руслан Ижбулатов <lrn1986@gmail.com> | 2016-03-03 09:06:57 +0000 |
---|---|---|
committer | Jakub Steiner <jimmac@gmail.com> | 2016-03-03 14:09:44 +0100 |
commit | 625129456b7ac04925d9160df6f9216c4f70dfad (patch) | |
tree | 0bdb490c3a566e42bc2034b7bb5f03f14223f3ef | |
parent | e38b68a025eb743a9dd38012fb891667bc80e716 (diff) | |
download | adwaita-icon-theme-625129456b7ac04925d9160df6f9216c4f70dfad.tar.gz |
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
-rwxr-xr-x | 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 7c4c31a26..40a7b6fdc 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).') |