tailwindcss-tables
Advanced tools
Comparing version 0.1.0 to 0.2.0
@@ -33,2 +33,9 @@ function optionsWithPropertyExists(options, property) { | ||
}, | ||
'td': { | ||
borderTop: optionsWithPropertyExists(options, 'tableBodyBorder') && options.tableBodyBorder == false | ||
? 0 | ||
: optionsWithPropertyExists(options, 'tableBorderColor') | ||
? '1px solid ' + options.tableBorderColor | ||
: '1px solid #dee2e6', | ||
}, | ||
'thead th': { | ||
@@ -35,0 +42,0 @@ verticalAlign: 'bottom', |
{ | ||
"name": "tailwindcss-tables", | ||
"version": "0.1.0", | ||
"version": "0.2.0", | ||
"description": "Bootstrap styled tables for Tailwind CSS", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -124,2 +124,3 @@ # Tailwind CSS Tables Plugin | ||
tableHoverBackgroundColor: 'rgba(0,0,0,.075)', // default: rgba(0,0,0,.075) | ||
tableBodyBorder: true, // default: true. If set to false, borders for the table body will be removed. Only works for normal tables (i.e. does not apply to .table-bordered) | ||
}), | ||
@@ -126,0 +127,0 @@ ], |
13536
249
135