Skip to content

Commit

Permalink
scrap the old borders.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
mjhuff committed Mar 14, 2024
1 parent 9cd567e commit ee87384
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 28 deletions.
30 changes: 30 additions & 0 deletions components/src/helix-design-system/borders.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,37 @@
import { css } from 'styled-components'

import { COLORS } from '.'

export const borderRadius2 = '2px' // WEB ONLY!
export const borderRadius4 = '4px'
export const borderRadius8 = '8px'
export const borderRadius12 = '12px'
export const borderRadius16 = '16px'
export const borderRadius40 = '40px'
export const borderRadiusFull = '200px'

export const styleSolid = 'solid'

export const tabBorder = css`
border-bottom-style: ${styleSolid};
border-bottom-width: 2px;
border-bottom-color: ${COLORS.purple50};
`

export const activeLineBorder = `1px ${styleSolid} ${COLORS.blue50}`
export const lineBorder = `1px ${styleSolid} ${COLORS.grey30}`
export const cardOutlineBorder = css`
border-style: ${styleSolid};
border-width: 1px;
border-color: ${COLORS.grey30};
border-radius: ${borderRadius4};
&:hover {
border-color: ${COLORS.grey55};
}
`

export const smallDropShadow = '0px 3px 6px rgba(0, 0, 0, 0.23)'

// touch screen
export const shadowBig = '0px 3px 6px rgba(0,0,0,0.23)'
export const shadowSmall = '0px 0px 40px rgba(0,0,0,0.4)'
28 changes: 0 additions & 28 deletions components/src/ui-style-constants/borders.ts

This file was deleted.

0 comments on commit ee87384

Please sign in to comment.