Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- styles = {
- fontSize: {
- use: true,
- values: {
- sm: .875rem,
- base: 1rem,
- lg: 1.125rem,
- }
- },
- fontWeight: {
- use: false,
- values: {
- light: 300,
- normal: 400,
- bold: 700,
- }
- }
- }
- for style in styles
- items = styles[style]
- for item in items
- {item}
- for property, value in items[item]
- {property} value
Add Comment
Please, Sign In to add comment