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

Commit

Permalink
Merge pull request #7 from roylodder/patch-2
Browse files Browse the repository at this point in the history
Fix bug missing borderColor option
  • Loading branch information
adamwathan committed May 23, 2019
2 parents 219ae4b + ace9ffe commit c57d51f
Showing 1 changed file with 4 additions and 0 deletions.
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

0 comments on commit c57d51f

Please sign in to comment.