@@ -36,6 +36,7 @@ ColorType = Literal[
"gold",
"bronze",
"gray",
+ "accent",
]
ShadeType = Literal[1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12]
@@ -172,6 +172,7 @@ class BaseSubclass(Base):
),
(Color(color="slate", shade=1), "var(--slate-1)"),
(Color(color="orange", shade=1, alpha=True), "var(--orange-a1)"),
+ (Color(color="accent", shade=1, alpha=True), "var(--accent-a1)"),
],
)
def test_serialize(value: Any, expected: str):