mirror of
https://github.com/imarkoff/Marble-shell-theme.git
synced 2025-11-23 05:56:05 -08:00
Added opaque tweak (Closes #35)
This commit is contained in:
9
tweaks/opaque/tweak.py
Executable file
9
tweaks/opaque/tweak.py
Executable file
@@ -0,0 +1,9 @@
|
||||
def define_arguments(parser):
|
||||
color_args = parser.add_argument_group('Color tweaks')
|
||||
color_args.add_argument('-O', '--opaque', action='store_true', help='make the background in menus/popovers opaque')
|
||||
|
||||
|
||||
def apply_tweak(args, theme, colors):
|
||||
if args.opaque:
|
||||
colors["elements"]["BACKGROUND-COLOR"]["light"]["a"] = 1
|
||||
colors["elements"]["BACKGROUND-COLOR"]["dark"]["a"] = 1
|
||||
Reference in New Issue
Block a user