Skip to content
This repository has been archived by the owner on Sep 11, 2021. It is now read-only.

Fix bug missing borderColor option #7

Merged
merged 1 commit into from
May 23, 2019
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
4 changes: 4 additions & 0 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ module.exports = function ({ addUtilities, addComponents, theme }) {
height: options.checkboxSize,
width: options.checkboxSize,
verticalAlign: 'middle',
borderColor: options.borderColor,
borderWidth: options.borderWidth,
borderRadius: options.borderRadius,
backgroundColor: options.backgroundColor,
Expand All @@ -72,6 +73,7 @@ module.exports = function ({ addUtilities, addComponents, theme }) {
height: options.radioSize,
width: options.radioSize,
verticalAlign: 'middle',
borderColor: options.borderColor,
borderWidth: options.borderWidth,
borderRadius: '9999px',
backgroundColor: options.backgroundColor,
Expand All @@ -95,6 +97,7 @@ module.exports = function ({ addUtilities, addComponents, theme }) {
'.form-input, .form-textarea, .form-multiselect': {
appearance: 'none',
backgroundColor: options.backgroundColor,
borderColor: options.borderColor,
borderWidth: options.borderWidth,
borderRadius: options.borderRadius,
padding: `${options.verticalPadding} ${options.horizontalPadding}`,
Expand All @@ -108,6 +111,7 @@ module.exports = function ({ addUtilities, addComponents, theme }) {
},
'.form-select': {
backgroundColor: options.backgroundColor,
borderColor: options.borderColor,
borderWidth: options.borderWidth,
borderRadius: options.borderRadius,
paddingTop: options.verticalPadding,
Expand Down