Skip to content

Commit

Permalink
feat: add stroke on Tooltip
Browse files Browse the repository at this point in the history
  • Loading branch information
theo-mesnil committed Sep 13, 2023
1 parent 6e666ac commit 3f25cc5
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/Core/src/theme/tooltips.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { CSSObject } from '@xstyled/styled-components'
import { WuiTheme } from './types'

export const getTooltips = (theme: WuiTheme): CSSObject => {
const { colors, fontSizes, lineHeights, radii, space, toRem } = theme
const { borderWidths, colors, fontSizes, lineHeights, radii, space, toRem } = theme

return {
maxWidth: toRem(200),
Expand All @@ -12,6 +12,7 @@ export const getTooltips = (theme: WuiTheme): CSSObject => {
padding: `${space.xs} ${space.sm}`,
fontSize: fontSizes.xs,
lineHeight: lineHeights.xs,
outline: `solid ${borderWidths.sm} ${colors['dark-700']}`,
borderRadius: radii.sm,
boxSizing: 'content-box',
}
Expand Down

0 comments on commit 3f25cc5

Please sign in to comment.