123456789 |
- const fs = require('fs')
- const path = require('path')
- const lessToJs = require('less-vars-to-js')
- module.exports = () => {
- const themePath = path.join(__dirname, './src/themes/default.less')
- return lessToJs(fs.readFileSync(themePath, 'utf8'))
- }
|