0.1.0 • Published 1 year ago
icon-collection-mocha v0.1.0
icon-collection-mocha
This package contains icon data for mocha icon set.
Install
npm i icon-collection-mocha -Dyarn add icon-collection-mocha -Dpnpm add icon-collection-mocha -DUsage
Icon data can be parsed with various tools, see Iconify documentation.
UnoCSS
import { defineConfig, presetIcons, presetUno } from 'unocss'
export default defineConfig({
presets: [
presetUno(),
presetIcons({
collections: {
mocha: () => import('icon-collection-mocha/icons.json').then(i => i.default),
},
}),
],
})Files
- Icon data is stored in
icons.jsoninIconifyJSONformat. See IconifyJSON documentation. - Icon set information is stored in
info.jsoninIconifyInfoformat. See IconifyInfo documentation.