mirror of
https://github.com/dylanaraps/pywal.git
synced 2024-12-01 12:24:36 +01:00
util: Update docs
This commit is contained in:
parent
14fa95f825
commit
5472eaa972
@ -8,7 +8,7 @@ import subprocess
|
|||||||
|
|
||||||
|
|
||||||
# pylint: disable=too-few-public-methods
|
# pylint: disable=too-few-public-methods
|
||||||
class Color(object):
|
class Color:
|
||||||
"""Color formats."""
|
"""Color formats."""
|
||||||
def __init__(self, hex_color):
|
def __init__(self, hex_color):
|
||||||
self.hex_color = hex_color
|
self.hex_color = hex_color
|
||||||
@ -23,7 +23,8 @@ class Color(object):
|
|||||||
|
|
||||||
|
|
||||||
def set_grey(colors):
|
def set_grey(colors):
|
||||||
"""Set a grey color based on brightness of color0."""
|
"""Set a grey color based on the brightness
|
||||||
|
of another color."""
|
||||||
return {
|
return {
|
||||||
"0": "#666666",
|
"0": "#666666",
|
||||||
"1": "#666666",
|
"1": "#666666",
|
||||||
|
Loading…
Reference in New Issue
Block a user