Skip to content

Instantly share code, notes, and snippets.

@santaclauze
Created March 14, 2018 10:38
Show Gist options
  • Save santaclauze/c23d526abc1bde7233505f03f9c05bc2 to your computer and use it in GitHub Desktop.
Save santaclauze/c23d526abc1bde7233505f03f9c05bc2 to your computer and use it in GitHub Desktop.
// get colors from theme
if (globalConfigurationThemes.filter((key) => key.match('colors'))) {
for (let i = 0; bsColors.length > i; i++) {
for (const key in themeToJs) {
if (key === '$' + bsColors[i]) {
Object.assign(filteredTheme, {[key]: themeToJs[key]});
}
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment