UNPKG

winbox-ui-next

Version:

We Design Vue 2.0: A Vue.js 3 UI Library

13 lines (11 loc) 345 B
/* eslint-disable @typescript-eslint/no-var-requires */ const { generate, } = require('@arco-design/arco-vue-scripts/src/plugins/winbox-color'); module.exports = { install(_, __, functions) { functions.add('color-palette-dark', (color, index) => { return generate(color.value, { index: index.value, dark: true }); }); }, };