12 lines
262 B
JavaScript
12 lines
262 B
JavaScript
|
|
const { theme } = require('@jakejarrett/gtk-theme');
|
|
const camelCase = require('camelcase');
|
|
|
|
const colors = {};
|
|
|
|
theme.css.replace(/@define-color\s+([\w_]+?)\s+(.+?);/g, (_, name, value) => {
|
|
colors[camelCase(name)] = value;
|
|
});
|
|
|
|
module.exports = { colors };
|