ui: Improve CardTheme colors
This commit is contained in:
parent
a812a6a5c6
commit
f5941dcece
2 changed files with 9 additions and 4 deletions
|
|
@ -51,7 +51,7 @@
|
|||
{#each Object.keys($themes) as th, index}
|
||||
<Col class="mb-3">
|
||||
<CardTheme
|
||||
class="{$my && $my.team_id && $myThemes[$themes[th].id].exercice_solved > 0?'border-success ':''}{$themes[th].exercice_coeff_max > 1?'border-warning ':''}"
|
||||
class="{$my && $my.team_id && $myThemes[$themes[th].id].exercice_solved > 0?'border-light ':''}{$themes[th].exercice_coeff_max > 1?'border-success ':''}"
|
||||
theme={$themes[th]}
|
||||
on:click={goto(`${$themes[th].urlid}`)}
|
||||
/>
|
||||
|
|
|
|||
Reference in a new issue