Skip to content

Commit

Permalink
fix: add default to all colors
Browse files Browse the repository at this point in the history
  • Loading branch information
feerglas committed Jul 29, 2021
1 parent 1cb9782 commit c60f60b
Show file tree
Hide file tree
Showing 2 changed files with 51 additions and 16 deletions.
65 changes: 50 additions & 15 deletions designTokens/color.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,49 +24,84 @@ module.exports = {
}
},
midnight: {
value: 'rgba(21,21,21,1)'
default: {
value: 'rgba(21,21,21,1)'
}
},
charcoal: {
value: 'rgba(33,33,33,1)'
default: {
value: 'rgba(33,33,33,1)'
}
},
iron: {
value: 'rgba(68,68,68,1)'
default: {
value: 'rgba(68,68,68,1)'
}
},
anthracite: {
value: 'rgba(90,90,90,1)'
default: {
value: 'rgba(90,90,90,1)'
}
},
granite: {
value: 'rgba(104,104,104,1)'
default: {
value: 'rgba(104,104,104,1)'
}
},
metal: {
value: 'rgba(118,118,118,1)'
default: {
value: 'rgba(118,118,118,1)'
}
},
smoke: {
value: 'rgba(141,141,141,1)'
default: {
value: 'rgba(141,141,141,1)'
},
alpha: {
5: {
value: 'value: rgba(141,141,141,.05)'
}
}
},
storm: {
value: 'rgba(168,168,168,1)'
default: {
value: 'rgba(168,168,168,1)'
}
},
graphite: {
value: 'rgba(183,183,183,1)'
default: {
value: 'rgba(183,183,183,1)'
}
},
cement: {
value: 'rgba(189,189,189,1)'
default: {
value: 'rgba(189,189,189,1)'
}
},
platinum: {
value: 'rgba(205,205,205,1)'
default: {
value: 'rgba(205,205,205,1)'
}
},
aluminium: {
value: 'rgba(210,210,210,1)'
default: {
value: 'rgba(210,210,210,1)'
}
},
silver: {
value: 'rgba(220,220,220,1)'
default: {
value: 'rgba(220,220,220,1)'
}
},
cloud: {
value: 'rgba(229,229,229,1)'
default: {
value: 'rgba(229,229,229,1)'
}
},
milk: {
value: 'rgba(246,246,246,1)'
default: {
value: 'rgba(246,246,246,1)'
}
},
red: {
default: {
Expand Down
2 changes: 1 addition & 1 deletion designTokens/typo.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
module.exports = {
default: {
fontColor: {
value: '{color.charcoal.value}'
value: '{color.charcoal.default.value}'
},
fontFamily: {
value: '{typo.font.family.sbbRoman.value}'
Expand Down

0 comments on commit c60f60b

Please sign in to comment.