[M] Move literal types to types.py
This commit is contained in:
parent
4d073df750
commit
f786dce40e
6 changed files with 22 additions and 21 deletions
7
hyfetch/types.py
Normal file
7
hyfetch/types.py
Normal 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']
|
||||
Loading…
Add table
Add a link
Reference in a new issue