util: Update docs

This commit is contained in:
Dylan Araps 2017-07-02 23:27:29 +10:00 committed by GitHub
parent 14fa95f825
commit 5472eaa972

View File

@ -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",