diff options
author | Eevee (Alex Munroe) <eevee.git@veekun.com> | 2013-08-28 18:42:59 -0700 |
---|---|---|
committer | Eevee (Alex Munroe) <eevee.git@veekun.com> | 2013-08-28 18:42:59 -0700 |
commit | 238753c47c08e75f425d39a917d7a480d48678a2 (patch) | |
tree | c7d65dd3d13d4fc8c2f8896e8078ebe08cd35d20 | |
parent | e2d4780f17c74652948030124c42e2c012f2c515 (diff) | |
download | pyscss-238753c47c08e75f425d39a917d7a480d48678a2.tar.gz |
Alpha is relative to 1, not 100.
-rw-r--r-- | scss/functions/core.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scss/functions/core.py b/scss/functions/core.py index de638b5..61e86bf 100644 --- a/scss/functions/core.py +++ b/scss/functions/core.py @@ -60,7 +60,7 @@ def rgba2(color, a=None): if a is None: alpha = 1 else: - alpha = _interpret_percentage(a, relto=100) + alpha = _interpret_percentage(a) return Color.from_rgb(*color.rgba[:3], alpha=alpha) |