浏览代码

[+] ColorProfile

Azalea (on HyDEV-Daisy) 3 年之前
父节点
当前提交
2e53009c10
共有 1 个文件被更改,包括 8 次插入0 次删除
  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'