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
@@ -94,7 +94,7 @@ const submit = async (e: SubmitEvent) => {
|
||||
{/if}
|
||||
{#if form.editing}
|
||||
<button onclick={() => { form.editing = ""; form.step = 1 }}>
|
||||
<i class="icon">close</i> Stop editing
|
||||
<i class="icon i_close"></i> Stop editing
|
||||
</button>
|
||||
{/if}
|
||||
</div>
|
||||
@@ -125,7 +125,7 @@ const submit = async (e: SubmitEvent) => {
|
||||
<hr/>
|
||||
<label for="transfer_dir">Local directory</label>
|
||||
<button id="transfer_dir" type="button" onclick={() => picker.open("/me")}>
|
||||
<i class="icon">folder</i>
|
||||
<i class="icon i_folder"></i>
|
||||
{form.dir ? form.dir.path : "Choose a directory"}
|
||||
</button>
|
||||
|
||||
@@ -137,7 +137,7 @@ const submit = async (e: SubmitEvent) => {
|
||||
</select>
|
||||
|
||||
<button class="button_highlight" type="submit" disabled={!form.dir}>
|
||||
Next <i class="icon">arrow_forward</i>
|
||||
Next <i class="icon i_arrow_forward"></i>
|
||||
</button>
|
||||
</form>
|
||||
{:else}
|
||||
@@ -191,9 +191,9 @@ const submit = async (e: SubmitEvent) => {
|
||||
|
||||
<button class="button_highlight" type="submit">
|
||||
{#if form.editing}
|
||||
<i class="icon">save</i> Save
|
||||
<i class="icon i_save"></i> Save
|
||||
{:else}
|
||||
<i class="icon">sync_alt</i> Start transfer
|
||||
<i class="icon i_sync_alt"></i> Start transfer
|
||||
{/if}
|
||||
</button>
|
||||
</form>
|
||||
|
||||
Reference in new issue
Block a user