aboutsummaryrefslogtreecommitdiff
path: root/thcolor/__init__.py
blob: 22c8a7e8ee6b4a45023411905a3c71544718d09a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#!/usr/bin/env python3
#******************************************************************************
# Copyright (C) 2018 Thomas "Cakeisalie5" Touhey <thomas@touhey.fr>
# This file is part of the thcolor project, which is MIT-licensed.
#******************************************************************************
""" HTML/CSS-like color parsing, mainly for the `[color]` tag.
	Defines the `get_color()` function which returns an rgba value.

	The functions in this module do not aim at being totally compliant with
	the W3C standards, although it is inspired from it.
"""

from ._color import Color
from ._ref import Reference
from ._angle import Angle

from ._exc import ColorExpressionDecodingError

__all__ = ["version", "Color", "Reference", "Angle",
	"ColorExpressionDecodingError"]

version = "0.3.1"

# End of file.