[M] Move literal types to types.py

This commit is contained in:
Hykilpikonna 2022-12-10 21:00:10 -05:00
parent 4d073df750
commit f786dce40e
No known key found for this signature in database
GPG key ID: 256CD01A41D7FA26
6 changed files with 22 additions and 21 deletions

7
hyfetch/types.py Normal file
View file

@ -0,0 +1,7 @@
from typing_extensions import Literal
AnsiMode = Literal['default', 'ansi', '8bit', 'rgb']
LightDark = Literal['light', 'dark']
BackendLiteral = Literal["neofetch", "fastfetch"]
ColorAlignMode = Literal['horizontal', 'vertical', 'custom']
ColorSpacing = Literal['equal', 'weighted']