Skip to content

Instantly share code, notes, and snippets.

@santaclauze
Created March 14, 2018 10:39
Show Gist options
  • Save santaclauze/fe7545243e721f3e1f4f932b3764ddd2 to your computer and use it in GitHub Desktop.
Save santaclauze/fe7545243e721f3e1f4f932b3764ddd2 to your computer and use it in GitHub Desktop.
// get grayscale from theme
if (globalConfigurationThemes.filter((key) => key.match('gray-scale'))) {
if (themeToJs.filter((key) => key.match(grayScale))) {
for (const key in themeToJs) {
Object.assign(filteredTheme, { [key]: themeToJs[key] });
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment