Skip to content

feat: use svg sprite for icons #480

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 30 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 7 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
"db:seed": "NODE_ENV='test' tsx prisma/seeds/index.ts",
"dev": "next dev",
"build": "next build",
"build:icons": "tsx scripts/build-icons.ts",
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

command to rebuild the sprite sheet when new icons are added to the list

"start": "next start",
"postinstall": "prisma generate",
"prepare": "husky",
Expand Down Expand Up @@ -59,7 +60,6 @@
"@radix-ui/react-tooltip": "^1.1.2",
"@react-email/components": "0.0.22",
"@react-pdf/renderer": "^3.4.4",
"@remixicon/react": "^4.0.1",
"@scalar/nextjs-api-reference": "^0.4.18",
"@sentry/nextjs": "^8.19.0",
"@simplewebauthn/browser": "^10.0.0",
Expand Down Expand Up @@ -129,6 +129,7 @@
"@simplewebauthn/types": "^10.0.0",
"@tailwindcss/typography": "^0.5.12",
"@types/cookie": "^0.6.0",
"@types/fs-extra": "^11.0.4",
"@types/inquirer": "^9.0.7",
"@types/lodash-es": "^4.17.12",
"@types/node": "^20.12.12",
Expand All @@ -138,12 +139,17 @@
"@types/ua-parser-js": "^0.7.39",
"autoprefixer": "^10.4.19",
"colors": "^1.4.0",
"execa": "^9.3.0",
"fast-glob": "^3.3.2",
"fs-extra": "^11.2.0",
"husky": "^9.1.3",
"inquirer": "^9.2.22",
"knip": "^5.17.2",
"lint-staged": "^15.2.2",
"node-html-parser": "^6.1.13",
"postcss": "^8.4.40",
"prisma": "^5.13.0",
"remixicon": "^4.3.0",
"tailwindcss": "^3.4.3",
"tsx": "^4.7.0",
"typescript": "^5.4.5",
Expand Down
Loading