diff options
author | bptato <nincsnevem662@gmail.com> | 2022-01-24 17:22:50 +0100 |
---|---|---|
committer | bptato <nincsnevem662@gmail.com> | 2022-01-24 17:22:50 +0100 |
commit | cd8ca0faa258a3387f9875c7a6f534743b45f817 (patch) | |
tree | dce2d7a45969664cae90f96f32e33d6e8011a07f /src/css/values.nim | |
parent | 7cb534fd1fb2cbd0a338ba22457e18ba8cb57f78 (diff) | |
download | chawan-cd8ca0faa258a3387f9875c7a6f534743b45f817.tar.gz |
Refactor
Diffstat (limited to 'src/css/values.nim')
-rw-r--r-- | src/css/values.nim | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/css/values.nim b/src/css/values.nim index e4f6e944..87ac9e2d 100644 --- a/src/css/values.nim +++ b/src/css/values.nim @@ -81,7 +81,7 @@ type CSSSpecifiedValue* = ref object t*: CSSPropertyType - case v*: CSSValueType + case v: CSSValueType of VALUE_COLOR: color*: CSSColor of VALUE_LENGTH: @@ -106,8 +106,6 @@ type CSSSpecifiedValues* = ref array[CSSPropertyType, CSSSpecifiedValue] - CSSValues* = array[PseudoElem, CSSSpecifiedValues] - CSSValueError* = object of ValueError const PropertyNames = { |