feat: add item icons to data schema and update picker UI to display them
This commit is contained in:
parent
e2625219e2
commit
a335b51932
2 changed files with 4 additions and 2 deletions
|
|
@ -135,11 +135,12 @@ export function patchIkonisSheet() {
|
|||
</div>
|
||||
<div class="picker-list" style="flex: 1; overflow-y: auto; display: flex; flex-direction: column; gap: 0.75rem;">
|
||||
${available.map(a => `
|
||||
<div class="picker-item" data-id="${a.id}" style="border: 2px solid #2d3436; background: #1a1a2e; padding: 1rem; border-radius: 8px; cursor: pointer;">
|
||||
<div class="picker-item" data-id="${a.id}" style="border: 2px solid #2d3436; background: #1a1a2e; padding: 1rem; border-radius: 8px; cursor: pointer; display: flex; align-items: center; gap: 1rem;">
|
||||
<img src="${a.img}" style="width: 40px; height: 40px; border: none; filter: drop-shadow(0 0 5px rgba(255,255,255,0.1));">
|
||||
<div class="augment-info">
|
||||
<strong class="aug-name" style="display: block; font-size: 1.1rem; color: #ffffff;">${a.name}</strong>
|
||||
<span style="display: block; margin: 2px 0; font-size: 0.9rem; color: #d1d8e0;">${a.effect}</span>
|
||||
<small style="display: block; color: #888; font-style: italic;">Cost: ${a.cost}</small>
|
||||
<small style="display: block; color: #888; font-style: italic;">${a.cost}</small>
|
||||
</div>
|
||||
</div>
|
||||
`).join('')}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue