mirror of
https://github.com/gotson/komga.git
synced 2026-04-21 06:20:50 +02:00
12 lines
349 B
TypeScript
12 lines
349 B
TypeScript
import { defineConfig, presetIcons } from 'unocss'
|
|
import { aliases } from 'vuetify/iconsets/mdi'
|
|
|
|
// build the safelist from the vuetify icon aliases
|
|
const vuetifyIcons = Object.keys(aliases).map(
|
|
(key) => `i-mdi:${aliases[key]!.toString().substring(4)}`,
|
|
)
|
|
|
|
export default defineConfig({
|
|
presets: [presetIcons()],
|
|
safelist: vuetifyIcons,
|
|
})
|