Skip to content

Commit

Permalink
update snapshots
Browse files Browse the repository at this point in the history
  • Loading branch information
jantimon committed Dec 3, 2024
1 parent 6346082 commit c1ed962
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions packages/yak-swc/yak_swc/tests/fixture/parens/output.prod.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
import { styled, css, __yak_unitPostFix } from "next-yak/internal";
import __styleYak from "./input.yak.module.css!=!./input?./input.yak.module.css";
export const Card = /*YAK Extracted CSS:
.Card {
background: url("/card-bg.jpg") no-repeat;
}
.Card__$active {
backgorund: url(/card-bg-active.jpg) no-repeat;
}
.Card {
transform: translate(-50%, -50%) rotate(var(--ym7uBBu))
translate(0, -88px) rotate(var(--ym7uBBu1));
}
*/ /*#__PURE__*/ styled.div(__styleYak.Card, ({ $active })=>$active && /*#__PURE__*/ css(__styleYak.Card__$active), {
"style": {
"--ym7uBBu": __yak_unitPostFix(({ index })=>index * 30, "deg"),
"--ym7uBBu1": __yak_unitPostFix(({ index })=>-index * 30, "deg")
}
});

0 comments on commit c1ed962

Please sign in to comment.