You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
This repo is archived. You can view files and clone it, but cannot push or open issues/pull-requests.
|
|
|
import { defineConfig, presetAttributify, presetIcons, presetTypography, presetUno } from 'unocss'
|
|
|
|
import { getIcons } from './src/components/Icon/src/icons'
|
|
|
|
|
|
|
|
export default defineConfig({
|
|
|
|
presets: [
|
|
|
|
presetUno(),
|
|
|
|
presetTypography(),
|
|
|
|
presetIcons({
|
|
|
|
extraProperties: {
|
|
|
|
'font-size': '16px',
|
|
|
|
'display': 'inline-block',
|
|
|
|
'vertical-align': 'middle',
|
|
|
|
},
|
|
|
|
}),
|
|
|
|
presetAttributify(),
|
|
|
|
],
|
|
|
|
theme: {
|
|
|
|
colors: {
|
|
|
|
primary: '#0960bd',
|
|
|
|
},
|
|
|
|
},
|
|
|
|
safelist: [
|
|
|
|
...getIcons(),
|
|
|
|
],
|
|
|
|
})
|