1
0
forked from ScoDoc/ScoDoc

Modif css ue color var name

This commit is contained in:
Emmanuel Viennet 2022-02-13 22:03:46 +01:00
parent e7a97919b4
commit b28d22b3ed

View File

@ -374,7 +374,7 @@ def ue_colors_css(formation_id: int, semestre_idx: int):
":root{\n"
+ "\n".join(
[
f"--color-UE{semestre_idx}.{ue_idx+1}: {ue.color};"
f"--color-UE{semestre_idx}-{ue_idx+1}: {ue.color};"
for ue_idx, ue in enumerate(ues)
if ue.color
]