Created
April 1, 2019 14:02
-
-
Save AshUK/b79444086615ed56103687a58e7d57d2 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { colors } from '@material-ui/core'; | |
let pallete = []; | |
for (const color in colors) { | |
for (const hue in colors[color]) { | |
pallete.push(`$${color}${hue}: ${colors[color][hue]};`); | |
} | |
} | |
console.log(pallete.join('\n')); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment