colorLib: fix type hints of 'extend' param in buildColorLine
colorLib: fix type hints of 'extend' param in buildColorLine

accept either int, str ('pad', 'repeat', 'reflect') or ExtendMode enums

fonttools/fonttools,googlefonts/fonttools