Skip to content

Commit

Permalink
feat(data): Add and edit tokens for colors.components.menu. Add typog…
Browse files Browse the repository at this point in the history
…raphy token L size for menu.label. (Menu redesign is underway in Figma.)
  • Loading branch information
clairedenning committed Mar 31, 2022
1 parent 7b023ef commit aaaa04d
Showing 1 changed file with 82 additions and 17 deletions.
99 changes: 82 additions & 17 deletions data/tokens.json
Original file line number Diff line number Diff line change
Expand Up @@ -193,59 +193,111 @@
},
"summer": {
"standard": {
"400": {
"value": "$colors.action.minor.200",
"type": "color",
"description": "menu button border"
},
"500": {
"value": "$colors.components.menu.yang.100",
"type": "color"
"type": "color",
"description": "default menu button"
},
"600": {
"value": "$colors.action.major.500",
"type": "color"
"type": "color",
"description": "hover (with click action)"
},
"700": {
"value": "$colors.action.minor.050",
"type": "color"
"value": "$colors.action.minor.100",
"type": "color",
"description": "TO BE REMOVED"
},
"800": {
"value": "$colors.action.minor.100",
"type": "color",
"description": "selected menu button bg (use with 400 border)"
}
},
"parent": {
"500": {
"value": "$colors.components.menu.yang.100",
"type": "color"
"type": "color",
"description": "default menu button"
},
"600": {
"value": "$colors.action.major.500",
"type": "color"
"type": "color",
"description": "hover (with click action)"
},
"700": {
"value": "$colors.action.minor.050",
"type": "color"
"value": "$colors.action.minor.100",
"type": "color",
"description": "open menu item (or hover non-clickable)"
}
},
"child": {
"400": {
"300": {
"value": "$colors.action.minor.250",
"type": "color"
"type": "color",
"description": "menu divider"
},
"400": {
"value": "$colors.action.minor.200",
"type": "color",
"description": "menu button border"
},
"500": {
"value": "$colors.action.minor.100",
"type": "color"
"type": "color",
"description": "default menu button"
},
"600": {
"value": "$colors.action.major.500",
"type": "color"
"type": "color",
"description": "hover (with click action)"
},
"700": {
"value": "$colors.action.minor.100",
"type": "color",
"description": "open menu item"
},
"800": {
"value": "$colors.action.minor.100",
"type": "color",
"description": "selected menu button bg (use with 400 border)"
}
},
"childAlt": {
"400": {
"300": {
"value": "$colors.action.minor.250",
"type": "color"
"type": "color",
"description": "menu divider"
},
"500": {
"400": {
"value": "$colors.action.minor.200",
"type": "color"
"type": "color",
"description": "menu button border"
},
"500": {
"value": "$colors.action.minor.150",
"type": "color",
"description": "default menu button"
},
"600": {
"value": "$colors.action.major.500",
"type": "color"
"type": "color",
"description": "hover (with click action)"
},
"700": {
"value": "$colors.action.minor.150",
"type": "color",
"description": "open menu item"
},
"800": {
"value": "$colors.action.minor.150",
"type": "color",
"description": "selected menu button bg (use with 400 border)"
}
}
},
Expand Down Expand Up @@ -2133,6 +2185,19 @@
"paragraphSpacing": "0px"
},
"type": "typography"
},
"l": {
"value": {
"fontFamily": "$fontFamilies.default",
"fontWeight": "$fontWeights.500",
"lineHeight": "$lineHeights.500",
"fontSize": "$fontSizes.200",
"letterSpacing": "0%",
"paragraphSpacing": "0px",
"textDecoration": "none",
"textCase": "none"
},
"type": "typography"
}
},
"segmentTitle": {
Expand Down

0 comments on commit aaaa04d

Please sign in to comment.