Update to Material Symbols and switch to class names for icons
The switch to class names is for accessibility. Class names are not translated by browser translation plugins and not read by screen readers.
This commit is contained in:
1 parent
672a19f8f6
commit
5788f5a8b4
71 files changed
+403
-266
No files matched your search
@@ -80,9 +80,9 @@ const drop = (e: DragEvent, drop_idx: number) => {
|
||||
<div class="title">Bookmarks</div>
|
||||
<button onclick={toggle_edit} class:button_highlight={editing} class="button flat">
|
||||
{#if editing}
|
||||
<i class="icon">save</i>
|
||||
<i class="icon i_save"></i>
|
||||
{:else}
|
||||
<i class="icon">edit</i>
|
||||
<i class="icon i_edit"></i>
|
||||
{/if}
|
||||
</button>
|
||||
{/snippet}
|
||||
@@ -108,11 +108,11 @@ const drop = (e: DragEvent, drop_idx: number) => {
|
||||
onmousedown={enable_drag}
|
||||
onmouseup={disable_drag}
|
||||
>
|
||||
<i class="icon">drag_indicator</i>
|
||||
<i class="icon i_drag_indicator"></i>
|
||||
</button>
|
||||
<input type="text" bind:value={bookmark.label}/>
|
||||
<button onclick={() => delete_bookmark(bookmark.id)}>
|
||||
<i class="icon">delete</i>
|
||||
<i class="icon i_delete"></i>
|
||||
</button>
|
||||
{:else}
|
||||
<a class="button" href="/d{fs_encode_path(bookmark.path)}" use:highlight_current_page>
|
||||
|
||||
Reference in new issue
Block a user