diff options
author | bptato <nincsnevem662@gmail.com> | 2022-12-10 22:50:23 +0100 |
---|---|---|
committer | bptato <nincsnevem662@gmail.com> | 2022-12-10 22:50:23 +0100 |
commit | 940325abfc9714b06de920a2a7f8911eae22f357 (patch) | |
tree | 9651d5f1d22e3eaa6b098b6bbed97a583244375d /src/css | |
parent | 5c267ce6c9c1add997767f5eaad248cdd829c6fc (diff) | |
download | chawan-940325abfc9714b06de920a2a7f8911eae22f357.tar.gz |
Fix blocking socketstream recv/send, clean up ips/serialize & types/color
Write always blocks for now, as it's too big of a footgun not to
Diffstat (limited to 'src/css')
-rw-r--r-- | src/css/values.nim | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/css/values.nim b/src/css/values.nim index 66704d36..6d92807a 100644 --- a/src/css/values.nim +++ b/src/css/values.nim @@ -420,9 +420,6 @@ func cssColor(val: CSSComponentValue): RGBAColor = else: discard raise newException(CSSValueError, "Invalid color") -func cellColor*(color: RGBAColor): CellColor = - return CellColor(rgb: true, rgbcolor: RGBColor(color)) - func isToken(d: CSSDeclaration): bool {.inline.} = d.value.len > 0 and d.value[0] of CSSToken func cssLength(d: CSSDeclaration): CSSLength = |