fix(vitalsharing): match sidebar colors for HP/STA/MANA bars
Previously the NetworkUI window used #c44/#4c4/#46c which rendered stamina as green. Updated to the gradients used in .vital-fill.* in style.css (#ff4444, #ffaa00, #4488ff) so the network UI matches the player sidebar. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
parent
1973aa1547
commit
2b521d1df5
1 changed files with 3 additions and 3 deletions
|
|
@ -4554,9 +4554,9 @@ function renderVitalSharingWindow() {
|
|||
<span style="width:70px;text-align:right;font-size:0.7rem;color:#aaa;">${cur ?? 0}/${max ?? 0}</span>
|
||||
</div>`;
|
||||
vitalsHtml =
|
||||
bar('HP', v.current_health, v.max_health, '#c44') +
|
||||
bar('STA', v.current_stamina, v.max_stamina, '#4c4') +
|
||||
bar('MANA', v.current_mana, v.max_mana, '#46c');
|
||||
bar('HP', v.current_health, v.max_health, 'linear-gradient(90deg, #ff4444, #ff6666)') +
|
||||
bar('STA', v.current_stamina, v.max_stamina, 'linear-gradient(90deg, #ffaa00, #ffcc44)') +
|
||||
bar('MANA', v.current_mana, v.max_mana, 'linear-gradient(90deg, #4488ff, #66aaff)');
|
||||
}
|
||||
|
||||
let posHtml = '';
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue