mirror of
https://github.com/ragestudio/comty.git
synced 2025-06-09 18:44:16 +00:00
9 lines
251 B
JavaScript
9 lines
251 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/default.less')
|
|
return lessToJs(fs.readFileSync(themePath, 'utf8'))
|
|
}
|