diff --git a/web/packages/design/src/Box/Box.jsx b/web/packages/design/src/Box/Box.jsx index 2645d3b568236..41f065dbf3468 100644 --- a/web/packages/design/src/Box/Box.jsx +++ b/web/packages/design/src/Box/Box.jsx @@ -25,6 +25,7 @@ import { borderColor, flex, height, + lineHeight, maxWidth, minHeight, maxHeight, @@ -43,6 +44,7 @@ const Box = styled.div` ${minWidth} ${space} ${height} + ${lineHeight} ${minHeight} ${maxHeight} ${width} diff --git a/web/packages/design/src/Button/Button.jsx b/web/packages/design/src/Button/Button.jsx index 2d62d3e37c67f..39429cabff16a 100644 --- a/web/packages/design/src/Button/Button.jsx +++ b/web/packages/design/src/Button/Button.jsx @@ -131,6 +131,21 @@ export const kinds = props => { background: theme.colors.buttons.warning.active, }, }; + case 'warning-border': + return { + color: theme.colors.buttons.warning.default, + background: theme.colors.buttons.border.default, + border: '1px solid ' + theme.colors.buttons.warning.default, + '&:hover, &:focus': { + background: theme.colors.buttons.warning.hover, + color: theme.colors.buttons.warning.text, + }, + '&:active': { + background: theme.colors.buttons.warning.active, + color: theme.colors.buttons.warning.text, + }, + }; + case 'text': return { color: theme.colors.buttons.text, @@ -238,4 +253,7 @@ export const ButtonPrimary = props =>