Skip to content

Commit

Permalink
chore: update test
Browse files Browse the repository at this point in the history
  • Loading branch information
zyyv committed Jul 14, 2022
1 parent 225f54c commit 63cad93
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion test/__snapshots__/preset-attributify.test.ts.snap
Expand Up @@ -135,7 +135,7 @@ Set {
"[pt-4=\\"\\"]",
"[px-4=\\"\\"]",
"[text-true-gray-800=\\"\\"]",
"[placeholder=\\"\\"]",
"[un-placeholder~=\\"text-red\\"]",
"[absolute=\\"\\"]",
"[leading-1rem=\\"\\"]",
"[left-4=\\"\\"]",
Expand Down Expand Up @@ -256,6 +256,7 @@ exports[`attributify > fixture2 1`] = `
[peer=\\"\\"]:not(:placeholder-shown)~[peer-not-placeholder-shown~=\\"text-green-500\\"]{--un-text-opacity:1;color:rgba(34,197,94,var(--un-text-opacity));}
[text-gray-7=\\"\\"]{--un-text-opacity:1;color:rgba(55,65,81,var(--un-text-opacity));}
[text-true-gray-800=\\"\\"]{--un-text-opacity:1;color:rgba(38,38,38,var(--un-text-opacity));}
[un-placeholder~=\\"text-red\\"]::placeholder{--un-text-opacity:1;color:rgba(248,113,113,var(--un-text-opacity));}
[group=\\"\\"]:hover [group-hover~=\\"op-50\\"]{opacity:0.5;}
[op-20=\\"\\"]{opacity:0.2;}
[all\\\\:transition-400=\\"\\"] *{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-duration:400ms;}
Expand Down
2 changes: 1 addition & 1 deletion test/preset-attributify.test.ts
Expand Up @@ -61,7 +61,7 @@ describe('attributify', () => {
</div>
<div flex>
<div ma inline-flex relative h-14>
<input type="text" m-0 pt-4 px-4 text-true-gray-800 peer placeholder>
<input type="text" m-0 pt-4 px-4 text-true-gray-800 peer placeholder="unocss" un-placeholder="text-red">
<label absolute leading-1rem left-4 pointer-events-none text-gray-7 top="1/3" transition="200 linear"
peer-not-placeholder-shown="-translate-y-4 scale-75 origin-top-left text-green-500"
peer-focus="-translate-y-4 scale-75 origin-top-left text-green-500"
Expand Down

0 comments on commit 63cad93

Please sign in to comment.