mirror of
https://github.com/ragestudio/comty.git
synced 2025-06-09 10:34:17 +00:00
9 lines
248 B
JavaScript
9 lines
248 B
JavaScript
const fs = require('fs')
|
|
const path = require('path')
|
|
const lessToJs = require('less-vars-to-js')
|
|
|
|
module.exports = () => {
|
|
const themePath = path.join(__dirname, `../src/themes/vars.less`)
|
|
return lessToJs(fs.readFileSync(themePath, 'utf8'))
|
|
}
|