hyper-sunset
Version:
Hyper theme with sunset colors
22 lines (19 loc) • 584 B
JavaScript
const colors = require('sunset-colors')
module.exports.decorateConfig = (config) => {
const themeColors = config.theme === "light" ? colors.light : colors;
return {
...config,
colors: {
...themeColors,
lightBlack: themeColors.black,
ligthRed: themeColors.red,
lightGreen: themeColors.green,
lightYellow: themeColors.yellow,
lightBlue: themeColors.blue,
lightMagenta: themeColors.magenta,
lightCyan: themeColors.cyan,
},
backgroundColor: themeColors.background,
foregroundColor: themeColors.foreground,
};
};