Style fixes
This commit is contained in:
parent
7d589dd542
commit
7a8f8d9877
1 changed files with 10 additions and 6 deletions
|
|
@ -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',
|
||||
},
|
||||
},
|
||||
})
|
||||
},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue