Skip to content

Commit

Permalink
feat: use unplugin-icons
Browse files Browse the repository at this point in the history
  • Loading branch information
velut committed Sep 15, 2023
1 parent 268aa70 commit bcdcf36
Show file tree
Hide file tree
Showing 21 changed files with 195 additions and 261 deletions.
7 changes: 4 additions & 3 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -1,15 +1,16 @@
{
"cSpell.ignoreWords": [
"Bookmarkelts",
"Edoardo",
"Scibona",
"bookmarkelts",
"daisyui",
"edoardo",
"hasha",
"iconify",
"klaw",
"noto",
"pathe",
"scibona",
"tailwindcss",
"unplugin",
"videospeedup"
],
"workbench.colorCustomizations": {
Expand Down
2 changes: 2 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
"bunny:deploy": "tsx scripts/deploy-on-bunny.ts"
},
"devDependencies": {
"@iconify-json/noto": "^1.1.12",
"@sveltejs/adapter-auto": "^2.1.0",
"@sveltejs/adapter-static": "^2.0.3",
"@sveltejs/kit": "^1.25.0",
Expand Down Expand Up @@ -49,6 +50,7 @@
"tslib": "^2.6.2",
"tsx": "^3.12.10",
"typescript": "^5.2.2",
"unplugin-icons": "^0.17.0",
"vite": "^4.4.9"
},
"type": "module"
Expand Down
155 changes: 155 additions & 0 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions src/app.d.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
import 'unplugin-icons/types/svelte';

// See https://kit.svelte.dev/docs/types#app
// for information about these interfaces
declare global {
Expand Down
4 changes: 2 additions & 2 deletions src/lib/components/CustomSpeedControl.svelte
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<script lang="ts">
import ShuffleTracksIcon from '$lib/components/ShuffleTracksIcon.svelte';
import SpeedControl from '$lib/components/SpeedControl.svelte';
import IconShuffleTracks from '~icons/noto/shuffle-tracks-button';
const inputId = 'custom-speed-input';
Expand All @@ -10,7 +10,7 @@
</script>

<h2 class="flex items-center gap-3">
<ShuffleTracksIcon class="h-8 w-8" />
<IconShuffleTracks class="h-8 w-8" />
Custom Speed Control
</h2>

Expand Down
25 changes: 0 additions & 25 deletions src/lib/components/FastForwardIcon.svelte

This file was deleted.

21 changes: 0 additions & 21 deletions src/lib/components/FastReverseIcon.svelte

This file was deleted.

Loading

0 comments on commit bcdcf36

Please sign in to comment.