Utilities for controlling the border radius of an element.
export default {
theme: {
borderRadius: {
none: '0',
sm: '0.125rem',
DEFAULT: '4px',
md: '0.375rem',
lg: '0.5rem',
full: '9999px',
large: '12px',
},
},
}
Utilities for controlling the width of an element's borders.
export default {
theme: {
borderWidth: {
DEFAULT: '1px',
none: '0',
sm: '2px',
},
},
}
Utilities for controlling the color of an element's borders.
You can customize your color palette by editing the theme.colors
section of your windi.config.js
file, or customize just your border colors using the theme.borderColor section.
export default {
theme: {
borderColor: theme => ({
...theme('colors'),
DEFAULT: theme('colors.gray.300', 'currentColor'),
primary: '#3490dc',
secondary: '#ffed4a',
danger: '#e3342f',
}),
},
}
Utilities for controlling the opacity of an element's border color.
export default {
theme: {
extend: {
borderOpacity: {
light: '0.1',
},
},
},
}
Utilities for controlling the style of an element's borders.