UNPKG
fannypack-v5
Version:
latest (5.0.0-rc.7)
5.0.0-rc.7
5.0.0-rc.0
An accessible, composable, and friendly React UI Kit
github.com/fannypackui
fannypackui/fannypack
fannypack-v5
/
src
/
theme
/
borders.ts
11 lines
(9 loc)
•
255 B
text/typescript
View Raw
1
2
3
4
5
6
7
8
9
10
11
import
{ palette }
from
'../utils'
;
import
{
BordersThemeConfig
}
from
'../types'
;
export
default
(
overrides
:
BordersThemeConfig
) => ({
default
:
(
styleProps
) =>
({
color
:
palette
(
'white800'
)(styleProps),
width
:
'1px'
, }), ...overrides, });