Style fixes

This commit is contained in:
Adam Wathan 2018-03-06 15:55:29 -05:00
parent 7d589dd542
commit 7a8f8d9877

View file

@ -666,9 +666,11 @@ test("plugins can apply the user's chosen prefix to components manually", () =>
const [components] = processPluginsWithValidConfig({
plugins: [
function({ addComponents, prefix }) {
addComponents({
[prefix('.btn-blue')]: {
backgroundColor: 'blue',
addComponents(
{
[prefix('.btn-blue')]: {
backgroundColor: 'blue',
},
},
})
},
@ -784,9 +786,11 @@ test('prefix will prefix all classes in a selector', () => {
const [components] = processPluginsWithValidConfig({
plugins: [
function({ addComponents, prefix }) {
addComponents({
[prefix('.btn-blue .w-1\\/4 > h1.text-xl + a .bar')]: {
backgroundColor: 'blue',
addComponents(
{
[prefix('.btn-blue .w-1\\/4 > h1.text-xl + a .bar')]: {
backgroundColor: 'blue',
},
},
})
},