diff --git a/AGENTS.md b/AGENTS.md index b9dc8bdf16..662de79a3d 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -726,6 +726,7 @@ view turns a forgotten variable into a runtime-only failure. ## Icons (@tabler/icons-vue) - This project uses `@tabler/icons-vue` for all icons. NEVER use `lucide-vue-next`. +- Brand logos come from `@thesvg/vue`, one import per logo (`import Canva from '@thesvg/vue/canva'`). A one-color logo that must follow the theme goes through `inTextColor()` (`resources/js/lib/brandLogos.ts`). - All Tabler icons are prefixed with `Icon`, e.g. `IconCheck`, `IconChevronRight`, `IconMail`. - Import icons from `@tabler/icons-vue`: `import { IconCheck, IconX } from '@tabler/icons-vue'`. - Browse available icons at https://tabler.io/icons diff --git a/package-lock.json b/package-lock.json index 8b3f40da9f..0d691da24a 100644 --- a/package-lock.json +++ b/package-lock.json @@ -10,6 +10,7 @@ "@inertiajs/vue3": "^3.8.0", "@tabler/icons-vue": "^3.49.0", "@tailwindcss/typography": "^0.5.19", + "@thesvg/vue": "^3.4.0", "@unovis/ts": "^1.7.0", "@unovis/vue": "^1.7.0", "@vueuse/core": "^12.8.2", @@ -1902,6 +1903,18 @@ "vue": "^2.7.0 || ^3.0.0" } }, + "node_modules/@thesvg/vue": { + "version": "3.4.0", + "resolved": "https://registry.npmjs.org/@thesvg/vue/-/vue-3.4.0.tgz", + "integrity": "sha512-qKf/O0XQp4KIGYaf7rTRf1rYhdV1gN5mafnuVbMGS3P698K+v6o9/t2JKqM3jMcH1WF9mmCaEiBQ7rZWbsDZHw==", + "license": "MIT", + "engines": { + "node": ">=18" + }, + "peerDependencies": { + "vue": ">=3.3" + } + }, "node_modules/@tybys/wasm-util": { "version": "0.10.2", "resolved": "https://registry.npmjs.org/@tybys/wasm-util/-/wasm-util-0.10.2.tgz", diff --git a/package.json b/package.json index 99c3e31806..4e1e30edcc 100644 --- a/package.json +++ b/package.json @@ -42,6 +42,7 @@ "@inertiajs/vue3": "^3.8.0", "@tabler/icons-vue": "^3.49.0", "@tailwindcss/typography": "^0.5.19", + "@thesvg/vue": "^3.4.0", "@unovis/ts": "^1.7.0", "@unovis/vue": "^1.7.0", "@vueuse/core": "^12.8.2", diff --git a/resources/js/components/posts/composer/MediaSourceMenu.vue b/resources/js/components/posts/composer/MediaSourceMenu.vue index a5819f1d06..b3387adf0e 100644 --- a/resources/js/components/posts/composer/MediaSourceMenu.vue +++ b/resources/js/components/posts/composer/MediaSourceMenu.vue @@ -1,13 +1,10 @@