♻️ Move colors to css variables
This commit is contained in:
@ -29,8 +29,8 @@ export function getSubstitutionColor(substitution) {
|
||||
if (!substitution) return;
|
||||
switch (substitution.type) {
|
||||
case "change":
|
||||
return "background-color: #14587e;";
|
||||
return "background-color: var(--substitution-background-change);";
|
||||
case "cancellation":
|
||||
return "background-color: #7d2b2d;";
|
||||
return "background-color: var(--substitution-background-cancellation);";
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user