Selaa lähdekoodia

[+] ColorProfile

Azalea (on HyDEV-Daisy) 3 vuotta sitten
vanhempi
commit
2e53009c10
1 muutettua tiedostoa jossa 8 lisäystä ja 0 poistoa
  1. 8 0
      hyfetch/presets.py

+ 8 - 0
hyfetch/presets.py

@@ -0,0 +1,8 @@
+from dataclasses import dataclass
+from typing import Literal
+
+
+@dataclass
+class ColorProfile:
+    colors: list[str]
+    spacing: Literal['equal', 'weighted'] = 'equal'