Skip to content
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

Iconify Custom Icons #1010

Closed
RKAN opened this issue Nov 22, 2023 · 1 comment · Fixed by #1013
Closed

Iconify Custom Icons #1010

RKAN opened this issue Nov 22, 2023 · 1 comment · Fixed by #1013
Labels
enhancement New feature or request

Comments

@RKAN
Copy link

RKAN commented Nov 22, 2023

Hello,

i want to know if i can use custom icons with nuxt/ui. Im already using "egoist/tailwindcss-icons" in other projects and i have a custom generated jsons for the icons. How i can tell nuxt ui too use this icons?

In my other Project where i use "egoist/tailwindcss-icons'" directy im just setting this values in the tailwind config:

import { getIconCollections, iconsPlugin } from '@egoist/tailwindcss-icons';
import fontAwesomeProRegular from './icons/fa-pro-regular.json';
...
    plugins: [
        iconsPlugin({
            collections: {
                'fa-pro-regular': fontAwesomeProRegular,
                ...getIconCollections(['mdi'])
            }
        })
    ]

Thanks.

@RKAN RKAN added the question Further information is requested label Nov 22, 2023
@benjamincanac benjamincanac added enhancement New feature or request and removed question Further information is requested labels Nov 22, 2023 — with Volta.net
Copy link
Member

I'll make changes so you can override the options of the iconsPlugin. Also related to #1002.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants